How to display a raw YUV frame in a Cocoa OpenGL program

前端 未结 3 1290
独厮守ぢ
独厮守ぢ 2021-01-07 10:56

I have been assigned wit the task to write a program that takes a sample raw YUV file and display it in a Cocoa OpenGL program.

I am an intern at my job and I have l

3条回答
  •  难免孤独
    2021-01-07 11:45

    Adam Rosenfield’s comment is incorrect. On Macs, you can display YCbCr (the digital equivalent to YUV) textures using the GL_YCBCR_422_APPLE texture format, as specified in the APPLE_ycbcr_422 extension.

提交回复
热议问题