iwiScale_GetScaleVals
iwiScale_GetScaleVals
Syntax
IW_DECL_CPP(IppStatus) iwiScale_GetScaleVals(
IppDataType srcType,
IppDataType dstType,
Ipp64f &mulVal,
Ipp64f &addVal
);
Parameters
- 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.
Description
This function returns the multiplier and offset values to perform accurate data range scaling between two data types with the
iwiScale
function.Return Values
- ippStsNoErr
- No errors.
Exception Values
- ippStsDataTypeErr
- ThedataTypevalue is illegal.