mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
small optimization
Originally committed as revision 7327 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
af6a403a05
commit
c29ff23c2a
@ -343,7 +343,7 @@ static int vp6_block_variance(uint8_t *src, int stride)
|
|||||||
}
|
}
|
||||||
src += 2*stride;
|
src += 2*stride;
|
||||||
}
|
}
|
||||||
return (16*square_sum - sum*sum) / (16*16);
|
return (16*square_sum - sum*sum) >> 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void vp6_filter_hv2(vp56_context_t *s, uint8_t *dst, uint8_t *src,
|
static void vp6_filter_hv2(vp56_context_t *s, uint8_t *dst, uint8_t *src,
|
||||||
|
Loading…
Reference in New Issue
Block a user