Mercurial > libavcodec.hg
diff mpegvideo.c @ 1557:5d53c03186a1 libavcodec
floating point AAN DCT
author | michael |
---|---|
date | Wed, 22 Oct 2003 18:26:38 +0000 |
parents | 5ebb4ae753d3 |
children | bf452704100f |
line wrap: on
line diff
--- a/mpegvideo.c Wed Oct 22 15:36:46 2003 +0000 +++ b/mpegvideo.c Wed Oct 22 18:26:38 2003 +0000 @@ -28,6 +28,7 @@ #include "avcodec.h" #include "dsputil.h" #include "mpegvideo.h" +#include "faandct.h" #ifdef USE_FASTMEMCPY #include "fastmemcpy.h" @@ -100,7 +101,7 @@ for(qscale=qmin; qscale<=qmax; qscale++){ int i; - if (s->dsp.fdct == ff_jpeg_fdct_islow) { + if (s->dsp.fdct == ff_jpeg_fdct_islow || s->dsp.fdct == ff_faandct) { for(i=0;i<64;i++) { const int j= s->dsp.idct_permutation[i]; /* 16 <= qscale * quant_matrix[i] <= 7905 */