ReachConnection
ReachConnection

Reputation: 1831

How to get OpenGL to display NV12 texture in Cocoa

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?

Upvotes: 1

Views: 1873

Answers (1)

ReachConnection
ReachConnection

Reputation: 1831

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

Upvotes: 1

Related Questions