VLC
4.0.0-dev
|
Common integer functions. More...
![]() |
Modules | |
Bit operations | |
Overflowing arithmetic | |
Macros | |
#define | VLC_CLIP(v, min, max) __MIN(__MAX((v), (min)), (max)) |
Functions | |
static int64_t | GCD (int64_t a, int64_t b) |
Greatest common divisor. More... | |
static uint8_t | clip_uint8_vlc (int32_t a) |
Common integer functions.
#define VLC_CLIP | ( | v, | |
min, | |||
max | |||
) | __MIN(__MAX((v), (min)), (max)) |
Referenced by OSDWidget(), vlc_viewpoint_clip(), vout_OSDEpgSlider(), and vout_UpdateSourceCrop().
|
inlinestatic |