diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-05-02 12:51:10 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-05-02 12:51:10 +0000 |
commit | 9e1795dd13a70b8f7d8e341057d7d83b1885d04c (patch) | |
tree | 3413dd54654461847f1360809c42f104f8f6f5c8 | |
parent | 4a53a912af662bcf498adb225fab128471854d83 (diff) | |
download | ffmpeg-9e1795dd13a70b8f7d8e341057d7d83b1885d04c.tar.gz |
set C4 to 16383
Originally committed as revision 432 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/i386/simple_idct_mmx.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libavcodec/i386/simple_idct_mmx.c b/libavcodec/i386/simple_idct_mmx.c index 32e3508f34..0a111db76e 100644 --- a/libavcodec/i386/simple_idct_mmx.c +++ b/libavcodec/i386/simple_idct_mmx.c @@ -19,12 +19,25 @@ #include <inttypes.h> #include "../dsputil.h" #include "../mangle.h" - +/* +23170.475006 +22725.260826 +21406.727617 +19265.545870 +16384.000000 +12872.826198 +8866.956905 +4520.335430 +*/ #define C0 23170 //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 #define C1 22725 //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 #define C2 21407 //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 #define C3 19266 //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 +#if 0 #define C4 16384 //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 +#else +#define C4 16383 //cos(i*M_PI/16)*sqrt(2)*(1<<14) - 0.5 +#endif #define C5 12873 //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 #define C6 8867 //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 #define C7 4520 //cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 |