RetroArch
|
Go to the source code of this file.
Functions | |
static INLINE float | clamp_float (float val, float lower, float upper) |
static INLINE uint8_t | clamp_8bit (int val) |
clamp_8bit: : initial value
Clamps an unsigned 8-bit value.
Returns: a clamped value of initial unsigned 8-bit value .
|
static |
clamp_float: : initial value : lower limit that value should be clamped against : upper limit that value should be clamped against
Clamps a floating point value.
Returns: a clamped value of initial float value .