aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ps2/dsputil_mmi.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-06-21 01:11:31 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-06-21 01:11:31 +0000
commit4fb518c392c0b30b17962e44bf29aa7080ce2b74 (patch)
treeae5c2308848578c27ee96adf9fc3086b4e3bd705 /libavcodec/ps2/dsputil_mmi.c
parentdaab32960343de43172ebf965099dd4c6939fb86 (diff)
downloadffmpeg-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/ps2/dsputil_mmi.c')
-rw-r--r--libavcodec/ps2/dsputil_mmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ps2/dsputil_mmi.c b/libavcodec/ps2/dsputil_mmi.c
index 3932f39e1e..f7bea7e359 100644
--- a/libavcodec/ps2/dsputil_mmi.c
+++ b/libavcodec/ps2/dsputil_mmi.c
@@ -25,7 +25,7 @@
void ff_mmi_idct_put(uint8_t *dest, int line_size, DCTELEM *block);
void ff_mmi_idct_add(uint8_t *dest, int line_size, DCTELEM *block);
-
+void ff_mmi_idct(DCTELEM *block);
static void clear_blocks_mmi(DCTELEM * blocks)
{
@@ -154,6 +154,7 @@ void dsputil_init_mmi(DSPContext* c, AVCodecContext *avctx)
if(idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_PS2){
c->idct_put= ff_mmi_idct_put;
c->idct_add= ff_mmi_idct_add;
+ c->idct = ff_mmi_idct;
c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;
}
}