Intel IPP Integration Wrappers Developer Guide and Reference

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

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

The dataType value is illegal.