Searched refs:clamp0 (Results 1 – 4 of 4) sorted by relevance
5 ; E.g., clamp0 implemented in a shifty way, could be optimized as v > 0 ? v : 0, where sub hasNoSig…6 ; int32 clamp0(int32 v) {
26 static __inline int32 clamp0(int32 v) { in clamp0() function35 int v = clamp0(val); in Clamp()44 static __inline int32 clamp0(int32 v) {53 int v = clamp0(val);882 #define SHADE(f, v) clamp0(f - v)
27 static __inline int32_t clamp0(int32_t v) { in clamp0() function44 static __inline int32_t clamp0(int32_t v) {61 int v = clamp0(val); in Clamp()66 int v = clamp0(val); in Clamp10()933 #define SHADE(f, v) clamp0(f - v)