Developer Reference

  • 2021
  • 03/26/2021
  • Public Content
Contents

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
, or
ipp32f
.
ippChan
Number of channels in the source images. Possible values:
ippC1
,
ippC3
, or
ippAC4
.
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 is
NULL
.
ippStsSizeErr
Indicates an error when
roiSize
is less than, or equal to zero.
ippStsDataTypeErr
Indicates an error when
srcType
has an illegal value.
ippStsChannelErr
Indicates an error when
ippChan
has an illegal value.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.