blackfin: use DCT function pointer in dct_quantize_bfin()
authorMåns Rullgård <mans@mansr.com>
Thu, 28 May 2009 22:35:56 +0000 (22:35 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 28 May 2009 22:35:56 +0000 (22:35 +0000)
Originally committed as revision 18974 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/bfin/mpegvideo_bfin.c

index d1c33a1..5c96f8f 100644 (file)
 #include "libavcodec/mpegvideo.h"
 #include "dsputil_bfin.h"
 
 #include "libavcodec/mpegvideo.h"
 #include "dsputil_bfin.h"
 
-
-void ff_bfin_fdct (DCTELEM *block) attribute_l1_text;
-
-
 static int dct_quantize_bfin (MpegEncContext *s,
                               DCTELEM *block, int n,
                               int qscale, int *overflow)
 static int dct_quantize_bfin (MpegEncContext *s,
                               DCTELEM *block, int n,
                               int qscale, int *overflow)
@@ -41,7 +37,7 @@ static int dct_quantize_bfin (MpegEncContext *s,
     int   max=0;
 
     PROF("fdct",0);
     int   max=0;
 
     PROF("fdct",0);
-    ff_bfin_fdct (block);
+    s->dsp.fdct(block);
     EPROF();
 
     PROF("denoise",1);
     EPROF();
 
     PROF("denoise",1);