]> git.sesse.net Git - ffmpeg/commit
Use a faster way to compute 255-val: Instead of creating a vector of
authorGraham Booker <gbooker@tamu.edu>
Sat, 16 Jun 2007 18:59:10 +0000 (18:59 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Sat, 16 Jun 2007 18:59:10 +0000 (18:59 +0000)
commitf4a02f6e9bc0901fd9b21544f34e36c93ba9cfc1
treed91d8fc0ca152ce1475cdab6b23c09d2b679d709
parenta444671542226b5f977351cabb6fa6ddaf5afd34
Use a faster way to compute 255-val: Instead of creating a vector of
all 255s, and then doing the subtraction, nor of the vector with itself: saves
one instruction and a register.
Patch by Graham Booker % gbooker A tamu P edu%

Originally committed as revision 9340 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ppc/h264_altivec.c