Visible to Intel only — GUID: GUID-140D6DCC-9978-4C50-9117-883418133783
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 |
The dataType value is illegal. |
ippStsNullPtrErr |
At least one of the pointers (except pRoi) is NULL. |
ippStsNoErr |
No errors. |
Parent topic: Basic Operations