Visible to Intel only — GUID: GUID-02C06716-D628-4DB7-A9A0-D4A3AD926367
Visible to Intel only — GUID: GUID-02C06716-D628-4DB7-A9A0-D4A3AD926367
ResizeYCbCr422
Performs resizing of a 4:2:2 two-channel image.
Syntax
IppStatus ippiResizeYCbCr422_8u_C2R(const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, int interpolation, Ipp8u* pBuffer);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
pSrc |
Pointer to the source image. |
||||||||||
srcSize |
Size, in pixels, of the source image. |
||||||||||
srcStep |
Distance, in bytes, between the starting points of consecutive lines in the source image buffer. |
||||||||||
srcROI |
Region of interest in the source image. | ||||||||||
pDst |
Pointer to the destination image ROI. | ||||||||||
dstStep |
Distance, in bytes, between the starting points of consecutive lines in the destination image buffer. |
||||||||||
dstRoiSize |
Size of the destination ROI in pixels. |
||||||||||
interpolation |
Type of interpolation to apply to the source image:
|
||||||||||
pBuffer |
Pointer to the external buffer. |
Description
This function operates with ROI (see ROI Processing in Geometric Transforms).
This function resizes the source image ROI to the destination image ROI origin. The function performs resampling of the result using the interpolation mode specified by the interpolation parameter, and stores it in the destination image ROI.
The source image is a two-channel image in the 4:2:2 sampling format in color spaces with decoupled luminance and chrominance components, for example, YUV422 or YCrCb422.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if pSrc, pDst, or pBuffer is NULL. |
ippStsSizeErr |
Indicates an error in the following cases:
|
ippStsDoubleSize |
Indicates a warning if width of wither source or destination ROI is not a multiple of 2. |
ippStsInterpolationErr |
Indicates an error if interpolation has an illegal value. |
ippStsWrongIntersectROI |
Indicates a warning if srcROI does not intersect with the source image; no operation is required. |