OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c031a3
)
H.264: Fix high bit depth explicit biweight
author
Jason Garrett-Glaser
<jason@x264.com>
Fri, 10 Jun 2011 01:20:19 +0000
(18:20 -0700)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Fri, 10 Jun 2011 18:45:49 +0000
(14:45 -0400)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/h264dsp_template.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264dsp_template.c
b/libavcodec/h264dsp_template.c
index
91162ea
..
be88f74
100644
(file)
--- a/
libavcodec/h264dsp_template.c
+++ b/
libavcodec/h264dsp_template.c
@@
-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); \