[MPlayer-dev-eng] [PATCH] yuv support for vo_gl
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Sep 8 18:51:53 CEST 2005
Hi,
On Fri, Aug 19, 2005 at 10:29:17PM +0200, Reimar D?ffinger wrote:
> here is a patch (against latest CVS) I'd like you to test. I does RGB->YUV
> conversion via register combiners.
> Two disadvantages: 1) It is not completely correct (the image is
> brighter than with software scaler)
> 2) It only works for nVidia cards (I think) and crashes with everything
> else.
> For me it was slower than software conversion when using -dr, probably
> because the support for luminance textures is lousy.
> Please report your experiences.
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.
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list