Mercurial > libavcodec.hg
changeset 351:6cef8253faab libavcodec
set C4 to 16383
author | michaelni |
---|---|
date | Thu, 02 May 2002 12:51:10 +0000 |
parents | 6ebbecc10063 |
children | 5a8eb5cf9f92 |
files | i386/simple_idct_mmx.c |
diffstat | 1 files changed, 14 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/simple_idct_mmx.c Thu May 02 04:39:45 2002 +0000 +++ b/i386/simple_idct_mmx.c Thu May 02 12:51:10 2002 +0000 @@ -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