HomeSort by relevance Sort by last modified time
    Searched full:calcdist (Results 1 - 10 of 10) sorted by null

  /external/opencv3/modules/photo/src/
fast_nlmeans_denoising_invoker_commons.hpp 160 template <typename T> static inline int calcDist(const T a, const T b)
166 static inline int calcDist(const Mat& m, int i1, int j1, int i2, int j2)
170 return calcDist<T>(a,b);
176 return calcDist<T>(a_down, b_down) - calcDist<T>(a_up, b_up);
251 return calcDist<T>(a_down, b_down) - calcDist<T>(a_up, b_up);
282 template <typename T> static inline int calcDist(const T a, const T b)
288 static inline int calcDist(const Mat& m, int i1, int j1, int i2, int j2)
292 return calcDist<T>(a,b)
    [all...]
fast_nlmeans_denoising_invoker.hpp 274 int dist = D::template calcDist<T>(extended_src_,
310 col_dist_sums[new_last_col_num][y][x] += D::template calcDist<T>(extended_src_, ay + ty, ax, by + ty, bx);
fast_nlmeans_multi_denoising_invoker.hpp 305 int dist = D::template calcDist<T>(
348 *col_dist_sums_ptr += D::template calcDist<T>(
  /external/opencv3/modules/cudalegacy/src/cuda/
bm_fast.cu 65 template <typename T> __device__ __forceinline__ int calcDist(T a, T b)
117 int dist = calcDist(I0(ay + ty, ax + tx), I1(by + ty, bx + tx));
146 col_sum += calcDist(I0(ay + ty, ax), I1(by + ty, bx));
174 int col_sum = up_col_sums(j, index) + calcDist(a_down, b_down) - calcDist(a_up, b_up);
  /external/opencv3/modules/photo/
opencl_kernels_photo.cpp 46 "inline int calcDist(pixel_t a, pixel_t b)\n"
69 "return calcDist(down_value, down_value_t) - calcDist(up_value, up_value_t);\n"
113 "value = calcDist(src_template[tx], src_current[tx]);\n"
144 "col_dist += calcDist(src_current[0], src_template[0]);\n"
  /external/opencv3/modules/photo/src/opencl/
nlmeans.cl 49 inline int calcDist(pixel_t a, pixel_t b)
74 return calcDist(down_value, down_value_t) - calcDist(up_value, up_value_t);
125 value = calcDist(src_template[tx], src_current[tx]);
164 col_dist += calcDist(src_current[0], src_template[0]);
  /external/opencv3/modules/photo/src/cuda/
nlm.cu 263 __device__ __forceinline__ int calcDist(const uchar& a, const uchar& b) { return (a-b)*(a-b); }
264 __device__ __forceinline__ int calcDist(const uchar2& a, const uchar2& b) { return (a.x-b.x)*(a.x-b.x) + (a.y-b.y)*(a.y-b.y); }
265 __device__ __forceinline__ int calcDist(const uchar3& a, const uchar3& b) { return (a.x-b.x)*(a.x-b.x) + (a.y-b.y)*(a.y-b.y) + (a.z-b.z)*(a.z-b.z); }
321 int dist = calcDist(src(ay + ty, ax + tx), src(by + ty, bx + tx));
332 int dist = calcDist(src(ay + ty, ax + tx), src(by + ty, bx + tx));
359 col_sum += calcDist(src(ay + ty, ax), src(by + ty, bx));
387 int col_sum = up_col_sums(j, index) + calcDist(a_down, b_down) - calcDist(a_up, b_up);
  /external/skia/src/pathops/
SkPathOpsCubic.cpp 36 double calcDist = calcPos - axisIntercept;
47 SkDebugf("t=%1.9g calc=%1.9g dist=%1.9g step=%1.9g less=%1.9g\n", t, calcPos, calcDist,
52 if (calcDist > 0 ? calcDist > lessDist : calcDist < lessDist) {
65 if (calcDist > 0 ? calcDist <= moreDist : calcDist >= moreDist) {
73 calcDist = calcPos - axisIntercept;
  /external/skia/tests/
PathOpsCubicLineIntersectionIdeas.cpp 65 double calcDist = calcX * calcX + calcY * calcY;
81 if (calcDist > lessDist) {
89 if (calcDist <= moreDist) {
  /external/webp/src/enc/
delta_palettization.c 292 static uint32_t CalcDist(uint32_t predicted_value, uint32_t actual_value,
355 uint32_t best_distance = CalcDist(predicted_value, src, palette[0]);
357 const uint32_t distance = CalcDist(predicted_value, src, palette[i]);

Completed in 221 milliseconds