Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

RGB data from YUV to RGB conversion

fido_genial
Beginner
248 Views

Hi ,

I have a question on output of YUV to RGB function. I am working on MPEG-4 decoder and i want output in RGB format and the Intel MPEG-4 decoder gives RGB output but i am not able to play it in RGB player. I thinking that i need to include the header to make it run in any player.


My question is while converting from YUV to RGB is RGB data dumped from bottom to top of the file (equivalent to BMP format) Or does it dumps from TOP to bottom.

If i have to make it BMP image the RGB data should start from bottom to top.

Can you please answer my question.

Thanks
fido

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
248 Views
Hello,
the IPP MPEG4 decoder output data in top to bottom order. If you specify output format as RGB, it will produce exactly RGB. Soto store frame asBMP fileyou need to swap channels to make it BGR and convert to BOTTOM to TOP order.
Regards,
Vladimir
0 Kudos
Reply