Searched refs:clamp255 (Results 1 – 3 of 3) sorted by relevance
30 static __inline int32 clamp255(int32 v) { in clamp255() function36 return (uint32)(clamp255(v)); in Clamp()48 static __inline int32 clamp255(int32 v) {54 return (uint32)(clamp255(v));670 dst_argb[1] = clamp255(sg); in ARGBSepiaRow_C()671 dst_argb[2] = clamp255(sr); in ARGBSepiaRow_C()801 #define SHADE(f, v) clamp255(v + f)866 dst_sobelx[i] = (uint8)(clamp255(sobel)); in SobelXRow_C()884 dst_sobely[i] = (uint8)(clamp255(sobel)); in SobelYRow_C()894 int s = clamp255(r + b); in SobelRow_C()[all …]
1321 static inline unsigned clamp255(unsigned x) { in clamp255() function