Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

YCbCr to BGR 32 bpp

I am decoding Jp2 images using UIC and it works well witih RGB. I am adding a new feature to use YCbCr Jp2 images and having trouble. The function ippiYCbCr422ToBGR_8u_P3C3R delivers an image, but the resulting image is striped with green garbage. I believe the problem is that the UIC decoder delivers YCbCr data in 3 planes, but with a 32 bit per pixel data type. The function assumes that the upper 24 bits are real, when they are probably garbage.

I have two questions:
1) Is there a way to tell the ippiYCbCr422ToBGR functions that my input data is 32 bpp?
2) Does my interpretation sound reasonable?

0 Kudos
0 Replies