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

Arpi arpi at thot.banki.hu
Sun Sep 15 21:52:19 CEST 2002


Hi,

> > 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.

hmm. did you ever tried it?

in vf_scale:
	if(fmt!=best) flags&=~VFCAP_CSP_SUPPORTED_BY_HW;

this will avoid doing nonsense yv12->422p.
it will only prefer 422p if colorspace conversion is made _and_ the output
device supports 422p.


A'rpi / Astral & ESP-team

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



More information about the MPlayer-cvslog mailing list