[FFmpeg-soc] [soc]: r831 - dirac/libavcodec/dirac.c
marco
subversion at mplayerhq.hu
Wed Aug 15 23:23:19 CEST 2007
Author: marco
Date: Wed Aug 15 23:23:19 2007
New Revision: 831
Log:
another small optimization for helping the compiler to unroll the loop
Modified:
dirac/libavcodec/dirac.c
Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c (original)
+++ dirac/libavcodec/dirac.c Wed Aug 15 23:23:19 2007
@@ -2166,9 +2166,9 @@ START_TIMER
int val = 0;
for (i = 0; i <= 4; i++) {
- val += t[i] * (li1[-i] + li2[i]);
- li1--;
- li2++;
+ val += t[i] * (*li1 + *li2);
+ li1 -= 2;
+ li2 += 2;
}
val += 128;
More information about the FFmpeg-soc
mailing list