[theora] converting YUV to RGB
kos at climaxgroup.com
Thu May 3 03:25:57 PDT 2007
I'd like to convert the theora yuv_buffer to RGB that I can render onto a
Googling around, there are a tone of different formulae to do so.
There is this (with lots of corrections and amendments further down the
and there is the MSDN stuff that says you need to convert 4:2:0 and 4:2:2 to
4:4:4 first, before you do anything,
and then it has it's own set of formulae here:
I was wondering if anyone has a definitive answer on this ;-)
Also, performance wise, is it better to do the conversion to RGB in a
shader, or is it better to use GL_LUMINANCE8 textures?
kostas kostiadis | lead programmer | climax action
work: <mailto:kos at climaxgroup.com> kos at climaxgroup.com |
home: <mailto:kos at kostiadis.com> kos at kostiadis.com |
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theora