diff dsputil.c @ 8410:b0ec9768b39b libavcodec

RV30 decoder
author kostya
date Sat, 20 Dec 2008 18:06:01 +0000
parents 195cba8f6257
children 19e2f1a50aa7
line wrap: on
line diff
--- a/dsputil.c	Sat Dec 20 06:09:54 2008 +0000
+++ b/dsputil.c	Sat Dec 20 18:06:01 2008 +0000
@@ -2743,6 +2743,10 @@
 /* H264 specific */
 void ff_h264dspenc_init(DSPContext* c, AVCodecContext *avctx);
 
+#if defined(CONFIG_RV30_DECODER)
+void ff_rv30dsp_init(DSPContext* c, AVCodecContext *avctx);
+#endif /* CONFIG_RV30_DECODER */
+
 #if defined(CONFIG_RV40_DECODER)
 static void put_rv40_qpel16_mc33_c(uint8_t *dst, uint8_t *src, int stride){
     put_pixels16_xy2_c(dst, src, stride, 16);
@@ -4495,6 +4499,9 @@
 #if defined(CONFIG_H264_ENCODER)
     ff_h264dspenc_init(c,avctx);
 #endif
+#if defined(CONFIG_RV30_DECODER)
+    ff_rv30dsp_init(c,avctx);
+#endif
 #if defined(CONFIG_RV40_DECODER)
     ff_rv40dsp_init(c,avctx);
     c->put_rv40_qpel_pixels_tab[0][15] = put_rv40_qpel16_mc33_c;