Home | History | Annotate | Download | only in source

Lines Matching refs:clamp255

30 static __inline int32 clamp255(int32 v) {
36 return (uint32)(clamp255(v));
48 static __inline int32 clamp255(int32 v) {
54 return (uint32)(clamp255(v));
670 dst_argb[1] = clamp255(sg);
671 dst_argb[2] = clamp255(sr);
801 #define SHADE(f, v) clamp255(v + f)
866 dst_sobelx[i] = (uint8)(clamp255(sobel));
884 dst_sobely[i] = (uint8)(clamp255(sobel));
894 int s = clamp255(r + b);
909 int s = clamp255(r + b);
920 int g = clamp255(r + b);
1827 dst_argb[0] = clamp255(b);
1828 dst_argb[1] = clamp255(g);
1829 dst_argb[2] = clamp255(r);