Searched refs:normalize_i_range (Results 1 – 5 of 5) sorted by relevance
/dports/x11-wm/picom/picom-8.2/src/ |
H A D | kernel.c | 18 int xstart = normalize_i_range(x, 0, map->w), in sum_kernel() 19 xend = normalize_i_range(width + x, 0, map->w); in sum_kernel() 20 int ystart = normalize_i_range(y, 0, map->h), in sum_kernel() 21 yend = normalize_i_range(height + y, 0, map->h); in sum_kernel()
|
H A D | utils.h | 124 static inline int attr_const normalize_i_range(int i, int min, int max) { in normalize_i_range() function
|
H A D | options.c | 890 opt->refresh_rate = normalize_i_range(opt->refresh_rate, 0, 300); in get_cfg()
|
/dports/x11-wm/compton/compton-b7f43ee/src/ |
H A D | common.h | 1592 normalize_i_range(int i, int min, int max) { in normalize_i_range() function
|
H A D | compton.c | 108 diff = normalize_i_range(diff, 0, ps->o.fade_delta * 2); in fade_timeout() 6053 ps->o.refresh_rate = normalize_i_range(ps->o.refresh_rate, 0, 300); in get_cfg()
|