iwValueSaturate
iwValueSaturate
Syntax
IW_DECL(double) iwValueSaturate(
double val,
IppDataType dstType
);
Parameters
- val
- Input value.
- dstType
- Data type of the saturation range.
Description
This function casts a value to the input type with rounding and saturation.
Return Values
Saturated value.