Converts a YCbCr image that has 4:1:1 sampling format to the RGB color model.
IppStatus ippiYCbCr411ToBGR_8u_P3C3R(const Ipp8u* pSrc[3], int srcStep[3], Ipp8u* pDst, int dstStep, IppiSize roiSize);
IppStatus ippiYCbCr411ToBGR_8u_P3C4R(const Ipp8u* pSrc[3], int srcStep[3], Ipp8u* pDst, int dstStep, IppiSize roiSize, Ipp8u aval);
pSrc |
An array of pointers to ROI in separate planes of the source image. |
srcStep |
An array of distances in bytes between starts of consecutive lines in the source image planes. |
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 fourth channel. |
The function ippiYCbCr411ToBGR is declared in the ippcc.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function converts the planar Y'Cb'Cr' image pSrc to the three- or four-channel image pDst.To compute gamma-corrected R'G'B' (B'G'R') channel values the above formulas are used. The difference is that ippiYCbCr411ToBGR uses the input data in the 4:1:1 sampling format (see Table “Planar Image Formats” for more details). Fourth channel is created by setting channel values to the constant value aval.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if pSrc or pDst is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize has a field with a zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.