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

ID 790148
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

UndistortGetSize

Computes the size of the external buffer.

Syntax

IppStatus ippiUndistortGetSize(IppiSize roiSize, int* pBufferSize);

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
Size of source and destination images ROI in pixels.
pBufferSize
Pointer to the computed value of the buffer size.

Description

This function computes the size of the temporary external buffer that is used by the functions ippiUndistortRadial. The buffer of the computed size can be used to process smaller images as well.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if pBufferSize is NULL.

ippStsSizeErr

Indicates an error condition if roiSize has a field with zero or negative value.