comparison dsputil.c @ 10749:5cca4b6c459d libavcodec

Get rid of pointless CONFIG_ANY_H263 preprocessor definition.
author diego
date Wed, 30 Dec 2009 11:33:59 +0000
parents 36611425fedb
children bf309c7ce615
comparison
equal deleted inserted replaced
10748:36611425fedb 10749:5cca4b6c459d
31 #include "dsputil.h" 31 #include "dsputil.h"
32 #include "simple_idct.h" 32 #include "simple_idct.h"
33 #include "faandct.h" 33 #include "faandct.h"
34 #include "faanidct.h" 34 #include "faanidct.h"
35 #include "mathops.h" 35 #include "mathops.h"
36 #include "h263.h"
37 #include "snow.h" 36 #include "snow.h"
38 #include "mpegvideo.h" 37 #include "mpegvideo.h"
39 #include "config.h" 38 #include "config.h"
40 39
41 /* snow.c */ 40 /* snow.c */
2874 wmv2_mspel8_h_lowpass(halfH, src-stride, 8, stride, 11); 2873 wmv2_mspel8_h_lowpass(halfH, src-stride, 8, stride, 11);
2875 wmv2_mspel8_v_lowpass(dst, halfH+8, stride, 8, 8); 2874 wmv2_mspel8_v_lowpass(dst, halfH+8, stride, 8, 8);
2876 } 2875 }
2877 2876
2878 static void h263_v_loop_filter_c(uint8_t *src, int stride, int qscale){ 2877 static void h263_v_loop_filter_c(uint8_t *src, int stride, int qscale){
2879 if(CONFIG_ANY_H263) { 2878 if(CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
2880 int x; 2879 int x;
2881 const int strength= ff_h263_loop_filter_strength[qscale]; 2880 const int strength= ff_h263_loop_filter_strength[qscale];
2882 2881
2883 for(x=0; x<8; x++){ 2882 for(x=0; x<8; x++){
2884 int d1, d2, ad1; 2883 int d1, d2, ad1;
2911 } 2910 }
2912 } 2911 }
2913 } 2912 }
2914 2913
2915 static void h263_h_loop_filter_c(uint8_t *src, int stride, int qscale){ 2914 static void h263_h_loop_filter_c(uint8_t *src, int stride, int qscale){
2916 if(CONFIG_ANY_H263) { 2915 if(CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
2917 int y; 2916 int y;
2918 const int strength= ff_h263_loop_filter_strength[qscale]; 2917 const int strength= ff_h263_loop_filter_strength[qscale];
2919 2918
2920 for(y=0; y<8; y++){ 2919 for(y=0; y<8; y++){
2921 int d1, d2, ad1; 2920 int d1, d2, ad1;
4805 c->h264_h_loop_filter_chroma= h264_h_loop_filter_chroma_c; 4804 c->h264_h_loop_filter_chroma= h264_h_loop_filter_chroma_c;
4806 c->h264_v_loop_filter_chroma_intra= h264_v_loop_filter_chroma_intra_c; 4805 c->h264_v_loop_filter_chroma_intra= h264_v_loop_filter_chroma_intra_c;
4807 c->h264_h_loop_filter_chroma_intra= h264_h_loop_filter_chroma_intra_c; 4806 c->h264_h_loop_filter_chroma_intra= h264_h_loop_filter_chroma_intra_c;
4808 c->h264_loop_filter_strength= NULL; 4807 c->h264_loop_filter_strength= NULL;
4809 4808
4810 if (CONFIG_ANY_H263) { 4809 if (CONFIG_H263_DECODER || CONFIG_H263_ENCODER) {
4811 c->h263_h_loop_filter= h263_h_loop_filter_c; 4810 c->h263_h_loop_filter= h263_h_loop_filter_c;
4812 c->h263_v_loop_filter= h263_v_loop_filter_c; 4811 c->h263_v_loop_filter= h263_v_loop_filter_c;
4813 } 4812 }
4814 4813
4815 if (CONFIG_VP3_DECODER) { 4814 if (CONFIG_VP3_DECODER) {