Searched defs:CLAMP (Results 1 – 6 of 6) sorted by relevance
278 #define CLAMP(x) (pwc_crop_table[MAX_OUTER_CROP_VALUE+(x)]) macro280 #define CLAMP(x) ((x)>255?255:((x)<0?0:x)) macro
65 #define CLAMP(x) if (x < 0) x = 0; if (x > 0xff) x = 0xff in hid_lgff_play() macro
428 #define CLAMP(x) do { if (x < 0) x = 0; else if (x > 0xff) x = 0xff; } while (0) in lg4ff_play() macro
33 #define CLAMP BIT(0) macro
28 #define CLAMP 0x44 macro
1069 # define CLAMP(cParam, val) CLAMP_TYPE(cParam, val, unsigned) in ZSTD_clampCParams() macro