Converts a BGR image to YCbCr color model.
IppStatus ippiBGRToYCbCr_JPEG_8u_C3P3R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst[3], int dstStep, IppiSize roiSize);
IppStatus ippiBGRToYCbCr_JPEG_8u_C4P3R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst[3], int dstStep, IppiSize roiSize);
pSrc |
Pointer to the source image ROI. |
srcStep |
Distance in bytes between starts of consecutive lines in the source image. |
pDst |
Array of pointers to the ROI in each planes of the destination image. |
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 ippiBGRToYCbCr_JPEG is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function converts a BGR image to the YCbCr color model using the same formulas as the ippiRGBToYCbCr_JPEG function for computing Y, Cb and Cr component values.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize has a field with zero or negative value. |
ippStsStepErr |
Indicates an error condition if srcStep or dstStep has a zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.