AnsweredAssumed Answered

YUV422 to RGB convertion using OpenCL in IMX8M

Question asked by vimal mano on Jan 14, 2020
Latest reply on Jan 14, 2020 by igorpadykov



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.