Developer Reference

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

WarpBilinearQuadGetBufferSize

Computes the size of the work buffer for bilinear warping of an arbitrary quadrangle in the source image ROI to the quadrangle in the destination image.

Syntax

IppStatus ippiWarpBilinearQuadGetBufferSize(IppiSize
srcSize
, IppiRect
srcRoi
, const double
srcQuad[4][2]
, IppiRect
dstRoi
, const double
dstQuad[4][2]
, int
interpolation
, int*
pBufSize
);
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
srcSize
Size of the source image, in pixels.
srcRoi
Source image ROI (of the
IppiRect type
).
srcQuad
Quadrangle in the source image.
dstRoi
Destination image ROI (of the
IppiRect type
).
dstQuad
Quadrangle in the destination image.
interpolation
Interpolation mode. Supported values:
IPPI_INTER_NN
Nearest neighbor interpolation
IPPI_INTER_LINEAR
Linear interpolation
IPPI_INTER_CUBIC
Cubic interpolation
IPPI_INTER_EDGE
Use edge smoothing in addition to one of the above modes
pBufSize
Pointer to the size, in bytes, of the external buffer.
Description
This function computes the size of the external work buffer required for bilinear warping of an arbitrary quadrangle in the source image ROI to the quadrangle in the destination image. The result is stored in the
pBufSize
parameter.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when
pBufSize
is
NULL
.
ippStsSizeErr
Indicates an error:
  • If one of the ROI coordinates has a negative value.
  • If one of the ROI dimensions is less than, or equal to zero.
ippStsCoeffErr
Indicates an error when bilinear transformation is singular.
ippStsInterpolationErr
Indicates an error when
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