diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-06-21 01:11:31 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-06-21 01:11:31 +0000 |
commit | 4fb518c392c0b30b17962e44bf29aa7080ce2b74 (patch) | |
tree | ae5c2308848578c27ee96adf9fc3086b4e3bd705 /libavcodec/dsputil.c | |
parent | daab32960343de43172ebf965099dd4c6939fb86 (diff) | |
download | ffmpeg-4fb518c392c0b30b17962e44bf29aa7080ce2b74.tar.gz |
the return of the idct with 16bit output by ("Ivan Kalvachev" <ivan at cacad dot com>)
Originally committed as revision 1983 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index f6ce967da5..df33e51128 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -2860,10 +2860,12 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx) if(avctx->idct_algo==FF_IDCT_INT){ c->idct_put= ff_jref_idct_put; c->idct_add= ff_jref_idct_add; + c->idct = j_rev_dct; c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM; }else{ //accurate/default c->idct_put= simple_idct_put; c->idct_add= simple_idct_add; + c->idct = simple_idct; c->idct_permutation_type= FF_NO_IDCT_PERM; } |