Commit c149843b authored by Jason Garrett-Glaser's avatar Jason Garrett-Glaser Committed by Ronald S. Bultje

H.264: Fix high bit depth explicit biweight

Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 6c031a33
......@@ -63,6 +63,7 @@ static void FUNCC(biweight_h264_pixels ## W ## x ## H)(uint8_t *_dst, uint8_t *_
pixel *dst = (pixel*)_dst; \
pixel *src = (pixel*)_src; \
stride /= sizeof(pixel); \
offset <<= (BIT_DEPTH-8); \
offset = ((offset + 1) | 1) << log2_denom; \
for(y=0; y<H; y++, dst += stride, src += stride){ \
op_scale2(0); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment