Convert yuv format image into rgb

Hi,

I have a camera video frame from android onPreviewCallBack. Android provides this frame in yuv format by default. I want to add the sprite of this screen on the screen. I am able to show it on the screen but the problem is, the color id not properly shown. So i think I have to convert it into the rgb format first. Can any one help me that how I can convert it into RGB format using GL Shaders.

Thanks

1 Like