Visible to Intel only — GUID: GUID-7A18ADEB-45E1-43EA-BDEB-552ABB9F8BBB
Visible to Intel only — GUID: GUID-7A18ADEB-45E1-43EA-BDEB-552ABB9F8BBB
ResizeYUV422GetSize
Computes sizes of the spec structure and the external buffer for YUY2 resize transform initialization.
Syntax
IppStatus ippiResizeYUV422GetSize(IppiSize srcSize, IppiSize dstSize, IppiInterpolationType interpolation, Ipp32u antialiasing, Ipp32s* pSpecSize, Ipp32s* pInitBufSize);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
srcSize |
Size of the source image in pixels. |
dstSize |
Size of the destination image in pixels. |
interpolation |
Interpolation method. Supported values are ippNearest and ippLinear. |
antialiasing |
Antialiasing method. |
pSpecSize |
Pointer to the size in bytes of the spec structure. |
pInitBufSize |
Pointer to the size in bytes of the temporal buffer. |
Description
This function computes sizes of the spec structure and the external buffer that are required for one of the following functions depending on the interpolation method parameter: ResizeYUV422NearestInit and ResizeYUV422LinearInit.
The filter sizes of the Nearest Neighbor and Linear interpolation algorithms are 2x1 and 4x2 respectively.
Antialiasing is currently not supported. The value for the antialiasing parameter must be equal to zero.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error condition if one of the specified pointers is NULL. |
ippStsNoOperation |
Indicates a warning if width or height of the image is equal to zero. |
ippStsSizeErr |
Indicates an error in the following cases:
|
ippStsSizeWrn |
Indicates a warning if width of the image is odd. |
ippStsInterpolationErr |
Indicates an error if interpolation has an illegal value. |
ippStsNoAntialiasing |
Indicates a warning if the specified interpolation method does not support antialiasing. |
ippStsNotSupportedModeErr |
Indicates an error if the requested mode is currently not supported. |