[Mplayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.24,1.25

D Richard Felker III dalias at aerifal.cx
Sun Sep 15 21:30:52 CEST 2002


On Sun, Sep 15, 2002 at 07:23:29PM +0200, Arpi wrote:
> Hi,
> 
> > > Modified Files:
> > > 	vf_scale.c 
> > > Log Message:
> > > out formats reordered, quality order
> > > (we should prefer 422P to YV12 if available...)
> > 
> > Shouldn't we prefer 422p only if scaling to yv12 would output a chroma
> > plane of lower vertical size than the input? Or at least something
> > like that...? Otherwise it could slow things down a good bit when 422p
> > is available but not needed, e.g. if a source image in yv12 format is
> > only being scaled horizontally, or being scaled up.
> 
> dunno
> actually we should decide if speed or quality is more important
> 422p is better for quality and worse for speed, compared to yv12
> but if someone wants realy fast vo, he should force yvu9 :)

I was just saying there are certain cases where 422p is not
significantly better (scaling up) or not better at all (leaving height
alone and just scaling width, e.g. for fixing aspect). At least in the
latter case, it's a total waste of cpu time to use 422p.

Rich




More information about the MPlayer-cvslog mailing list