(IJL) Encoding YUV UYVY to JPEG

(IJL) Encoding YUV UYVY to JPEG

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

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
vladimir-dudnik (Intel)'s picture

Hi Josh,

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

Regards,
Vladimir

Login to leave a comment.