ResizeSqrPixelGetBufSize

THIS FUNCTION IS DEPRECATED. Computes the size of the external buffer for image resizing.

Syntax

IppStatus ippiResizeSqrPixelGetBufSize(IppiSize dstSize, int nChannel, int interpolation, int* pBufferSize);

Parameters

dstSize

Size in pixels of the destination image.

nChannel

Number of channels or planes, possible values are 1, 3, 4.

interpolation

Specifies the interpolation mode. Use one of the following values:

IPPI_INTER_NN - nearest neighbor interpolation

IPPI_INTER_LINEAR - linear interpolation

IPPI_INTER_CUBIC - cubic interpolation

IPPI_INTER_LANCZOS - interpolation with Lanczos window

IPPI_INTER_CUBIC2P_BSPLINE - B-spline

IPPI_INTER_CUBIC2P_CATMULLROM - Catmull-Rom spline

IPPI_INTER_CUBIC2P_B05C03 - special two-parameters cubic filter

pBufferSize

Pointer to the size of the external buffer.

Description

Caution iconCaution

THIS FUNCTION IS DEPRECATED. Please use the function ippiResizeGetBufSize instead.

The function ippiResizeSqrPixelGetBufSize is declared in the ippi.h file. This function computes the size of the external buffer that is required for the function ippiResizeSqrPixel.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if pBufferSize pointer is NULL.

ippStsSizeErr

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

ippStsNumChannelErr

Indicates an error condition if nChannel has an illegal value.

ippStsInterpolationErr

Indicates an error condition if interpolation has an illegal value.

Submit feedback on this help topic

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