YCbCr to BGR 32 bpp

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?

Thanks

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.