[MPlayer-dev-eng] [PATCH] yuv support for vo_gl

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Fri Sep 9 01:24:59 CEST 2005


Hi Reimar D?ffinger!

 On 2005.09.08 at 18:51:53 +0200, Reimar D?ffinger wrote next:

> Ok, new version that can also use a fragment program.
> -vo gl:yuv=1 for register combiners
> -vo gl:yuv=2 for fragment program conversion.
> 
> The fragment program might at a later date be modified to e.g. gamma
> correction, or OS-independent brightness, contrast, hue and saturation.
> Suggestions welcome.

A very nice work, thanks! Works without problems on my Radeon 9800
(fragment program version only, of course). It works even faster than
xvidix now, when rendering osd...

When playing HDTV 1920x1080 video, the amount of CPU spent on video
output (-vf-clr -nodr -nosound -osdlevel 0):
gl:manyfmts -  54, xvidix - 8, gl:yuv=2 - 16
the same, but -osdlevel 3:
gl:manyfmts - 55, xvidix - 29, gl:yuv=2 - 17


There few anomalies within the image. First, it's brighter than it
should be. Since black pixels are really black, it's probably a matter
of gamma.

Second, the image has a slight greenish tint.

Third, there is 1px wide green border in left and upper parts of the
picture.
Not solid green, but the color (a9,9b,90) changes to (68,c4,65)
(approx.) there.
It's unseen on black, but inspection shows that it is there, the color
is (0,13h,0).

-- 

Vladimir




More information about the MPlayer-dev-eng mailing list