diff dsputil.c @ 4296:4bfaef73d6ed libavcodec

Adding H.264 DCT.
author takis
date Mon, 11 Dec 2006 15:53:55 +0000
parents a26b5096dbb0
children a96d905dcbaa
line wrap: on
line diff
--- a/dsputil.c	Mon Dec 11 13:01:20 2006 +0000
+++ b/dsputil.c	Mon Dec 11 15:53:55 2006 +0000
@@ -2549,6 +2549,11 @@
 }
 #endif /* CONFIG_VC1_DECODER||CONFIG_WMV3_DECODER */
 
+#if defined(CONFIG_H264_ENCODER)
+/* H264 specific */
+void ff_h264dsp_init(DSPContext* c, AVCodecContext *avctx);
+#endif /* CONFIG_H264_ENCODER */
+
 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){
     uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
     int i;
@@ -4026,6 +4031,9 @@
 #if defined(CONFIG_VC1_DECODER) || defined(CONFIG_WMV3_DECODER)
     ff_vc1dsp_init(c,avctx);
 #endif
+#if defined(CONFIG_H264_ENCODER)
+    ff_h264dsp_init(c,avctx);
+#endif
 
     c->put_mspel_pixels_tab[0]= put_mspel8_mc00_c;
     c->put_mspel_pixels_tab[1]= put_mspel8_mc10_c;