[MPlayer-dev-eng] vf scale and yuv vs. rgb
Michael Niedermayer
michaelni at gmx.at
Fri Apr 23 16:57:32 CEST 2004
Hi
On Friday 23 April 2004 16:20, Sascha Sommer wrote:
> Some people still have problems with mplayers performance on windows. Most
> of the time
> this is caused by video cards without yv12 support. In this case vf scale
> will jump in and
> convert to bgr32 instead of yuy2. The problem is caused by the fact that
> scale goes through
> its output format list and queries the vo for these video formats. In the
> outfmt list rgb/bgr comes
> before yuv so it will always select rgb/bgr before yuv when both have hw
> support (VFCAP_CSP_SUPPORTED_BY_HW). What bould be the best solution to fix
> this?
> I propose to move the yuv formats before the bgr formats in the outfmt
> list. Better ideas?
> Michael?
agree
the IMHO correct (and difficult) fix is to pass quality&speed values around
and find the highest quality + const*speed path ...
[...]
--
Michael
level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535)
buf[i]= qp - buf[i-1]; (violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en
More information about the MPlayer-dev-eng
mailing list