IMX OpenGL shader issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX OpenGL shader issue

1,060件の閲覧回数
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 返信

1,034件の閲覧回数
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 件の賞賛
返信