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
63 pixel *dst = (pixel*)_dst; \63 pixel *dst = (pixel*)_dst; \
64 pixel *src = (pixel*)_src; \64 pixel *src = (pixel*)_src; \
65 stride /= sizeof(pixel); \65 stride /= sizeof(pixel); \
66 offset <<= (BIT_DEPTH-8); \
66 offset = ((offset + 1) | 1) << log2_denom; \67 offset = ((offset + 1) | 1) << log2_denom; \
67 for(y=0; y<H; y++, dst += stride, src += stride){ \68 for(y=0; y<H; y++, dst += stride, src += stride){ \
68 op_scale2(0); \69 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