Converts 4:2:0 YCrCb image to 4:2:2 YCbCr image with additional filtering.
IppStatus ippiYCrCb420ToYCbCr422_Filter_8u_P3R(const Ipp8u* pSrc[3], int srcStep[3], Ipp8u* pDst[3], int dstStep[3], IppiSize roiSize);
pSrc |
Array of pointers to the ROI in each plane of the source image. |
srcStep |
Array of distances in bytes between starts of consecutive lines in each plane of the source image. |
pDst |
Array of pointers to the ROI in each plane of the destination image. |
dstStep |
Array of distances in bytes between starts of consecutive lines in each plane of the destination image. |
roiSize |
Size of the ROI in pixels, its width should be multiple of 2, its height should be multiple of 8. |
The function ippiYCrCb420ToYCbCr422_Filter is declared in the ippcc.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function converts the 4:2:0 YCrCb three-plane image pSrc to the 4:2:2 YCbCr three-plane image pDst (see Table “Planar Image Formats”).
Additionally, this function performs the vertical upsampling using a Catmull-Rom interpolation (cubic convolution interpolation).
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize.width is less than 2 or roiSize.height is less than 8. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.