Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 YUV:420(又名 NV12)帧数据,如何让 OpenGL 识别其用于 glTexImage2D() 渲染的格式。
我意识到我可能必须执行色彩空间转换,但有没有办法告诉 openGl 命令图形硬件执行色彩空间转换?
我最近验证了 OpenGL 不支持 NV12 格式。我必须通过硬件加速将我的数据转换为 RGB。