Home
last modified time | relevance | path

Searched refs:diff2 (Results 1 – 24 of 24) sorted by relevance

/external/opencv3/modules/photo/test/
Dtest_inpaint.cpp90 Mat diff1, diff2; in run() local
92 absdiff( orig, res2, diff2 ); in run()
95 double n2 = cvtest::norm(diff2.reshape(1), NORM_INF, inv_mask.reshape(1)); in run()
104 absdiff( exp2, res2, diff2 ); in run()
107 n2 = cvtest::norm(diff2.reshape(1), NORM_INF, mask.reshape(1)); in run()
/external/opencv3/modules/cudastereo/src/cuda/
Dstereobm.cu136 unsigned int diff1, diff2; in StepDown() local
164 diff2 = leftPixel2 - rightPixel2[0]; in StepDown()
165 col_ssd[0 * (BLOCK_W + 2 * RADIUS)] += SQ(diff2) - SQ(diff1); in StepDown()
168 diff2 = leftPixel2 - rightPixel2[1]; in StepDown()
169 col_ssd[1 * (BLOCK_W + 2 * RADIUS)] += SQ(diff2) - SQ(diff1); in StepDown()
172 diff2 = leftPixel2 - rightPixel2[2]; in StepDown()
173 col_ssd[2 * (BLOCK_W + 2 * RADIUS)] += SQ(diff2) - SQ(diff1); in StepDown()
176 diff2 = leftPixel2 - rightPixel2[3]; in StepDown()
177 col_ssd[3 * (BLOCK_W + 2 * RADIUS)] += SQ(diff2) - SQ(diff1); in StepDown()
180 diff2 = leftPixel2 - rightPixel2[4]; in StepDown()
[all …]
/external/opencv3/modules/flann/include/opencv2/flann/
Ddist.h157 ResultType diff0, diff1, diff2, diff3;
165 diff2 = (ResultType)(a[2] - b[2]);
167 result += diff0 * diff0 + diff1 * diff1 + diff2 * diff2 + diff3 * diff3;
219 ResultType diff0, diff1, diff2, diff3;
227 diff2 = (ResultType)abs(a[2] - b[2]);
229 result += diff0 + diff1 + diff2 + diff3;
283 ResultType diff0, diff1, diff2, diff3;
291 diff2 = (ResultType)abs(a[2] - b[2]);
293 result += pow(diff0,order) + pow(diff1,order) + pow(diff2,order) + pow(diff3,order);
339 ResultType diff0, diff1, diff2, diff3;
[all …]
Dkdtree_single_index.h562 DistanceType diff2 = val - node->divhigh; in searchLevel() local
567 if ((diff1+diff2)<0) { in searchLevel()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
Dgim_box_set.cpp56 btVector3 diff2 = center-means; in _calc_splitting_axis() local
57 diff2 = diff2 * diff2; in _calc_splitting_axis()
58 variance += diff2; in _calc_splitting_axis()
DbtGImpactBvh.cpp89 btVector3 diff2 = center-means; in _calc_splitting_axis() local
90 diff2 = diff2 * diff2; in _calc_splitting_axis()
91 variance += diff2; in _calc_splitting_axis()
DbtGImpactQuantizedBvh.cpp110 btVector3 diff2 = center-means; in _calc_splitting_axis() local
111 diff2 = diff2 * diff2; in _calc_splitting_axis()
112 variance += diff2; in _calc_splitting_axis()
/external/autotest/client/site_tests/security_ReservedPrivileges/
Dsecurity_ReservedPrivileges.py92 diff2 = baseline_set.difference(observed_set)
93 if len(diff2) > 0:
94 for command in diff2:
97 if (len(diff) + len(diff2)) > 0:
/external/webrtc/webrtc/common_audio/signal_processing/
Dresample_by_2_mips.c61 int32_t diff1, diff2; in WebRtcSpl_DownsampleBy2() local
76 [diff1] "=&r" (diff1), [diff2] "=r" (diff2), [inw] "+r" (inw) in WebRtcSpl_DownsampleBy2()
115 [diff2] "r" (diff2), [diff1] "r" (diff1), [in322] "r" (in322), in WebRtcSpl_DownsampleBy2()
140 [state2] "+r" (state2), [diff2] "=&r" (diff2), in WebRtcSpl_DownsampleBy2()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapsTest.java334 MapDifference<Integer, String> diff2 = Maps.difference(right, left); in testMapDifferenceTypical() local
335 assertFalse(diff2.areEqual()); in testMapDifferenceTypical()
336 assertEquals(ImmutableMap.of(6, "z"), diff2.entriesOnlyOnLeft()); in testMapDifferenceTypical()
337 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff2.entriesOnlyOnRight()); in testMapDifferenceTypical()
338 assertEquals(ImmutableMap.of(1, "a"), diff2.entriesInCommon()); in testMapDifferenceTypical()
342 diff2.entriesDiffering()); in testMapDifferenceTypical()
344 + "value differences={3=(f, c), 5=(g, e)}", diff2.toString()); in testMapDifferenceTypical()
357 MapDifference<Integer, String> diff2 = Maps.difference(left, right2); in testMapDifferenceEquals() local
362 .addEqualityGroup(diff2) in testMapDifferenceEquals()
394 MapDifference<Integer, String> diff2 = Maps.difference(right, left, in testMapDifferencePredicateTypical() local
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcstrtest.c325 int32_t diff1, diff2; in TestCompareInvEbcdicAsAscii() local
333 diff2=getSign(uprv_compareInvEbcdicAsAscii(invStrings[i][0], invStrings[i-1][0])); in TestCompareInvEbcdicAsAscii()
334 if(diff2!=-diff1) { in TestCompareInvEbcdicAsAscii()
336 invStrings[i][1], invStrings[i-1][1], (short)diff2); in TestCompareInvEbcdicAsAscii()
/external/llvm/test/MC/Mips/
Dmips64eb-fixups.s13 $diff2 = ($loc3)-($loc0)
14 .8byte ($diff2)
/external/autotest/client/cros/cellular/wardmodem/
Dtask_loop_unittest.py124 diff2 = round(self.times[2] - self.times[1], 3)
126 self.assertTrue(diff1 != diff2 or diff2 != diff3 or diff3 != diff1)
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTest.java400 MapDifference<Integer, String> diff2 = Maps.difference(right, left); in testMapDifferenceTypical() local
401 assertFalse(diff2.areEqual()); in testMapDifferenceTypical()
402 assertEquals(ImmutableMap.of(6, "z"), diff2.entriesOnlyOnLeft()); in testMapDifferenceTypical()
403 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff2.entriesOnlyOnRight()); in testMapDifferenceTypical()
404 assertEquals(ImmutableMap.of(1, "a"), diff2.entriesInCommon()); in testMapDifferenceTypical()
408 diff2.entriesDiffering()); in testMapDifferenceTypical()
410 + "value differences={3=(f, c), 5=(g, e)}", diff2.toString()); in testMapDifferenceTypical()
423 MapDifference<Integer, String> diff2 = Maps.difference(left, right2); in testMapDifferenceEquals() local
428 .addEqualityGroup(diff2) in testMapDifferenceEquals()
460 MapDifference<Integer, String> diff2 = Maps.difference(right, left, in testMapDifferencePredicateTypical() local
[all …]
/external/webp/src/utils/
Dfilters.c42 const int diff2 = SDIFF(p[i], p[i - width]); in WebPEstimateBestFilter() local
48 bins[WEBP_FILTER_VERTICAL][diff2] = 1; in WebPEstimateBestFilter()
/external/dng_sdk/source/
Ddng_lens_correction.h166 const dng_point_real64 &diff2) const = 0;
333 const dng_point_real64 &diff2) const;
439 const dng_point_real64 &diff2) const;
Ddng_lens_correction.cpp443 const dng_point_real64 &diff2) const in EvaluateTangential()
452 const real64 dhdh = diff2.h; in EvaluateTangential()
453 const real64 dvdv = diff2.v; in EvaluateTangential()
/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp827 const int diff2 = de::abs((int)ref2 - (int)res2); in iterate() local
830 if (diff0 > maxDiff || diff1 > maxDiff || diff2 > maxDiff || diff3 > maxDiff) in iterate()
837 … << "\n diffs = " << tcu::IVec4(diff0, diff1, diff2, diff3) << ", max diff = " << maxDiff in iterate()
924 const deUint32 diff2 = getUlpDiff(ref2, res2); in iterate() local
927 if (diff0 > maxDiff || diff1 > maxDiff || diff2 > maxDiff || diff3 > maxDiff) in iterate()
935 …<< "\n ULP diffs = (" << diff0 << ", " << diff1 << ", " << diff2 << ", " << diff3 << "), max diff… in iterate()
1036 const int diff2 = de::abs((int)ref2 - (int)res2); in iterate() local
1039 if (diff0 > maxDiff || diff1 > maxDiff || diff2 > maxDiff || diff3 > maxDiff) in iterate()
1046 … << "\n diffs = " << tcu::IVec4(diff0, diff1, diff2, diff3) << ", max diff = " << maxDiff in iterate()
1133 const deUint32 diff2 = getUlpDiff(ref2, res2); in iterate() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp942 const int diff2 = de::abs((int)ref2 - (int)res2); in iterate() local
945 if (diff0 > maxDiff || diff1 > maxDiff || diff2 > maxDiff || diff3 > maxDiff) in iterate()
952 … << "\n diffs = " << tcu::IVec4(diff0, diff1, diff2, diff3) << ", max diff = " << maxDiff in iterate()
1058 const deUint32 diff2 = getUlpDiff(ref2, res2); in iterate() local
1061 if (diff0 > maxDiff || diff1 > maxDiff || diff2 > maxDiff || diff3 > maxDiff) in iterate()
1069 …<< "\n ULP diffs = (" << diff0 << ", " << diff1 << ", " << diff2 << ", " << diff3 << "), max diff… in iterate()
1187 const int diff2 = de::abs((int)ref2 - (int)res2); in iterate() local
1190 if (diff0 > maxDiff || diff1 > maxDiff || diff2 > maxDiff || diff3 > maxDiff) in iterate()
1197 … << "\n diffs = " << tcu::IVec4(diff0, diff1, diff2, diff3) << ", max diff = " << maxDiff in iterate()
1303 const deUint32 diff2 = getUlpDiff(ref2, res2); in iterate() local
[all …]
/external/opencv3/3rdparty/libwebp/utils/
Dfilters.c177 const int diff2 = SDIFF(p[i], p[i - width]); in EstimateBestFilter() local
183 bins[WEBP_FILTER_VERTICAL][diff2] = 1; in EstimateBestFilter()
/external/opencv3/3rdparty/libwebp/dsp/
Denc_sse2.c369 const __m128i diff2 = _mm_sub_epi16(src_2, ref_2); in FTransformSSE2() local
379 const __m128i shuf23 = _mm_unpacklo_epi32(diff2, diff3); in FTransformSSE2()
525 const __m128i diff2 = _mm_or_si128(a2p, a2m); in SSE_Nx4SSE2() local
531 const __m128i low2 = _mm_unpacklo_epi8(diff2, zero); in SSE_Nx4SSE2()
549 const __m128i hi2 = _mm_unpackhi_epi8(diff2, zero); in SSE_Nx4SSE2()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
DbtQuantizedBvh.cpp320 btVector3 diff2 = center-means; in calcSplittingAxis() local
321 diff2 = diff2 * diff2; in calcSplittingAxis()
322 variance += diff2; in calcSplittingAxis()
/external/webp/src/dsp/
Denc_sse2.c398 const __m128i diff2 = _mm_sub_epi16(src_2, ref_2); in FTransform() local
407 const __m128i shuf23 = _mm_unpacklo_epi32(diff2, diff3); in FTransform()
441 const __m128i diff2 = _mm_sub_epi16(src_2, ref_2); in FTransform2() local
450 const __m128i shuf23l = _mm_unpacklo_epi32(diff2, diff3); in FTransform2()
452 const __m128i shuf23h = _mm_unpackhi_epi32(diff2, diff3); in FTransform2()
/external/clang/test/CXX/expr/expr.const/
Dp2-0x.cpp219 constexpr int diff2 = &a[1][3] - &a[1][0]; variable