Mercurial > libavcodec.hg
diff dct-test.c @ 1562:bf452704100f libavcodec
optionally merge postscale into quantization table for the float aan dct
author | michael |
---|---|
date | Thu, 23 Oct 2003 09:11:56 +0000 |
parents | 5d53c03186a1 |
children | 1396e33a9cb6 |
line wrap: on
line diff
--- a/dct-test.c Thu Oct 23 08:31:26 2003 +0000 +++ b/dct-test.c Thu Oct 23 09:11:56 2003 +0000 @@ -161,7 +161,11 @@ 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;