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/mlib/dsputil_mlib.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/mlib/dsputil_mlib.c')
-rw-r--r-- | libavcodec/mlib/dsputil_mlib.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/mlib/dsputil_mlib.c b/libavcodec/mlib/dsputil_mlib.c index 30111e2825..46594f5a61 100644 --- a/libavcodec/mlib/dsputil_mlib.c +++ b/libavcodec/mlib/dsputil_mlib.c @@ -221,6 +221,11 @@ static void ff_idct_add_mlib(uint8_t *dest, int line_size, DCTELEM *data) mlib_VideoAddBlock_U8_S16(dest, (mlib_s16 *)data, line_size); } +static void ff_idct_mlib(uint8_t *dest, int line_size, DCTELEM *data) +{ + mlib_VideoIDCT8x8_S16_S16 (data, data); +} + static void ff_fdct_mlib(DCTELEM *data) { mlib_VideoDCT8x8_S16_S16 (data, data); @@ -264,6 +269,7 @@ void MPV_common_init_mlib(MpegEncContext *s) if(s->avctx->idct_algo==FF_IDCT_AUTO || s->avctx->idct_algo==FF_IDCT_MLIB){ s->dsp.idct_put= ff_idct_put_mlib; s->dsp.idct_add= ff_idct_add_mlib; + s->dsp.idct = ff_idct_mlib; s->dsp.idct_permutation_type= FF_NO_IDCT_PERM; } } |