History

H.264: Fix high bit depth explicit biweight

Jason Garrett-Glaser committed 15 years ago

Commit c1498431 parent 6c031a31 file · +1 −0Browse files

Unified · Split

libavcodec/h264dsp_template.c+1−0
@@ -63,6 +63,7 @@ static void FUNCC(biweight_h264_pixels ## W ## x ## H)(uint8_t *_dst, uint8_t *_ · 62 unmodified lines
6363 pixel *dst = (pixel*)_dst; \
6464 pixel *src = (pixel*)_src; \
6565 stride /= sizeof(pixel); \
66+ offset <<= (BIT_DEPTH-8); \
6667 offset = ((offset + 1) | 1) << log2_denom; \
6768 for(y=0; y<H; y++, dst += stride, src += stride){ \
6869 op_scale2(0); \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t