CLAMP 189 3rdparty/libtiff/tif_color.c Y = HICLAMP(Y, 255), Cb = CLAMP(Cb, 0, 255), Cr = CLAMP(Cr, 0, 255); CLAMP 192 3rdparty/libtiff/tif_color.c *r = CLAMP(i, 0, 255); CLAMP 195 3rdparty/libtiff/tif_color.c *g = CLAMP(i, 0, 255); CLAMP 197 3rdparty/libtiff/tif_color.c *b = CLAMP(i, 0, 255); CLAMP 932 3rdparty/libtiff/tif_pixarlog.c r2 = wp[0] = (uint16) CLAMP(ip[0]); CLAMP 933 3rdparty/libtiff/tif_pixarlog.c g2 = wp[1] = (uint16) CLAMP(ip[1]); CLAMP 934 3rdparty/libtiff/tif_pixarlog.c b2 = wp[2] = (uint16) CLAMP(ip[2]); CLAMP 940 3rdparty/libtiff/tif_pixarlog.c r1 = (int32) CLAMP(ip[0]); wp[0] = (r1-r2) & mask; r2 = r1; CLAMP 941 3rdparty/libtiff/tif_pixarlog.c g1 = (int32) CLAMP(ip[1]); wp[1] = (g1-g2) & mask; g2 = g1; CLAMP 942 3rdparty/libtiff/tif_pixarlog.c b1 = (int32) CLAMP(ip[2]); wp[2] = (b1-b2) & mask; b2 = b1; CLAMP 945 3rdparty/libtiff/tif_pixarlog.c r2 = wp[0] = (uint16) CLAMP(ip[0]); CLAMP 946 3rdparty/libtiff/tif_pixarlog.c g2 = wp[1] = (uint16) CLAMP(ip[1]); CLAMP 947 3rdparty/libtiff/tif_pixarlog.c b2 = wp[2] = (uint16) CLAMP(ip[2]); CLAMP 948 3rdparty/libtiff/tif_pixarlog.c a2 = wp[3] = (uint16) CLAMP(ip[3]); CLAMP 954 3rdparty/libtiff/tif_pixarlog.c r1 = (int32) CLAMP(ip[0]); wp[0] = (r1-r2) & mask; r2 = r1; CLAMP 955 3rdparty/libtiff/tif_pixarlog.c g1 = (int32) CLAMP(ip[1]); wp[1] = (g1-g2) & mask; g2 = g1; CLAMP 956 3rdparty/libtiff/tif_pixarlog.c b1 = (int32) CLAMP(ip[2]); wp[2] = (b1-b2) & mask; b2 = b1; CLAMP 957 3rdparty/libtiff/tif_pixarlog.c a1 = (int32) CLAMP(ip[3]); wp[3] = (a1-a2) & mask; a2 = a1; CLAMP 964 3rdparty/libtiff/tif_pixarlog.c REPEAT(stride, wp[0] = (uint16) CLAMP(ip[0]); CLAMP 970 3rdparty/libtiff/tif_pixarlog.c REPEAT(stride, wp[0] = (uint16) CLAMP(ip[0]); wp--; ip--) CLAMP 988 3rdparty/libtiff/tif_pixarlog.c r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); CLAMP 989 3rdparty/libtiff/tif_pixarlog.c b2 = wp[2] = CLAMP(ip[2]); CLAMP 995 3rdparty/libtiff/tif_pixarlog.c r1 = CLAMP(ip[0]); wp[0] = (r1-r2) & mask; r2 = r1; CLAMP 996 3rdparty/libtiff/tif_pixarlog.c g1 = CLAMP(ip[1]); wp[1] = (g1-g2) & mask; g2 = g1; CLAMP 997 3rdparty/libtiff/tif_pixarlog.c b1 = CLAMP(ip[2]); wp[2] = (b1-b2) & mask; b2 = b1; CLAMP 1000 3rdparty/libtiff/tif_pixarlog.c r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); CLAMP 1001 3rdparty/libtiff/tif_pixarlog.c b2 = wp[2] = CLAMP(ip[2]); a2 = wp[3] = CLAMP(ip[3]); CLAMP 1007 3rdparty/libtiff/tif_pixarlog.c r1 = CLAMP(ip[0]); wp[0] = (r1-r2) & mask; r2 = r1; CLAMP 1008 3rdparty/libtiff/tif_pixarlog.c g1 = CLAMP(ip[1]); wp[1] = (g1-g2) & mask; g2 = g1; CLAMP 1009 3rdparty/libtiff/tif_pixarlog.c b1 = CLAMP(ip[2]); wp[2] = (b1-b2) & mask; b2 = b1; CLAMP 1010 3rdparty/libtiff/tif_pixarlog.c a1 = CLAMP(ip[3]); wp[3] = (a1-a2) & mask; a2 = a1; CLAMP 1017 3rdparty/libtiff/tif_pixarlog.c REPEAT(stride, wp[0] = CLAMP(ip[0]); CLAMP 1023 3rdparty/libtiff/tif_pixarlog.c REPEAT(stride, wp[0] = CLAMP(ip[0]); wp--; ip--) CLAMP 1041 3rdparty/libtiff/tif_pixarlog.c r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); CLAMP 1042 3rdparty/libtiff/tif_pixarlog.c b2 = wp[2] = CLAMP(ip[2]); CLAMP 1046 3rdparty/libtiff/tif_pixarlog.c r1 = CLAMP(ip[3]); wp[3] = (r1-r2) & mask; r2 = r1; CLAMP 1047 3rdparty/libtiff/tif_pixarlog.c g1 = CLAMP(ip[4]); wp[4] = (g1-g2) & mask; g2 = g1; CLAMP 1048 3rdparty/libtiff/tif_pixarlog.c b1 = CLAMP(ip[5]); wp[5] = (b1-b2) & mask; b2 = b1; CLAMP 1053 3rdparty/libtiff/tif_pixarlog.c r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); CLAMP 1054 3rdparty/libtiff/tif_pixarlog.c b2 = wp[2] = CLAMP(ip[2]); a2 = wp[3] = CLAMP(ip[3]); CLAMP 1058 3rdparty/libtiff/tif_pixarlog.c r1 = CLAMP(ip[4]); wp[4] = (r1-r2) & mask; r2 = r1; CLAMP 1059 3rdparty/libtiff/tif_pixarlog.c g1 = CLAMP(ip[5]); wp[5] = (g1-g2) & mask; g2 = g1; CLAMP 1060 3rdparty/libtiff/tif_pixarlog.c b1 = CLAMP(ip[6]); wp[6] = (b1-b2) & mask; b2 = b1; CLAMP 1061 3rdparty/libtiff/tif_pixarlog.c a1 = CLAMP(ip[7]); wp[7] = (a1-a2) & mask; a2 = a1; CLAMP 1070 3rdparty/libtiff/tif_pixarlog.c REPEAT(stride, wp[0] = CLAMP(ip[0]); CLAMP 1076 3rdparty/libtiff/tif_pixarlog.c REPEAT(stride, wp[0] = CLAMP(ip[0]); wp--; ip--) CLAMP 1016 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp #define CLAMP_0_255(x) CLAMP(x,0,255) CLAMP 108 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp template<typename Tin> inline __host__ __device__ void _TDemoteClampZ(Tin &a, Ncv16u &out) {out = (Ncv16u)CLAMP(a, 0, USHRT_MAX);} CLAMP 109 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp template<typename Tin> inline __host__ __device__ void _TDemoteClampZ(Tin &a, Ncv32u &out) {out = (Ncv32u)CLAMP(a, 0, UINT_MAX);} CLAMP 114 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp template<typename Tin> inline __host__ __device__ void _TDemoteClampNN(Tin &a, Ncv16u &out) {out = (Ncv16u)CLAMP(a+0.5f, 0, USHRT_MAX);} CLAMP 115 modules/cudalegacy/src/cuda/NCVPixelOperations.hpp template<typename Tin> inline __host__ __device__ void _TDemoteClampNN(Tin &a, Ncv32u &out) {out = (Ncv32u)CLAMP(a+0.5f, 0, UINT_MAX);} CLAMP 2099 modules/videoio/src/cap_v4l.cpp *outp++ = CLAMP(val);