/external/opencv3/modules/cudaimgproc/src/cuda/ |
D | clahe.cu | 159 const int srcVal = src(y, x); in tranformKernel() local 163 res += lut(ty1 * tilesX + tx1, srcVal) * ((1.0f - xa) * (1.0f - ya)); in tranformKernel() 164 res += lut(ty1 * tilesX + tx2, srcVal) * ((xa) * (1.0f - ya)); in tranformKernel() 165 res += lut(ty2 * tilesX + tx1, srcVal) * ((1.0f - xa) * (ya)); in tranformKernel() 166 res += lut(ty2 * tilesX + tx2, srcVal) * ((xa) * (ya)); in tranformKernel()
|
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
D | minmaxloc.hpp | 81 const ResType srcVal = src(y, x); in minMaxLoc_pass_1() local 83 if (srcVal < myMin) in minMaxLoc_pass_1() 85 myMin = srcVal; in minMaxLoc_pass_1() 89 if (srcVal > myMax) in minMaxLoc_pass_1() 91 myMax = srcVal; in minMaxLoc_pass_1()
|
D | reduce.hpp | 271 … __device__ __forceinline__ void reduceVal(typename TypeTraits<src_type>::parameter_type srcVal) in reduceVal() 273 sum = sum + saturate_cast<work_type>(srcVal); in reduceVal() 329 … __device__ __forceinline__ void reduceVal(typename TypeTraits<src_type>::parameter_type srcVal) in reduceVal() 333 myval = op(myval, srcVal); in reduceVal() 361 … __device__ __forceinline__ void reduceVal(typename TypeTraits<src_type>::parameter_type srcVal) in reduceVal() 366 mymin = minOp(mymin, srcVal); in reduceVal() 367 mymax = maxOp(mymax, srcVal); in reduceVal()
|
D | transform.hpp | 376 …__device__ static void transform(const SrcVal& srcVal, DstPtrTuple& dst, const OpTuple& op, int y,… in transform() 381 get<count - 1>(dst)(y, x) = saturate_cast<dst_type>(get<count - 1>(op)(srcVal)); in transform() 382 Unroll<count - 1>::transform(srcVal, dst, op, y, x); in transform() 402 typename PtrTraits<SrcPtr>::value_type srcVal = src(y, x); in transform_tuple() local 404 Unroll<tuple_size<DstPtrTuple>::value>::transform(srcVal, dst, op, y, x); in transform_tuple()
|
/external/opencv3/modules/superres/src/opencl/ |
D | superres_btvl1.cl | 142 const float srcVal = src_elem_at(src, y, src_step, x); 148 … dstVal += c_btvRegWeights[count] * (diffSign1(srcVal, src_elem_at(src, y + m, src_step, x + l)) 149 - diffSign1(src_elem_at(src, y - m, src_step, x - l), srcVal)); 155 float3 srcVal = (float3)(src0ptr[0], src0ptr[1], src0ptr[2]), dstVal = 0.f; 167 … dstVal += c_btvRegWeights[count] * (diffSign3(srcVal, src1) - diffSign3(src2, srcVal));
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | clahe.cl | 241 const int srcVal = src[mad24(y, srcStep, x + src_offset)]; 245 … res += lut[mad24(ty1 * tilesX + tx1, lutStep, srcVal + lut_offset)] * ((1.0f - xa) * (1.0f - ya)); 246 res += lut[mad24(ty1 * tilesX + tx2, lutStep, srcVal + lut_offset)] * ((xa) * (1.0f - ya)); 247 res += lut[mad24(ty2 * tilesX + tx1, lutStep, srcVal + lut_offset)] * ((1.0f - xa) * (ya)); 248 res += lut[mad24(ty2 * tilesX + tx2, lutStep, srcVal + lut_offset)] * ((xa) * (ya));
|
/external/opencv3/modules/superres/src/cuda/ |
D | btv_l1_gpu.cu | 203 const T srcVal = src(y, x); in calcBtvRegularizationKernel() local 210 … dstVal + c_btvRegWeights[count] * (diffSign(srcVal, src(y + m, x + l)) - diffSign(src(y - m, x - … in calcBtvRegularizationKernel()
|
/external/opencv3/modules/imgproc/src/ |
D | clahe.cpp | 305 int srcVal = srcRow[x]; in operator ()() local 307 int ind1 = ind1_p[x] + srcVal; in operator ()() 308 int ind2 = ind2_p[x] + srcVal; in operator ()()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 1026 SVal srcVal = state->getSVal(Source, LCtx); in evalCopyCommon() local 1030 state = checkNonNull(C, state, Source, srcVal); in evalCopyCommon() 1428 SVal srcVal = state->getSVal(srcExpr, LCtx); in evalStrcpyCommon() local 1429 state = checkNonNull(C, state, srcExpr, srcVal); in evalStrcpyCommon() 1434 SVal strLength = getCStringLength(C, state, srcExpr, srcVal); in evalStrcpyCommon() 1546 amountCopied = getCStringLength(C, state, lenExpr, srcVal, true); in evalStrcpyCommon() 1710 state = InvalidateBuffer(C, state, srcExpr, srcVal, /*IsSourceBuffer*/true, in evalStrcpyCommon()
|
/external/opencv3/modules/superres/src/ |
D | btv_l1.cpp | 384 const T srcVal = srcRow[j]; in operator ()() local 392 dstRow[j] += btvWeights[ind] * (diffSign(srcVal, srcRow3[j + l]) in operator ()() 393 - diffSign(srcRow2[j - l], srcVal)); in operator ()()
|