[MPlayer-dev-eng] [PATCH] yuv support for vo_gl
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Aug 20 10:38:53 CEST 2005
On Sat, Aug 20, 2005 at 10:12:30AM +0200, Diego Biurrun wrote:
> 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 forgive my ignorance, but all of this makes me wonder what this
> is good for at all...
Fun? Also I think it works with GeForce2 cards, which might be helpful
for people with weaker computers...
The alternatie of doing the conversion is using pixel shaders, but I
think not even GeForce3 supports them.
But after all, there is a reason why I said _please test_.
It depends on the results whether I will apply it or nor.
Oh, and one last point: the reason why it is so slow seems to be that
uploading luminance texture is so slow, but that might change someday.
More information about the MPlayer-dev-eng