Commit aa25c450 authored by michael's avatar michael

vertical align


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10981 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ee49d536
...@@ -653,7 +653,7 @@ static inline void x8_init_block_index(MpegEncContext *s){ //FIXME maybe merge w ...@@ -653,7 +653,7 @@ static inline void x8_init_block_index(MpegEncContext *s){ //FIXME maybe merge w
s->dest[1] = s->current_picture.data[1]; s->dest[1] = s->current_picture.data[1];
s->dest[2] = s->current_picture.data[2]; s->dest[2] = s->current_picture.data[2];
s->dest[0] += s->mb_y * linesize << 3; s->dest[0] += s->mb_y * linesize << 3;
s->dest[1] += ( s->mb_y&(~1) ) * uvlinesize << 2;//chroma blocks are on add rows s->dest[1] += ( s->mb_y&(~1) ) * uvlinesize << 2;//chroma blocks are on add rows
s->dest[2] += ( s->mb_y&(~1) ) * uvlinesize << 2; s->dest[2] += ( s->mb_y&(~1) ) * uvlinesize << 2;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment