comparison dsputil.c @ 8410:b0ec9768b39b libavcodec

RV30 decoder
author kostya
date Sat, 20 Dec 2008 18:06:01 +0000
parents 195cba8f6257
children 19e2f1a50aa7
comparison
equal deleted inserted replaced
8409:51c9946c70f9 8410:b0ec9768b39b
2741 void ff_intrax8dsp_init(DSPContext* c, AVCodecContext *avctx); 2741 void ff_intrax8dsp_init(DSPContext* c, AVCodecContext *avctx);
2742 2742
2743 /* H264 specific */ 2743 /* H264 specific */
2744 void ff_h264dspenc_init(DSPContext* c, AVCodecContext *avctx); 2744 void ff_h264dspenc_init(DSPContext* c, AVCodecContext *avctx);
2745 2745
2746 #if defined(CONFIG_RV30_DECODER)
2747 void ff_rv30dsp_init(DSPContext* c, AVCodecContext *avctx);
2748 #endif /* CONFIG_RV30_DECODER */
2749
2746 #if defined(CONFIG_RV40_DECODER) 2750 #if defined(CONFIG_RV40_DECODER)
2747 static void put_rv40_qpel16_mc33_c(uint8_t *dst, uint8_t *src, int stride){ 2751 static void put_rv40_qpel16_mc33_c(uint8_t *dst, uint8_t *src, int stride){
2748 put_pixels16_xy2_c(dst, src, stride, 16); 2752 put_pixels16_xy2_c(dst, src, stride, 16);
2749 } 2753 }
2750 static void avg_rv40_qpel16_mc33_c(uint8_t *dst, uint8_t *src, int stride){ 2754 static void avg_rv40_qpel16_mc33_c(uint8_t *dst, uint8_t *src, int stride){
4493 ff_intrax8dsp_init(c,avctx); 4497 ff_intrax8dsp_init(c,avctx);
4494 #endif 4498 #endif
4495 #if defined(CONFIG_H264_ENCODER) 4499 #if defined(CONFIG_H264_ENCODER)
4496 ff_h264dspenc_init(c,avctx); 4500 ff_h264dspenc_init(c,avctx);
4497 #endif 4501 #endif
4502 #if defined(CONFIG_RV30_DECODER)
4503 ff_rv30dsp_init(c,avctx);
4504 #endif
4498 #if defined(CONFIG_RV40_DECODER) 4505 #if defined(CONFIG_RV40_DECODER)
4499 ff_rv40dsp_init(c,avctx); 4506 ff_rv40dsp_init(c,avctx);
4500 c->put_rv40_qpel_pixels_tab[0][15] = put_rv40_qpel16_mc33_c; 4507 c->put_rv40_qpel_pixels_tab[0][15] = put_rv40_qpel16_mc33_c;
4501 c->avg_rv40_qpel_pixels_tab[0][15] = avg_rv40_qpel16_mc33_c; 4508 c->avg_rv40_qpel_pixels_tab[0][15] = avg_rv40_qpel16_mc33_c;
4502 c->put_rv40_qpel_pixels_tab[1][15] = put_rv40_qpel8_mc33_c; 4509 c->put_rv40_qpel_pixels_tab[1][15] = put_rv40_qpel8_mc33_c;