diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-10-23 09:11:56 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-10-23 09:11:56 +0000 |
commit | b4c3816cfaee19638f0d8b71a31fced84c34236c (patch) | |
tree | 10e449e29a1902d2328051628d2f94ef38f019c7 /libavcodec/dct-test.c | |
parent | 10becaaf12a5ae7860a62f330a2120d7da3e5c40 (diff) | |
download | ffmpeg-b4c3816cfaee19638f0d8b71a31fced84c34236c.tar.gz |
optionally merge postscale into quantization table for the float aan dct
Originally committed as revision 2420 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r-- | libavcodec/dct-test.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 958ce52bce..f5813b7bf9 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -161,7 +161,11 @@ void dct_error(const char *name, int is_idct, fdct_func(block); emms(); /* for ff_mmx_idct */ - if (fdct_func == fdct_ifast) { + if (fdct_func == fdct_ifast +#ifndef FAAN_POSTSCALE + || fdct_func == ff_faandct +#endif + ) { for(i=0; i<64; i++) { scale = 8*(1 << (AANSCALE_BITS + 11)) / aanscales[i]; block[i] = (block[i] * scale /*+ (1<<(AANSCALE_BITS-1))*/) >> AANSCALE_BITS; |