comparison dsputil.c @ 11376:0b220468ba0d libavcodec

Move prototypes for various dsputil init functions to dsputil.h
author mru
date Sat, 06 Mar 2010 22:36:49 +0000
parents 84963c795459
children f46b68960464
comparison
equal deleted inserted replaced
11375:84963c795459 11376:0b220468ba0d
2793 } 2793 }
2794 } 2794 }
2795 2795
2796 #if CONFIG_CAVS_DECODER 2796 #if CONFIG_CAVS_DECODER
2797 /* AVS specific */ 2797 /* AVS specific */
2798 void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx);
2799
2800 void ff_put_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride) { 2798 void ff_put_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride) {
2801 put_pixels8_c(dst, src, stride, 8); 2799 put_pixels8_c(dst, src, stride, 8);
2802 } 2800 }
2803 void ff_avg_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride) { 2801 void ff_avg_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride) {
2804 avg_pixels8_c(dst, src, stride, 8); 2802 avg_pixels8_c(dst, src, stride, 8);
2809 void ff_avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride) { 2807 void ff_avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride) {
2810 avg_pixels16_c(dst, src, stride, 16); 2808 avg_pixels16_c(dst, src, stride, 16);
2811 } 2809 }
2812 #endif /* CONFIG_CAVS_DECODER */ 2810 #endif /* CONFIG_CAVS_DECODER */
2813 2811
2814 void ff_mlp_init(DSPContext* c, AVCodecContext *avctx);
2815
2816 #if CONFIG_VC1_DECODER 2812 #if CONFIG_VC1_DECODER
2817 /* VC-1 specific */ 2813 /* VC-1 specific */
2818 void ff_vc1dsp_init(DSPContext* c, AVCodecContext *avctx);
2819
2820 void ff_put_vc1_mspel_mc00_c(uint8_t *dst, uint8_t *src, int stride, int rnd) { 2814 void ff_put_vc1_mspel_mc00_c(uint8_t *dst, uint8_t *src, int stride, int rnd) {
2821 put_pixels8_c(dst, src, stride, 8); 2815 put_pixels8_c(dst, src, stride, 8);
2822 } 2816 }
2823 void ff_avg_vc1_mspel_mc00_c(uint8_t *dst, uint8_t *src, int stride, int rnd) { 2817 void ff_avg_vc1_mspel_mc00_c(uint8_t *dst, uint8_t *src, int stride, int rnd) {
2824 avg_pixels8_c(dst, src, stride, 8); 2818 avg_pixels8_c(dst, src, stride, 8);
2825 } 2819 }
2826 #endif /* CONFIG_VC1_DECODER */ 2820 #endif /* CONFIG_VC1_DECODER */
2827 2821
2828 void ff_intrax8dsp_init(DSPContext* c, AVCodecContext *avctx);
2829
2830 /* H264 specific */ 2822 /* H264 specific */
2831 void ff_h264dspenc_init(DSPContext* c, AVCodecContext *avctx); 2823 void ff_h264dspenc_init(DSPContext* c, AVCodecContext *avctx);
2832
2833 #if CONFIG_RV30_DECODER
2834 void ff_rv30dsp_init(DSPContext* c, AVCodecContext *avctx);
2835 #endif /* CONFIG_RV30_DECODER */
2836 2824
2837 #if CONFIG_RV40_DECODER 2825 #if CONFIG_RV40_DECODER
2838 static void put_rv40_qpel16_mc33_c(uint8_t *dst, uint8_t *src, int stride){ 2826 static void put_rv40_qpel16_mc33_c(uint8_t *dst, uint8_t *src, int stride){
2839 put_pixels16_xy2_c(dst, src, stride, 16); 2827 put_pixels16_xy2_c(dst, src, stride, 16);
2840 } 2828 }
2845 put_pixels8_xy2_c(dst, src, stride, 8); 2833 put_pixels8_xy2_c(dst, src, stride, 8);
2846 } 2834 }
2847 static void avg_rv40_qpel8_mc33_c(uint8_t *dst, uint8_t *src, int stride){ 2835 static void avg_rv40_qpel8_mc33_c(uint8_t *dst, uint8_t *src, int stride){
2848 avg_pixels8_xy2_c(dst, src, stride, 8); 2836 avg_pixels8_xy2_c(dst, src, stride, 8);
2849 } 2837 }
2850
2851 void ff_rv40dsp_init(DSPContext* c, AVCodecContext *avctx);
2852 #endif /* CONFIG_RV40_DECODER */ 2838 #endif /* CONFIG_RV40_DECODER */
2853 2839
2854 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){ 2840 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){
2855 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 2841 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
2856 int i; 2842 int i;