YCrCb420ToYCbCr422_Filter
Converts 4:2:0 YCrCb image to 4:2:2 YCbCr image with additional filtering.
Syntax
IppStatus ippiYCrCb420ToYCbCr422_Filter_8u_P3R(const Ipp8u*
pSrc
[3], int
srcStep
[3], Ipp8u*
pDst
[3], int
dstStep
[3], IppiSize
roiSize
);
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 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.
Description
This function 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).
Return Values
- ippStsNoErr
- Indicates no error. Any other value indicates an error.
- ippStsNullPtrErr
- Indicates an error condition if any of the specified pointers isNULL.
- ippStsSizeErr
- Indicates an error condition ifroiSize.widthis less than 2 orroiSize.heightis less than 8.