Visible to Intel only — GUID: GUID-C3910B75-1B69-4640-A7D0-E2E00F78A0F3
Visible to Intel only — GUID: GUID-C3910B75-1B69-4640-A7D0-E2E00F78A0F3
ResizeFilterGetSize
Calculates the size of the state structure for resizing filter.
Syntax
IppStatus ippiResizeFilterGetSize_8u_C1R(IppiSize srcRoiSize, IppiSize dstRoiSize, IppiResizeFilterType filter, Ipp32u* pSize);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
srcRoiSize |
Size of the source image ROI in pixels. |
dstRoiSize |
Size of the destination image ROI in pixels. |
filter |
Type of filter used in resizing; possible values: ippResizeFilterHann, ippResizeFilterLanczos. |
pSize |
Pointer to the size (in bytes) of the state structure. |
Description
This function operates with ROI (see ROI Processing in Geometric Transforms).
This function calculates the size pSize of the state structure required for the function ippiResizeFilter. The type of filter is specified by the parameter filter.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error condition if the pSize pointer is NULL. |
ippStsSizeErr |
Indicates an error condition if srcRoiSize or dstRoiSize has a field with zero or negative value. |
ippStsNotSupportedModeErr |
Indicates an error condition if filter has an invalid value. |