diff options
author | Mans Rullgard <mans@mansr.com> | 2011-07-20 23:01:56 +0400 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-07-21 21:10:58 +0400 |
commit | 0a72533e9854aa615bb6d1569dd5f0c4cd031429 (patch) | |
tree | 78c7bae61e8857170f174d4fdd114808f3bae514 /libavcodec/mpegvideo_enc.c | |
parent | 73c0dd939d503aaf83d3266181a156615eeb77d5 (diff) |
jfdctint: add 10-bit version
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 4b4636b32b..c4ca7b30a9 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -69,7 +69,8 @@ void ff_convert_matrix(DSPContext *dsp, int (*qmat)[64], uint16_t (*qmat16)[2][6 for(qscale=qmin; qscale<=qmax; qscale++){ int i; - if (dsp->fdct == ff_jpeg_fdct_islow + if (dsp->fdct == ff_jpeg_fdct_islow_8 || + dsp->fdct == ff_jpeg_fdct_islow_10 #ifdef FAAN_POSTSCALE || dsp->fdct == ff_faandct #endif |