Developer Reference for Intel® Integrated Performance Primitives
Computes the size of the LUT specification structure.
IppStatus ippiLUT_GetSize(IppiInterpolationType interpolation, IppDataType dataType, IppChannels channels, IppiSize roiSize, const int nLevels[], int* pSpecSize);
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
interpolation |
Interpolation algorithm, possible values are:
|
||||||
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. |
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.
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. |