[MPlayer-dev-eng] BUG? yvu9->yv12 width%16==0 !

Michael Niedermayer michaelni at gmx.at
Wed Sep 11 10:32:55 CEST 2002


Hi

On Wednesday 11 September 2002 02:23, Arpi wrote:
[...]
> mplayer -vc indeo4xa volcano.avi -vo <any vo which uses YV12>
>
> i get short horizontal greenish/bluish lines at teh left side.
are u using nvidia card? ;))))))

> it happens only when swscaler does yvu9->yv12 conversion (-vo xmga
> or -vo xv for me), it's ok when yvu9->422p (-vop yuy2,format=422p)
> or yvu9->bgr (-vo x11).
> looks like swscaler writes a bit too much.
yes, but the next line will overwrite it again so it shouldnt be vissible, and 
the last line is allways done in C so it shouldnt overwrite anything, this 
was the simplest solution to avoid width%8!=0 issues otherwise we need a few 
checks everywhere ...

> as the width%16==0, i don't think it's align problem, but who knows.
> as width%32!=0, and in yvu9 chroma shift is 4, it means chroma width%8!=0
i cant reproduce (tried -vo xv & -vo x11 -vop format=yv12,scale)

[...]

Michael



More information about the MPlayer-dev-eng mailing list