changeset 9725:4b63d4691d4a libavcodec

blackfin: use DCT function pointer in dct_quantize_bfin()
author mru
date Thu, 28 May 2009 22:35:56 +0000
parents c65cfd4ad000
children 28796439526a
files bfin/mpegvideo_bfin.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/bfin/mpegvideo_bfin.c	Thu May 28 17:19:28 2009 +0000
+++ b/bfin/mpegvideo_bfin.c	Thu May 28 22:35:56 2009 +0000
@@ -25,10 +25,6 @@
 #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)
@@ -41,7 +37,7 @@
     int   max=0;
 
     PROF("fdct",0);
-    ff_bfin_fdct (block);
+    s->dsp.fdct(block);
     EPROF();
 
     PROF("denoise",1);