FilterGetBufSize

Computes the size of the working buffer.

Syntax

IppStatus ippiFilterGetBufSize_64f_C1R(IppiSize kernelSize, int roiWidth, int* pBufferSize);

Parameters

kernelSize

Size of the rectangular kernel in pixels.

roiWidth

Width of the image ROI in pixels.

pBufferSize

Pointer to the size of the working buffer.

Description

The function ippiFilterGetBufSize is declared in the ippi.h file. It operates with ROI (see Regions of Interest in Intel IPP).

This function computes the size of the working buffer pBufferSize that is required for the function ippiFilter (flavor which operates on data of the Ipp64f type).

In some cases the function may return zero size of the buffer.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error.

ippStsNullPtrErr

Indicates an error condition if pBufferSize is NULL.

ippStsSizeErr

Indicates an error condition if kernelSize has a field with a zero or negative value, or roiWidth is less than or equal to 0.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.