FilterRowBorderPipelineGetBufferSize, FilterRowBorderPipelineGetBufferSize_Low

Compute the size of working buffer for the strow filter.

Syntax

IppStatus ippiFilterRowBorderPipelineGetBufferSize_<mod>(IppiSize roiSize, int kernelSize, int* pBufferSize);

Supported values for mod:

8u16s_C1R 16s_C1R 32f_C1R
8u16s_C3R 16s_C3R 32f_C3R

IppStatus ippiFilterRowBorderPipelineGetBufferSize_Low_<mod>(IppiSize roiSize, int kernelSize, int* pBufferSize);

Supported values for mod:

16s_C1R
16s_C3R

Parameters

roiSize

Maximum size of the source and destination image ROI.

kernelSize

Size of the kernel in pixels.

pBufferSize

Pointer to the computed size of the buffer.

Description

The functions ippiFilterRowBorderPipelineGetBufferSize and ippiFilterRowBorderPipelineGetBufferSize_Low are declared in the ippcv.h file. They operate with ROI (see Regions of Interest in Intel IPP).

These functions compute the size of the working buffer required for the functions ippiFilterRowBorderPipeline and ippiFilterRowBorderPipeline_Low respectively. The buffer with the length pBufferSize[0] can be used to filter images with width equal to or less than roiSize.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if the pointer pBufferSize is NULL.

ippStsSizeErr

Indicates an error condition if maskSize has a field with a zero or negative value, or if roiWidth is less than 1.

Submit feedback on this help topic

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