ResizeSqrPixelGetBufSize

Calculate external buffer size for <FunctionName>ResizeSqrPixel</FunctionName> function

Synopsis

FwStatus   fwiResizeSqrPixelGetBufSize ( FwiSize dstSizeint nChannelint interpolationint * pBufferSize );

Parameters

dstSize   Destination image size.
interpolation   Specifies the method of interpolation.
nChannel   Number of channels in the image.
pBufferSize   Pointer to the size of a temporary buffer.

Description

This function is used before a ResizeSqrPixel function. It calculates external buffer size, acts as a buffer space placeholder, and checks whether parameters used by the ResizeSqrPixel function are defined correctly.