IMX OpenGL shader issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX OpenGL shader issue

996 次查看
xw108
Contributor I

We are integrating a post processing plugin based on codec2 in IMX8 using OpenGL. In OpenGL shader we need to sample the texture in YUV. In other platform we are achieving this with the help of "GL_EXT_YUV_target" extension.

In IMX8 it is showing "GL_EXT_YUV_target" is not supported. so the shader will internally convert YUV to RGB and we can sample only in RGB. is this correct? If so, in IMX8 do we have a mechanism to sample the texture in YUV itself?

1 回复

970 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport
Hi @xw108 ,
 
I hope you are doing well.
 
GL_EXT_YUV_target extension is not supported by i.MX8 GPU.
It can only render RGB data.
 
One can refer to 16.4.1.2.7 Fragment Processing and Render Targets in i.MX 8QuadMax Applications Processor Reference Manual for more information.
 
Please refer to i.MX Graphics User's Guide for openGL documentation in i.MX.
 
Thanks & Regards,
Sanket Parekh
0 项奖励
回复