diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-10-22 18:26:38 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-10-22 18:26:38 +0000 |
commit | 65e4c8c919c63b947b157bdb8f141685b6553fba (patch) | |
tree | 31e406da0e96c9e9547cb153907a9a2e35bdc658 /libavcodec/mpegvideo.c | |
parent | 9d9e31722ad6dda86da0ccb7eb72004c99057274 (diff) | |
download | ffmpeg-65e4c8c919c63b947b157bdb8f141685b6553fba.tar.gz |
floating point AAN DCT
Originally committed as revision 2415 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index aaf6b870d6..4e86d71912 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -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 @@ static void convert_matrix(MpegEncContext *s, int (*qmat)[64], uint16_t (*qmat16 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 */ |