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

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

FilterColumnPipelineGetBufferSize, FilterColumnPipelineGetBufferSize_Low

Compute the size of working buffer for the column filter.

Syntax

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

Supported values for mod:

16s_C1R 16u_C1R 16s8u_C1R 16s8s_C1R 32f_C1R
16s_C3R 16u_C3R 16s8u_C3R 16s8s_C3R 32f_C3R

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

Supported values for mod:

16s_C1R
16s_C3R

Include Files

ippcv.h

Domain Dependencies

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

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

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

These functions operate with ROI (see Regions of Interest in Intel IPP).

These functions compute the size of the working buffer required for the functions ippiFilterColumnPipeline and ippiFilterColumnPipeline_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.