Question

I have a YUV:420 (aka NV12) frame data, how can I get OpenGL to recognize its format for glTexImage2D() rendering.

I realize that I might have to perform colorspace transformation, but is there a way that I can tell openGl to command the graphic hardware to perform the colorspace transformation?

Was it helpful?

Solution

I have recently verified that OpenGL doest not support NV12 formats. I had to convert my data through hardware acceleration to RGB.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top