Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2018
IW_DECL(IppStatus) iwiScale_GetScaleVals(
IppDataType srcType,
IppDataType dstType,
Ipp64f *pMulVal,
Ipp64f *pAddVal
);
srcType |
Data type of the source data. |
dstType |
Data type of the destination data. |
pMulVal |
Pointer to the multiplier used for scaling. |
pAddVal |
Pointer to the offset value for scaling. |
This function returns the multiplier and offset values to perform accurate data range scaling between two data types with the iwiScale function.
ippStsDataTypeErr |
The dataType value is illegal. |
ippStsNullPtrErr |
At least one of the pointers (except pRoi) is NULL. |
ippStsNoErr |
No errors. |