AnsweredAssumed Answered

glTexDirectVIVMap and YUV420p

Question asked by Erik Larsson on Dec 19, 2014
Latest reply on Dec 24, 2014 by igorpadykov

I'm using the VPU to decode HD movie and trying to display the movie by using glTexDirectVIVMap. I have a simple question, and it may have a really simple answer due to my little knowledge about video encoding. But all the sample HD movies I found uses YUV420P colospace and that is not a format that is supportet by glTexDirectVIVMap. How can I solve this? Is it possible to do somethin in the IPU before and make the color space conversion there, or is it possible to write a fragment shader that makes the color conversion.

The result I end up with is a really smooth playing movie but with wrong colors.