mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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 *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); \
|
||||
|
Loading…
Reference in New Issue
Block a user