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

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

FilterMedianGetBufferSize

Computes the size of the work buffer for the ippsFilterMedian function.

Syntax

IppStatus ippsFilterMedianGetBufferSize (int maskSize, IppDataType dataType, int* pBufferSize);

Include Files

ipps.h

Domain Dependencies

Headers: ippcore.h, ippvm.h

Libraries: ippcore.lib, ippvm.lib

Parameters

maskSize

Size of the median mask.

dataType

Data type of the source and destination vectors. Possible values are ipp8u, ipp16s, ipp32s, ipp32f, or ipp64f.

pBufferSize

Pointer to the computed size of the external work buffer, in bytes.

Description

The ippsFilterMedianGetBufferSize function computes the size, in bytes, of the external work buffer needed for the ippsFilterMedian function. The result is stored in the pBufferSize parameter.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when pBufferSize is NULL.

ippStsMaskSizeErr

Indicates an error when maskSize is less than, or equal to zero.

ippStsDataTypeErr

Indicates an error when dataType has an illegal value.

ippStsEvenMedianMaskSize

Indicates a warning when maskSize has an even value.

See Also