Converts a YCoCg image to the RGB image.
IppStatus ippiYCoCgToRGB_8u_P3C3R(const Ipp8u* pSrc[3], int srcStep, Ipp8u* pDst,int dstStep, IppiSize roiSize);
pSrc |
Array of pointers to the source image ROI in each plane. |
srcStep |
Distance in bytes between starts of consecutive lines in 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. |
The function ippiYCoCrToRGB is declared in the ippcc.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function converts the YCoCg image pSrc to the RGB image pDst according to the following formulas:
R = Y + Co - Cg
G = Y + Cg
B = Y - Co - Cg
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error condition if one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.