git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f5d33f5
)
Fix vp3_draw_horiz_band to calculate chroma offsets correctly
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Tue, 8 Jun 2010 19:25:28 +0000
(19:25 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Tue, 8 Jun 2010 19:25:28 +0000
(19:25 +0000)
for 4:2:2 and 4:4:4 formats.
Originally committed as revision 23537 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vp3.c
patch
|
blob
|
history
diff --git
a/libavcodec/vp3.c
b/libavcodec/vp3.c
index
6c76269
..
28e1eac
100644
(file)
--- a/
libavcodec/vp3.c
+++ b/
libavcodec/vp3.c
@@
-1329,7
+1329,7
@@
static void vp3_draw_horiz_band(Vp3DecodeContext *s, int y)
y = s->height - y - h;
}
- cy = y >>
1
;
+ cy = y >>
s->chroma_y_shift
;
offset[0] = s->current_frame.linesize[0]*y;
offset[1] = s->current_frame.linesize[1]*cy;
offset[2] = s->current_frame.linesize[2]*cy;