Calculate external buffer size for <FunctionName>ResizeSqrPixel</FunctionName> function
FwStatus | fwiResizeSqrPixelGetBufSize | ( | FwiSize dstSize, int nChannel, int interpolation, int * pBufferSize ); |
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. |
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.