diff ps2/dsputil_mmi.c @ 1324:7d328fd9d8a5 libavcodec

the return of the idct with 16bit output by ("Ivan Kalvachev" <ivan at cacad dot com>)
author michaelni
date Sat, 21 Jun 2003 01:11:31 +0000
parents 868650fc345a
children 72ac356803ea
line wrap: on
line diff
--- a/ps2/dsputil_mmi.c	Sat Jun 21 00:50:40 2003 +0000
+++ b/ps2/dsputil_mmi.c	Sat Jun 21 01:11:31 2003 +0000
@@ -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 @@
     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;
     }
 }