optimization tips for the wavelet
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 21 Aug 2007 20:15:52 +0000 (20:15 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 21 Aug 2007 20:15:52 +0000 (20:15 +0000)
Originally committed as revision 10178 to svn://svn.ffmpeg.org/ffmpeg/trunk

doc/snow.txt

index c3e16eb..12377e6 100644 (file)
@@ -323,6 +323,10 @@ snows 9/7 Integer filter:
 / | \|/ | \|/ | \|/ | \|/
   |  +  |  +  |  +  |  +   +3/2
 
+optimization tips:
+following are exactly identical
+(3a)>>1 == a + (a>>1)
+(a + 4b + 8)>>4 == ((a>>2) + b + 2)>>2
 
 TODO:
 =====