Searched refs:OI_INT16_MAX (Results 1 – 4 of 4) sorted by relevance
37 #define CLIP_INT16(x) do { if (x > OI_INT16_MAX) { x = OI_INT16_MAX; } else if (x < OI_INT16_MIN) {…
203 #define CLIP_INT16(x) do { if (x > OI_INT16_MAX) { x = OI_INT16_MAX; } else if (x < OI_INT16_MIN) {…
66 #define OI_INT16_MAX ((OI_INT16)0x7FFF) /**< decimal value: 32767 */ macro
106 #define VALID_INT16(x) (((x) >= OI_INT16_MIN) && ((x) <= OI_INT16_MAX))