Home
last modified time | relevance | path

Searched refs:diff1 (Results 1 – 25 of 33) sorted by relevance

12

/external/libvpx/libvpx/vpx_dsp/mips/
Dsubtract_msa.c22 v8i16 diff0, diff1; in sub_blk_4x4_msa() local
29 HSUB_UB2_SH(src_l0, src_l1, diff0, diff1); in sub_blk_4x4_msa()
30 ST8x4_UB(diff0, diff1, diff_ptr, (2 * diff_stride)); in sub_blk_4x4_msa()
41 v8i16 diff0, diff1; in sub_blk_8x8_msa() local
52 HSUB_UB2_SH(src_l0, src_l1, diff0, diff1); in sub_blk_8x8_msa()
53 ST_SH2(diff0, diff1, diff_ptr, diff_stride); in sub_blk_8x8_msa()
65 v8i16 diff0, diff1; in sub_blk_16x16_msa() local
76 HSUB_UB2_SH(src_l0, src_l1, diff0, diff1); in sub_blk_16x16_msa()
77 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
81 HSUB_UB2_SH(src_l0, src_l1, diff0, diff1); in sub_blk_16x16_msa()
[all …]
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dencodeopt_msa.c20 v4i32 diff0, diff1; in vp8_block_error_msa() local
29 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_block_error_msa()
30 DPADD_SD2_SD(diff0, diff1, err0, err1); in vp8_block_error_msa()
52 v4i32 diff0, diff1; in vp8_mbblock_error_msa() local
85 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa()
87 DOTP_SW2_SD(diff0, diff1, diff0, diff1, err0, err1); in vp8_mbblock_error_msa()
89 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa()
90 DPADD_SD2_SD(diff0, diff1, err0, err1); in vp8_mbblock_error_msa()
97 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa()
99 DOTP_SW2_SD(diff0, diff1, diff0, diff1, err0, err1); in vp8_mbblock_error_msa()
[all …]
Ddenoising_msa.c36 v8i16 diff0, diff1, abs_diff0, abs_diff1, abs_diff_neg0, abs_diff_neg1; in vp8_denoiser_filter_msa() local
83 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa()
85 abs_diff1 = __msa_add_a_h(diff1, zero); in vp8_denoiser_filter_msa()
107 temp1_h = __msa_clei_s_h(diff1, 0); in vp8_denoiser_filter_msa()
116 adjust1 = (v8i16)__msa_bmnz_v((v16u8)adjust1, (v16u8)diff1, in vp8_denoiser_filter_msa()
133 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa()
135 abs_diff1 = __msa_add_a_h(diff1, zero); in vp8_denoiser_filter_msa()
157 temp1_h = __msa_clei_s_h(diff1, 0); in vp8_denoiser_filter_msa()
166 adjust1 = (v8i16)__msa_bmnz_v((v16u8)adjust1, (v16u8)diff1, in vp8_denoiser_filter_msa()
218 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa()
[all …]
Dtemporal_filter_msa.c26 v8i16 diff0, diff1, cnt0, cnt1; in temporal_filter_apply_16size_msa() local
50 HSUB_UB2_SH(frame_l, frame_h, diff0, diff1); in temporal_filter_apply_16size_msa()
52 UNPCK_SH_SW(diff1, diff1_r, diff1_l); in temporal_filter_apply_16size_msa()
88 HSUB_UB2_SH(frame_l, frame_h, diff0, diff1); in temporal_filter_apply_16size_msa()
90 UNPCK_SH_SW(diff1, diff1_r, diff1_l); in temporal_filter_apply_16size_msa()
143 v8i16 diff0, diff1, cnt0, cnt1; in temporal_filter_apply_8size_msa() local
175 HSUB_UB2_SH(frame_l, frame_h, diff0, diff1); in temporal_filter_apply_8size_msa()
177 UNPCK_SH_SW(diff1, diff1_r, diff1_l); in temporal_filter_apply_8size_msa()
215 HSUB_UB2_SH(frame_l, frame_h, diff0, diff1); in temporal_filter_apply_8size_msa()
217 UNPCK_SH_SW(diff1, diff1_r, diff1_l); in temporal_filter_apply_8size_msa()
/external/opencv3/modules/photo/test/
Dtest_inpaint.cpp90 Mat diff1, diff2; in run() local
91 absdiff( orig, res1, diff1 ); in run()
94 double n1 = cvtest::norm(diff1.reshape(1), NORM_INF, inv_mask.reshape(1)); in run()
103 absdiff( exp1, res1, diff1 ); in run()
106 n1 = cvtest::norm(diff1.reshape(1), NORM_INF, mask.reshape(1)); in run()
/external/opencv3/modules/cudastereo/src/cuda/
Dstereobm.cu136 unsigned int diff1, diff2; in StepDown() local
163 diff1 = leftPixel1 - rightPixel1[0]; in StepDown()
165 col_ssd[0 * (BLOCK_W + 2 * RADIUS)] += SQ(diff2) - SQ(diff1); in StepDown()
167 diff1 = leftPixel1 - rightPixel1[1]; in StepDown()
169 col_ssd[1 * (BLOCK_W + 2 * RADIUS)] += SQ(diff2) - SQ(diff1); in StepDown()
171 diff1 = leftPixel1 - rightPixel1[2]; in StepDown()
173 col_ssd[2 * (BLOCK_W + 2 * RADIUS)] += SQ(diff2) - SQ(diff1); in StepDown()
175 diff1 = leftPixel1 - rightPixel1[3]; in StepDown()
177 col_ssd[3 * (BLOCK_W + 2 * RADIUS)] += SQ(diff2) - SQ(diff1); in StepDown()
179 diff1 = leftPixel1 - rightPixel1[4]; in StepDown()
[all …]
/external/opencv3/modules/flann/include/opencv2/flann/
Ddist.h157 ResultType diff0, diff1, diff2, diff3;
164 diff1 = (ResultType)(a[1] - b[1]);
167 result += diff0 * diff0 + diff1 * diff1 + diff2 * diff2 + diff3 * diff3;
219 ResultType diff0, diff1, diff2, diff3;
226 diff1 = (ResultType)abs(a[1] - b[1]);
229 result += diff0 + diff1 + diff2 + diff3;
283 ResultType diff0, diff1, diff2, diff3;
290 diff1 = (ResultType)abs(a[1] - b[1]);
293 result += pow(diff0,order) + pow(diff1,order) + pow(diff2,order) + pow(diff3,order);
339 ResultType diff0, diff1, diff2, diff3;
[all …]
/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()
141 [out32] "=r" (out32), [diff1] "=&r" (diff1), [state7] "+r" (state7) in WebRtcSpl_DownsampleBy2()
/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp220 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
222 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
229 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
309 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
311 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
319 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
411 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
413 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
420 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
500 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp216 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
218 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
225 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
305 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
307 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
315 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
407 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
409 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
416 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
496 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dvariance_sse2.c50 const __m128i diff1 = _mm_sub_epi16(src1, ref1); in get4x4var_sse2() local
53 __m128i vsum = _mm_add_epi16(diff0, diff1); in get4x4var_sse2()
61 _mm_madd_epi16(diff1, diff1)); in get4x4var_sse2()
86 const __m128i diff1 = _mm_sub_epi16(src1, ref1); in vpx_get8x8var_sse2() local
89 vsum = _mm_add_epi16(vsum, diff1); in vpx_get8x8var_sse2()
91 vsse = _mm_add_epi32(vsse, _mm_madd_epi16(diff1, diff1)); in vpx_get8x8var_sse2()
124 const __m128i diff1 = _mm_sub_epi16(src1, ref1); in vpx_get16x16var_sse2() local
127 vsum = _mm_add_epi16(vsum, diff1); in vpx_get16x16var_sse2()
129 vsse = _mm_add_epi32(vsse, _mm_madd_epi16(diff1, diff1)); in vpx_get16x16var_sse2()
/external/icu/icu4c/source/test/cintltst/
Dcstrtest.c325 int32_t diff1, diff2; in TestCompareInvEbcdicAsAscii() local
327 diff1=getSign(uprv_compareInvEbcdicAsAscii(invStrings[i-1][0], invStrings[i][0])); in TestCompareInvEbcdicAsAscii()
328 if(diff1>0 || (diff1==0 && 0!=uprv_strcmp(invStrings[i-1][0], invStrings[i][0]))) { in TestCompareInvEbcdicAsAscii()
330 invStrings[i-1][1], invStrings[i][1], (short)diff1); in TestCompareInvEbcdicAsAscii()
334 if(diff2!=-diff1) { in TestCompareInvEbcdicAsAscii()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp233 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
235 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
242 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
341 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
343 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
351 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
458 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
460 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
467 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
566 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
[all …]
/external/libvpx/libvpx/vp9/encoder/mips/msa/
Dvp9_temporal_filter_msa.c27 v8i16 diff0, diff1, mod0_h, mod1_h; in temporal_filter_apply_8size_msa() local
54 HSUB_UB2_SH(frm_r, frm_l, diff0, diff1); in temporal_filter_apply_8size_msa()
56 UNPCK_SH_SW(diff1, diff1_r, diff1_l); in temporal_filter_apply_8size_msa()
101 HSUB_UB2_SH(frm_r, frm_l, diff0, diff1); in temporal_filter_apply_8size_msa()
103 UNPCK_SH_SW(diff1, diff1_r, diff1_l); in temporal_filter_apply_8size_msa()
156 v8i16 diff0, diff1, mod0_h, mod1_h; in temporal_filter_apply_16size_msa() local
181 HSUB_UB2_SH(frm_r, frm_l, diff0, diff1); in temporal_filter_apply_16size_msa()
183 UNPCK_SH_SW(diff1, diff1_r, diff1_l); in temporal_filter_apply_16size_msa()
228 HSUB_UB2_SH(frm_r, frm_l, diff0, diff1); in temporal_filter_apply_16size_msa()
230 UNPCK_SH_SW(diff1, diff1_r, diff1_l); in temporal_filter_apply_16size_msa()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapsTest.java322 MapDifference<Integer, String> diff1 = Maps.difference(left, right); in testMapDifferenceTypical() local
323 assertFalse(diff1.areEqual()); in testMapDifferenceTypical()
324 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff1.entriesOnlyOnLeft()); in testMapDifferenceTypical()
325 assertEquals(ImmutableMap.of(6, "z"), diff1.entriesOnlyOnRight()); in testMapDifferenceTypical()
326 assertEquals(ImmutableMap.of(1, "a"), diff1.entriesInCommon()); in testMapDifferenceTypical()
330 diff1.entriesDiffering()); in testMapDifferenceTypical()
332 + "value differences={3=(c, f), 5=(e, g)}", diff1.toString()); in testMapDifferenceTypical()
381 MapDifference<Integer, String> diff1 = Maps.difference(left, right, in testMapDifferencePredicateTypical() local
383 assertFalse(diff1.areEqual()); in testMapDifferencePredicateTypical()
384 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff1.entriesOnlyOnLeft()); in testMapDifferencePredicateTypical()
[all …]
/external/llvm/test/Assembler/
D2010-02-05-FunctionLocalMetadataBecomesNull.ll14 %diff1 = alloca i64 ; <i64*> [#uses=2]
16 …call void @llvm.dbg.declare(metadata i64* %diff1, metadata !0, metadata !DIExpression()), !dbg !DI…
17 store i64 72, i64* %diff1, align 8
21 store i64 %v3, i64* %diff1, align 8
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.cpp180 UCHAR *diff1 = diff_tot+MAX_OCTAVE; in getStopBand() local
201 cumSum(stopMin, diff0, 13, diff1); in getStopBand()
202 k2 = diff1[stopFreq]; in getStopBand()
270 UCHAR *diff1 = diff_tot+MAX_OCTAVE; in sbrdecUpdateFreqScale() local
327 CalcBands(diff1, k1, k2, num_bands1); in sbrdecUpdateFreqScale()
328 shellsort( diff1, num_bands1); in sbrdecUpdateFreqScale()
329 if(diff0[num_bands0-1] > diff1[0]) { in sbrdecUpdateFreqScale()
332 err = modifyBands(diff0[num_bands0-1],diff1, num_bands1); in sbrdecUpdateFreqScale()
338 cumSum(k1, diff1, num_bands1, &v_k_master[num_bands0]); in sbrdecUpdateFreqScale()
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTest.java388 MapDifference<Integer, String> diff1 = Maps.difference(left, right); in testMapDifferenceTypical() local
389 assertFalse(diff1.areEqual()); in testMapDifferenceTypical()
390 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff1.entriesOnlyOnLeft()); in testMapDifferenceTypical()
391 assertEquals(ImmutableMap.of(6, "z"), diff1.entriesOnlyOnRight()); in testMapDifferenceTypical()
392 assertEquals(ImmutableMap.of(1, "a"), diff1.entriesInCommon()); in testMapDifferenceTypical()
396 diff1.entriesDiffering()); in testMapDifferenceTypical()
398 + "value differences={3=(c, f), 5=(e, g)}", diff1.toString()); in testMapDifferenceTypical()
447 MapDifference<Integer, String> diff1 = Maps.difference(left, right, in testMapDifferencePredicateTypical() local
449 assertFalse(diff1.areEqual()); in testMapDifferencePredicateTypical()
450 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff1.entriesOnlyOnLeft()); in testMapDifferencePredicateTypical()
[all …]
/external/aac/libSBRenc/src/
Dsbrenc_freq_sca.cpp429 INT *diff1 = diff_tot+MAX_OCTAVE; in FDKsbrEnc_UpdateFreqScale() local
466 CalcBands(diff1, k1, k2, num_bands1); /* CalcBands2 => diff1 */ in FDKsbrEnc_UpdateFreqScale()
467 FDKsbrEnc_Shellsort_int( diff1, num_bands1); /* SortBands sort diff1 */ in FDKsbrEnc_UpdateFreqScale()
468 if(diff0[num_bands0-1] > diff1[0]) /* max(1) > min(2) */ in FDKsbrEnc_UpdateFreqScale()
470 if(modifyBands(diff0[num_bands0-1],diff1, num_bands1)) in FDKsbrEnc_UpdateFreqScale()
475 cumSum(k1, diff1, num_bands1, &v_k_master[num_bands0]); in FDKsbrEnc_UpdateFreqScale()
/external/llvm/test/MC/Mips/
Dmips64eb-fixups.s9 $diff1 = ($loc2)-($loc0)
10 .4byte ($diff1)
/external/autotest/client/cros/cellular/wardmodem/
Dtask_loop_unittest.py123 diff1 = round(self.times[1] - self.times[0], 3)
126 self.assertTrue(diff1 != diff2 or diff2 != diff3 or diff3 != diff1)
/external/webp/src/utils/
Dfilters.c41 const int diff1 = SDIFF(p[i], p[i - 1]); in WebPEstimateBestFilter() local
47 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; in WebPEstimateBestFilter()
/external/webrtc/webrtc/modules/video_processing/util/
Ddenoiser_filter_sse2.cc38 const __m128i diff1 = _mm_sub_epi16(src1, ref1); in Get8x8varSse2() local
41 vsum = _mm_add_epi16(vsum, diff1); in Get8x8varSse2()
43 vsse = _mm_add_epi32(vsse, _mm_madd_epi16(diff1, diff1)); in Get8x8varSse2()
/external/libavc/common/x86/
Dih264_deblk_chroma_ssse3.c447 __m128i diff, diff1, alpha_cbcr_16x8, beta_cbcr_16x8, in_macro; in ih264_deblk_chroma_vert_bslt4_ssse3() local
510 diff1 = _mm_subs_epi16(p1_uv_8x16, q1_uv_8x16); in ih264_deblk_chroma_vert_bslt4_ssse3()
511 diff = _mm_add_epi16(diff, diff1); in ih264_deblk_chroma_vert_bslt4_ssse3()
550 diff1 = _mm_subs_epi16(p1_uv_8x16, q1_uv_8x16); in ih264_deblk_chroma_vert_bslt4_ssse3()
551 diff = _mm_add_epi16(diff, diff1); in ih264_deblk_chroma_vert_bslt4_ssse3()
668 __m128i diff, diff1, alpha_cbcr_16x8, beta_cbcr_16x8, in_macro; in ih264_deblk_chroma_horz_bslt4_ssse3() local
716 diff1 = _mm_subs_epi16(p1_uv_8x16, q1_uv_8x16); in ih264_deblk_chroma_horz_bslt4_ssse3()
717 diff = _mm_add_epi16(diff, diff1); in ih264_deblk_chroma_horz_bslt4_ssse3()
756 diff1 = _mm_subs_epi16(p1_uv_8x16, q1_uv_8x16); in ih264_deblk_chroma_horz_bslt4_ssse3()
757 diff = _mm_add_epi16(diff, diff1); in ih264_deblk_chroma_horz_bslt4_ssse3()
[all …]
/external/opencv3/3rdparty/libwebp/utils/
Dfilters.c176 const int diff1 = SDIFF(p[i], p[i - 1]); in EstimateBestFilter() local
182 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; in EstimateBestFilter()

12