Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2019
IW_DECL_CPP(IppStatus) iwiScale_GetScaleVals(
IppDataType srcType,
IppDataType dstType,
Ipp64f &mulVal,
Ipp64f &addVal
);
srcType |
Data type of the source data. |
dstType |
Data type of the destination data. |
mulVal |
Reference to the multiplier used for scaling. |
addVal |
Reference 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.
ippStsNoErr |
No errors. |
ippStsDataTypeErr |
The dataType value is illegal. |