Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of 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.

See Also