ResampleRowGetBorderWidth

Computes the width of the left and right borders.

Syntax

IppStatus ippiResampleRowGetBorderWidth_32f(const IppiResampleRowSpec_32f* pRowSpec, int* pLeftWidth, int* pRightWidth);

Parameters

pRowSpec

Pointer to the initialized row resampling structure.

pLeftWidth

Pointer to the size (in pixels) of the left border width.

pRightWidth

Pointer to the size (in pixels) of the right border width.

Description

The function ippiResampleRowGetBorderWidth is declared in the ippi.h file.

This function computes the width of the right and left borders (in pixels) that must be added to the source buffer before resampling with the function ippiResampleRowReplicateBorder. The results are stored in the pRightWidth and pLeftWidth respectively. The width of each border depends on parameters of resampling determined in the IppiResampleRowSpec structure.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if the pRowSpec pointer is NULL.

ippStsBadArgErr

Indicates an error condition if the specified filter type is incorrect or unsupported.


Submit feedback on this help topic

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