Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

FilterMedianGetBufferSize

Computes the size of the external buffer for
ippiFilterMedian
function.

Syntax

IppStatus ippiFilterMedianGetBufferSize_32f(IppiSize
dstRoiSize
, IppiSize
maskSize
, Ipp32u
nChannels
, Ipp32u*
pBufferSize
);
IppStatus ippiFilterMedianGetBufferSize_64f(IppiSize
dstRoiSize
, IppiSize
maskSize
, Ipp32u
nChannels
, Ipp32u*
pBufferSize
);
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
dstRoiSize
Size of the destination ROI in pixels.
maskSize
Size of the mask in pixels.
nChannels
Number of channels in the image.
pBufferSize
Pointer to the computed value of the external buffer size.
Description
This function computes the size in bytes of an external memory buffer that is required for the
ippiFilterMedian
function, and stores the result in the
pBufferSize
.
Return Values
ippStsNoErr
Indicates no error. Any other value indicates an error.
ippStsNullPtrErr
Indicates an error if the
pBufferSize
pointer is
NULL
.
ippStsSizeErr
Indicates an error if one of the fields of
dstRoiSize
has a zero or negative value.
ippStsMaskSizeErr
Indicates an error if one of the fields of
maskSize
has a value less than or equal to 1.
ippStsNumChannelsErr
Indicates an error if
nChannels
is not equal to 1, 3, or 4.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804