[MPlayer-dev-eng] -vop scale

Arpi arpi at thot.banki.hu
Tue Jul 16 15:52:22 CEST 2002


Hi,

> > I want to commit this but to be complete I have to do the same thing
> > for the width.  But what value does it have to be a multiple of? 8, 16
> > or 32?
> that depends upon what ur trieing to achieve ...
> *2 for w/h should be enough for bugfree playback on any bugfree player but *16 
for yv12... for rgb no rounding is needed, and for yuy2 only width rounding
is needed.

> for width & height has some advantages (better compression as mpeg uses 16x16 
> blocks internally) but the aspect ratio will get messed up the more rounding 
> we do ...
> 32 and larger are not usefull

maybe add another 2 parameters to -vop scale, as w/h rounding value

-vop scale 640:-2:16:16 would calculate w/h to be 16x16 mb boundary


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list