Use IDCT functions when FASTTX=0
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 8 Dec 2007 10:50:50 +0000 (10:50 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 8 Dec 2007 10:50:50 +0000 (10:50 +0000)
Originally committed as revision 11189 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vc1.c

index ac2a4de98e3bb7470cfea897758d72cddc26affe..7cbf851f0dec202aa33766bb67de0d69dea0763b 100644 (file)
@@ -814,6 +814,9 @@ static int decode_sequence_header(AVCodecContext *avctx, GetBitContext *gb)
     if (!v->res_fasttx)
     {
         v->s.dsp.vc1_inv_trans_8x8 = simple_idct;
+        v->s.dsp.vc1_inv_trans_8x4 = simple_idct84_add;
+        v->s.dsp.vc1_inv_trans_4x8 = simple_idct48_add;
+//        v->s.dsp.vc1_inv_trans_4x4 = simple_idct44_add;
     }
 
     v->fastuvmc =  get_bits1(gb); //common