mirror of https://git.ffmpeg.org/ffmpeg.git
H.264: Fix high bit depth explicit biweight
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
parent
6c031a3338
commit
c149843b5a
|
@ -63,6 +63,7 @@ static void FUNCC(biweight_h264_pixels ## W ## x ## H)(uint8_t *_dst, uint8_t *_
|
||||||
pixel *dst = (pixel*)_dst; \
|
pixel *dst = (pixel*)_dst; \
|
||||||
pixel *src = (pixel*)_src; \
|
pixel *src = (pixel*)_src; \
|
||||||
stride /= sizeof(pixel); \
|
stride /= sizeof(pixel); \
|
||||||
|
offset <<= (BIT_DEPTH-8); \
|
||||||
offset = ((offset + 1) | 1) << log2_denom; \
|
offset = ((offset + 1) | 1) << log2_denom; \
|
||||||
for(y=0; y<H; y++, dst += stride, src += stride){ \
|
for(y=0; y<H; y++, dst += stride, src += stride){ \
|
||||||
op_scale2(0); \
|
op_scale2(0); \
|
||||||
|
|
Loading…
Reference in New Issue