iwiScale_GetScaleVals
iwiScale_GetScaleVals
Syntax
IW_DECL(IppStatus) iwiScale_GetScaleVals(
IppDataType srcType,
IppDataType dstType,
Ipp64f *pMulVal,
Ipp64f *pAddVal
);
Parameters
- 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.
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
- ippStsDataTypeErr
- ThedataTypevalue is illegal.
- ippStsNullPtrErr
- At least one of the pointers (exceptpRoi) isNULL.
- ippStsNoErr
- No errors.