YUV422 to RGB convertion using OpenCL in IMX8M

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

YUV422 to RGB convertion using OpenCL in IMX8M

1,696件の閲覧回数
vimalan_93
Contributor I

Hi,

I am using IMX8M processor with android pie. Im tried to integrate my yuv camera to this platform. As of now i can successfully  integrated my camera with IMX8M Android Device(PIE) and get the streaming and still capture functionality.

But when i tried to implement the video recording i faced the color conversion problem so implement the color conversion in CPU but it reduces the video frame rate and also the recorded video looks laggy.

The IMX8M does not support the G2D conversion so i expect the YUV422 to RGB conversion code in OPENCL. Does anyone have the sample code to convert the YUV422 image to RGB image using OPENCL or any document to do this.

Regards,

Vimal.

タグ(1)
0 件の賞賛
1 返信

1,608件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Vimal

one can look at various csc suggestions on web: alignment - Fast RGB => YUV conversion in OpenCL - Stack Overflow 

and use below OpenCL examples

gtec-demo-framework/DemoApps/OpenCL/SoftISP at master · NXPmicro/gtec-demo-framework · GitHub 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛