Converts 16-bit per pixel YCbCr image to 24-bit per pixel BGR image.
IppStatus ippiYCbCr422ToBGR_JPEG_8u_P3C3R(const Ipp8u* pSrc[3], int srcStep[3], Ipp8u* pDst, int dstStep, IppiSize roiSize);
IppStatus ippiYCbCr422ToBGR_JPEG_8u_P3C4R(const Ipp8u* pSrc[3], int srcStep[3], Ipp8u* pDst, int dstStep, IppiSize roiSize, Ipp8u aval);
pSrc |
Array of pointers to ROI in each plane of the source image. |
srcStep |
Array of distance values in bytes between starts of consecutive lines in each plane of the source image. |
pDst |
Pointer to the destination image ROI. |
dstStep |
Distance in bytes between starts of consecutive lines in the destination image. |
roiSize |
Size of the source and destination ROI in pixels. |
aval |
Constant value to create the fourth channel. |
The function ippiYCbCr422ToBGR_JPEG is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function converts an YCbCr planar image pSrc, packed in 4:2:2 sampling format (see Figure “Different JPEG Sampling Formats” for more details) to the BGR image pDst according to the same formulas as the function ippiYCbCrToRGB_JPEG does. The output BGR values are saturated to the range [0..255].
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if pSrc or pDst pointer is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize has a field with zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.