Intel IPP Integration Wrappers Developer Guide and Reference

ID 751823
Date 1/18/2023
Public
Document Table of Contents

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.