help some gcc version to optimize out those functions
Originally committed as revision 9785 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4611b64ec1
commit
73f51a4d3e
2 changed files with 8 additions and 0 deletions
|
@ -2641,6 +2641,7 @@ static void put_mspel8_mc22_c(uint8_t *dst, uint8_t *src, int stride){
|
|||
}
|
||||
|
||||
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 @@ static void h263_v_loop_filter_c(uint8_t *src, int stride, int qscale){
|
|||
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 @@ static void h263_h_loop_filter_c(uint8_t *src, int stride, int qscale){
|
|||
src[y*stride-2] = p0 - d2;
|
||||
src[y*stride+1] = p3 + d2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void h261_loop_filter_c(uint8_t *src, int stride){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue