Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

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 if
pSize
is
NULL
.
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 if
interpolation
has an illegal value.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804