Browse Source

H.264: Fix high bit depth explicit biweight

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
tags/n0.8
Jason Garrett-Glaser Ronald S. Bultje 14 years ago
parent
commit
c149843b5a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/h264dsp_template.c

+ 1
- 0
libavcodec/h264dsp_template.c View File

@@ -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…
Cancel
Save