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

ID 790148
Date 3/22/2024
Public
Document Table of Contents

HistogramGetLevels

Returns the array with level values stored in the specification structure.

Syntax

IppStatus ippiHistogramGetLevels(const IppiHistogramSpec* pSpec, Ipp32f* pLevels[]);

Include Files

ippi.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

pSpec

Pointer to the specification structure.

pLevels

Pointer to the array of pointers to the level values vectors for each channel.

Description

The ippiHistogramGetLevels function returns the level values stored in the histogram specification structure.

For an example on how to use this function, refer to the example provided with the Histogram function description.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or a warning.

ippStsNullPtrErr

Indicates an error when one of the specified pointers is NULL.

ippStsBadArgErr

Indicates an error when the pSpec object is not initialized.

See Also