Hi Ali
for this task one can use IPU IC color space conversion unit (CSC)
or gpu, please check attached i.MX_6_Graphics_User's_Guide.pdf
sect.2.4.1 Color space conversion from YUV to RGB
Using OpenGL ES to Accelerate Apps with Legacy 2D GUIs
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------