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

(IJL) Encoding YUV UYVY to JPEG

jwmcfar
Beginner
316 Views
Hi all.

I have a YUV buffer in 4:2:2 subsampling in the UYVY format. I need to encode it to a JPEG in standard YUYV.

The IJL library that is on top of IPP does not seem to support UYVY. Is there any easy way to do the conversion and / or compress the image without needing to dig deep into the IPP API itself?

Thanks,
Josh McFarlane
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
316 Views

Hi Josh,

you probably cam use ippiSwapChannels function to change channel order from UYVY to YUYV (aka YUY2)

Regards,
Vladimir

0 Kudos
Reply