Visible to Intel only — GUID: GUID-F74DA671-305F-4CF5-9F9E-F6CFBF3CBAD1
Visible to Intel only — GUID: GUID-F74DA671-305F-4CF5-9F9E-F6CFBF3CBAD1
YCbCr411ToBGR
Converts a YCbCr image that has 4:1:1 sampling format to the RGB color model.
Syntax
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);
Include Files
ippcc.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h, ippi.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib, ippi.lib
Parameters
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. |
Description
This function 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.
Return Values
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. |