ResizeYCbCr422GetBufSize
Computes the size of the external buffer for the NV12 resize transform.
Syntax
IppStatus ippiResizeYCbCr422GetBufSize(IppiRect
srcROI
, IppiSize
dstRoiSize
, int
interpolation
, int*
pSize
);
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
- srcROI
- Region of interest of the source image.
- dstRoiSize
- Region of interest of the destination image.
- interpolation
- Type of interpolation to apply to the source image:
- IPP_INTER_NN
- Nearest neighbor interpolation
- IPP_INTER_LINEAR
- Linear interpolation
- IPP_INTER_CUBIC
- Cubic interpolation
- IPPI_INTER_CUBIC2P_CATMULLROM
- Catmull-Rom cubic filter
- IPP_INTER_LANCZOS
- Lanczos filter with size 6x6
- pSize
- Pointer to the size, in bytes, of the external buffer.
Description
This function computes the size of the external buffer for the YCbCr resize transform.
Return Values
- ippStsNoErr
- Indicates no error.
- ippStsNullPtrErr
- Indicates an error ifpSizeisNULL.
- ippStsSizeErr
- Indicates an error in the following cases:
- width of either source or destination ROI is less than 2
- height of either source or destination ROI is less than 1
- ippStsDoubleSize
- Indicates a warning if width of wither source or destination ROI is not a multiple of 2.
- ippStsInterpolationErr
- Indicates an error ifinterpolationhas an illegal value.