Computes the sizes of the resample structure and the work buffer.
IppStatus ippiResampleRowGetSize_32f(int srcSampleWidth, int dstSampleWidth, int* pSpecSize, int* pBufSize);
srcSampleWidth |
Distance between neighbor pixels of the source row on the reference grid. |
dstSampleWidth |
Distance between neighbor pixels of the destination row on the reference grid. |
pSpecSize |
Pointer to the computed size of the structure. |
pBufSize |
Pointer to the computed size of the buffer. |
The function ippiResampleRowGetSize is declared in the ippi.h file.
This function calculates sizes of the resampling parameters structure IppiResampleRowSpec structure and the work buffer utilized by the functions ippiResampleRow and ippiResampleRowReplicateBorder. These values are stored in the pSpecSize and pBufSize respectively. Calculations are performed in accordance with the parameters of resampling: widths of source and destination samples. The structure and the buffer must be created by the user. Use the function ippiResampleRowInit to initialize the IppiResampleRowSpec structure.
This function computes the sizes of the row resampling structure IppiResampleRowSpec and of the work buffer.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if one of the specified pointers is NULL. |
ippStsOutOfRangeErr |
Indicates an error condition if any of the scrSampleWidth or dstSampleWidth parameters is not valid. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.