YCoCgToRGB
Converts a YCoCg image to the RGB image.
Syntax
IppStatus ippiYCoCgToRGB_8u_P3C3R(const Ipp8u*
pSrc
[3], int
srcStep
, Ipp8u*
pDst
,int
dstStep
, IppiSize
roi
);
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
- 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.
- roi
- Size of the source and destination ROI in pixels.
Description
This function 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
Return Values
- ippStsNoErr
- Indicates no error. Any other value indicates an error.
- ippStsNullPtrErr
- Indicates an error condition if one of the specified pointers isNULL.