QualityIndexGetBufferSize
Computes the size of the work buffer for the
ippiQualityIndex
function.Syntax
IppStatus ippiQualityIndexGetBufferSize(IppDataType
srcType
, IppChannels
ippChan
, IppiSize
roiSize
, int*
pBufferSize
);
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
- srcType
- Data type of the source images. Possible values:ipp8u,ipp16u, oripp32f.
- ippChan
- Number of channels in the source images. Possible values:ippC1,ippC3, orippAC4.
- roiSize
- Size, in pixels, of the source images.
- pBufferSize
- Pointer to the computed value of the buffer size, in bytes.
Description
The function computes the size of the work buffer, in bytes, for the
ippiQualityIndex
function and stores the result in the pBufferSize
parameter.Return Values
- ippStsNoErr
- Indicates no error. Any other value indicates an error or a warning.
- ippStsNullPtrErr
- Indicates an error when any of the specified pointers isNULL.
- ippStsSizeErr
- Indicates an error whenroiSizeis less than, or equal to zero.
- ippStsDataTypeErr
- Indicates an error whensrcTypehas an illegal value.
- ippStsChannelErr
- Indicates an error whenippChanhas an illegal value.