Mercurial > libavcodec.hg
diff dsputil.c @ 5394:e9a6215f4e3a libavcodec
help some gcc version to optimize out those functions
author | aurel |
---|---|
date | Tue, 24 Jul 2007 08:54:56 +0000 |
parents | d0351b81bc7c |
children | 362aec4ef932 |
line wrap: on
line diff
--- a/dsputil.c Tue Jul 24 02:08:27 2007 +0000 +++ b/dsputil.c Tue Jul 24 08:54:56 2007 +0000 @@ -2641,6 +2641,7 @@ } static void h263_v_loop_filter_c(uint8_t *src, int stride, int qscale){ + if(ENABLE_ANY_H263) { int x; const int strength= ff_h263_loop_filter_strength[qscale]; @@ -2673,9 +2674,11 @@ src[x-2*stride] = p0 - d2; src[x+ stride] = p3 + d2; } + } } static void h263_h_loop_filter_c(uint8_t *src, int stride, int qscale){ + if(ENABLE_ANY_H263) { int y; const int strength= ff_h263_loop_filter_strength[qscale]; @@ -2708,6 +2711,7 @@ src[y*stride-2] = p0 - d2; src[y*stride+1] = p3 + d2; } + } } static void h261_loop_filter_c(uint8_t *src, int stride){