Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
Contents

LUT_GetSize

Computes the size of the LUT specification structure.

Syntax

IppStatus ippiLUT_GetSize(IppiInterpolationType
interpolation
, IppDataType
dataType
, IppChannels
channels
, IppiSize
roiSize
, const int
nLevels[]
, int*
pSpecSize
);
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
interpolation
Interpolation algorithm, possible values are:
ippNearest
Nearest neighbor interpolation.
ippCubic
Cubic interpolation.
ippLinear
Linear interpolation.
dataType
Data type of the image. Possible values are
ipp8u
,
ipp16u
,
ipp16s
, or
ipp32f
.
channels
Number of channels in the image. Possible values are:
ippC1
,
ippC3
,
ippC4
, or
ippAC4
.
roiSize
Size, in pixels, of the destination ROI.
nLevels
Number of levels, separate for each channel.
pSpecSize
Pointer to the computed size, in bytes, of the specification structure.
Description
This function computes the size of the specification structure for the
ippiLUT
function. The result is stored in the
pSpecSize
parameter.
For an example on how to use this function, refer to the example provided with the
ippiLUT
function description.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error when any of the specified pointers is
NULL
.
ippStsSizeErr
Indicates an error when
roiSize
has a field with a value less than 1.
ippStsChannelErr
Indicates an error when
channel
has an illegal value.
ippStsDataTypeErr
Indicates an error when
dataType
has an illegal value.
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