clamp 517 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); clamp 518 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.z = clamp (r.pos.z + t1 * r.dir.z, b.min.z, b.max.z); clamp 526 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); clamp 527 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.z = clamp (r.pos.z + t2 * r.dir.z, b.min.z, b.max.z); clamp 552 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); clamp 553 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.z = clamp (r.pos.z + t1 * r.dir.z, b.min.z, b.max.z); clamp 561 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); clamp 562 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.z = clamp (r.pos.z + t2 * r.dir.z, b.min.z, b.max.z); clamp 591 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.x = clamp (r.pos.x + t1 * r.dir.x, b.min.x, b.max.x); clamp 593 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.z = clamp (r.pos.z + t1 * r.dir.z, b.min.z, b.max.z); clamp 600 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.x = clamp (r.pos.x + t2 * r.dir.x, b.min.x, b.max.x); clamp 602 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.z = clamp (r.pos.z + t2 * r.dir.z, b.min.z, b.max.z); clamp 626 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.x = clamp (r.pos.x + t1 * r.dir.x, b.min.x, b.max.x); clamp 628 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.z = clamp (r.pos.z + t1 * r.dir.z, b.min.z, b.max.z); clamp 635 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.x = clamp (r.pos.x + t2 * r.dir.x, b.min.x, b.max.x); clamp 637 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.z = clamp (r.pos.z + t2 * r.dir.z, b.min.z, b.max.z); clamp 666 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.x = clamp (r.pos.x + t1 * r.dir.x, b.min.x, b.max.x); clamp 667 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); clamp 675 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.x = clamp (r.pos.x + t2 * r.dir.x, b.min.x, b.max.x); clamp 676 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); clamp 701 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.x = clamp (r.pos.x + t1 * r.dir.x, b.min.x, b.max.x); clamp 702 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); clamp 710 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.x = clamp (r.pos.x + t2 * r.dir.x, b.min.x, b.max.x); clamp 711 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); clamp 819 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); clamp 820 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.z = clamp (r.pos.z + t * r.dir.z, b.min.z, b.max.z); clamp 849 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); clamp 850 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.z = clamp (r.pos.z + t * r.dir.z, b.min.z, b.max.z); clamp 888 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.x = clamp (r.pos.x + t * r.dir.x, b.min.x, b.max.x); clamp 890 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.z = clamp (r.pos.z + t * r.dir.z, b.min.z, b.max.z); clamp 918 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.x = clamp (r.pos.x + t * r.dir.x, b.min.x, b.max.x); clamp 920 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.z = clamp (r.pos.z + t * r.dir.z, b.min.z, b.max.z); clamp 958 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.x = clamp (r.pos.x + t * r.dir.x, b.min.x, b.max.x); clamp 959 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); clamp 988 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.x = clamp (r.pos.x + t * r.dir.x, b.min.x, b.max.x); clamp 989 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); clamp 109 3rdparty/openexr/Imath/ImathFun.h clamp (T a, T l, T h) clamp 301 modules/calib3d/src/opencl/stereobm.cl cov2 += input[clamp(y+i, 0, rows-1) * cols + clamp(x+j, 0, cols-1)]; clamp 304 modules/calib3d/src/opencl/stereobm.cl res = clamp(res, -prefilterCap, prefilterCap) + prefilterCap; clamp 328 modules/calib3d/src/opencl/stereobm.cl cov = clamp(cov, -prefilterCap, prefilterCap) + prefilterCap; clamp 2027 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_ClampColor(GLenum target, GLenum clamp) clamp 2030 modules/core/src/gl_core_3_1.cpp ClampColor(target, clamp); clamp 1294 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *ClampColor)(GLenum target, GLenum clamp); clamp 62 modules/core/src/opencl/copymakeborder.cl x = clamp(x, 0, cols - 1); clamp 134 modules/imgproc/src/opencl/canny.cl int x = clamp(start_x - 2 + (j % (GRP_SIZEX + 4)), 0, cols - 1); clamp 135 modules/imgproc/src/opencl/canny.cl int y = clamp(start_y - 2 + (j / (GRP_SIZEX + 4)), 0, rows - 1); clamp 297 modules/imgproc/src/opencl/canny.cl int x = clamp(start_x - 1 + i % (GRP_SIZEX + 2), 0, cols - 1); clamp 298 modules/imgproc/src/opencl/canny.cl int y = clamp(start_y - 1 + i / (GRP_SIZEX + 2), 0, rows - 1); clamp 211 modules/imgproc/src/opencl/clahe.cl convert_uchar(clamp(ires, (uint)0, (uint)255)); clamp 251 modules/imgproc/src/opencl/clahe.cl dst[mad24(y, dstStep, x + dst_offset)] = convert_uchar(clamp(ires, (uint)0, (uint)255)); clamp 19 modules/imgproc/src/opencl/covardata.cl (x) = clamp((x), 0, (maxV)-1); \ clamp 1627 modules/imgproc/src/opencl/cvtcolor.cl int ix = clamp(convert_int_sat_rtn(x), 0, n-1); clamp 1712 modules/imgproc/src/opencl/cvtcolor.cl float R = clamp(src_pix.x, 0.0f, 1.0f); clamp 1713 modules/imgproc/src/opencl/cvtcolor.cl float G = clamp(src_pix.y, 0.0f, 1.0f); clamp 1714 modules/imgproc/src/opencl/cvtcolor.cl float B = clamp(src_pix.z, 0.0f, 1.0f); clamp 1782 modules/imgproc/src/opencl/cvtcolor.cl float ro = clamp(fma(C0, x, fma(C1, y, C2 * z)), 0.0f, 1.0f); clamp 1783 modules/imgproc/src/opencl/cvtcolor.cl float go = clamp(fma(C3, x, fma(C4, y, C5 * z)), 0.0f, 1.0f); clamp 1784 modules/imgproc/src/opencl/cvtcolor.cl float bo = clamp(fma(C6, x, fma(C7, y, C8 * z)), 0.0f, 1.0f); clamp 2048 modules/imgproc/src/opencl/cvtcolor.cl R = clamp(R, 0.f, 1.f); clamp 2049 modules/imgproc/src/opencl/cvtcolor.cl G = clamp(G, 0.f, 1.f); clamp 2050 modules/imgproc/src/opencl/cvtcolor.cl B = clamp(B, 0.f, 1.f); clamp 2109 modules/imgproc/src/opencl/cvtcolor.cl R = clamp(R, 0.f, 1.f); clamp 2110 modules/imgproc/src/opencl/cvtcolor.cl G = clamp(G, 0.f, 1.f); clamp 2111 modules/imgproc/src/opencl/cvtcolor.cl B = clamp(B, 0.f, 1.f); clamp 50 modules/imgproc/src/opencl/filter2D.cl (x) = clamp((x), (minV), (maxV)-1); \ clamp 102 modules/imgproc/src/opencl/filter2D.cl (x) = clamp((x), (minV), (maxV)-1); \ clamp 117 modules/imgproc/src/opencl/filter2D.cl (x) = clamp((x), 2 * (minV) - (x) - 1, 2 * (maxV) - (x) - 1); \ clamp 123 modules/imgproc/src/opencl/filter2D.cl (x) = clamp((x), 2 * (minV) - (x), 2 * (maxV) - (x) - 2); \ clamp 53 modules/imgproc/src/opencl/filterSep_singlePass.cl (x) = clamp((x), 0, (maxV)-1); \ clamp 52 modules/imgproc/src/opencl/laplacian5.cl (x) = clamp((x), 0, (maxV)-1); \ clamp 300 modules/imgproc/src/opencl/medianFilter.cl int c = clamp(dx + dc, 0, dst_cols - 1); clamp 302 modules/imgproc/src/opencl/medianFilter.cl int r = clamp(dy + dr, 0, dst_rows - 1); clamp 304 modules/imgproc/src/opencl/medianFilter.cl r = clamp(dy + dr + 9, 0, dst_rows - 1); clamp 347 modules/imgproc/src/opencl/medianFilter.cl int c = clamp(dx + dc, 0, dst_cols - 1); clamp 348 modules/imgproc/src/opencl/medianFilter.cl int r = clamp(dy + dr, 0, dst_rows - 1); clamp 351 modules/imgproc/src/opencl/medianFilter.cl r = clamp(dy + dr + 10, 0, dst_rows - 1); clamp 56 modules/imgproc/src/opencl/pyr_down.cl #define EXTRAPOLATE(x, maxV) clamp((x), 0, (maxV)-1) clamp 62 modules/imgproc/src/opencl/pyr_down.cl #define EXTRAPOLATE(x, maxV) clamp(min(((maxV)-1)*2-(x)+1, max((x),-(x)-1) ), 0, (maxV)-1) clamp 65 modules/imgproc/src/opencl/pyr_down.cl #define EXTRAPOLATE(x, maxV) clamp(min(((maxV)-1)*2-(x), max((x),-(x)) ), 0, (maxV)-1) clamp 147 modules/imgproc/src/opencl/resize.cl int sx0 = xofs[dx], sy0 = clamp(yofs[dy], 0, src_rows - 1), clamp 148 modules/imgproc/src/opencl/resize.cl sy1 = clamp(yofs[dy] + 1, 0, src_rows - 1); clamp 79 modules/imgproc/src/opencl/threshold.cl dst[0] = clamp(sdata, (T)min_val, (T)(thresh)); clamp 101 modules/video/src/opencl/bgfg_mog2.cl float variance_new = clamp(mad(k, (dist2 - c_var), c_var), c_varMin, c_varMax); clamp 153 modules/video/src/opencl/optical_flow_tvl1.cl int i0 = clamp(x, 0, cols - 1); clamp 154 modules/video/src/opencl/optical_flow_tvl1.cl int j0 = clamp(y, 0, rows - 1); clamp 76 samples/gpu/pyrlk_optical_flow.cpp x = clamp(x, a, b); clamp 40 samples/tapi/tvl1_optical_flow.cpp x = clamp(x, a, b);