Home
last modified time | relevance | path

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

/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 …]
Dsub_pixel_variance_msa.c543 int32_t diff0[2]; in sub_pixel_sse_diff_32width_h_msa() local
547 filter, height, &diff0[loop_cnt]); in sub_pixel_sse_diff_32width_h_msa()
552 *diff = diff0[0] + diff0[1]; in sub_pixel_sse_diff_32width_h_msa()
565 int32_t diff0[4]; in sub_pixel_sse_diff_64width_h_msa() local
569 filter, height, &diff0[loop_cnt]); in sub_pixel_sse_diff_64width_h_msa()
574 *diff = diff0[0] + diff0[1] + diff0[2] + diff0[3]; in sub_pixel_sse_diff_64width_h_msa()
745 int32_t diff0[2]; in sub_pixel_sse_diff_32width_v_msa() local
749 filter, height, &diff0[loop_cnt]); in sub_pixel_sse_diff_32width_v_msa()
754 *diff = diff0[0] + diff0[1]; in sub_pixel_sse_diff_32width_v_msa()
767 int32_t diff0[4]; in sub_pixel_sse_diff_64width_v_msa() local
[all …]
Dvariance_msa.c497 v8i16 diff0, diff1; in vpx_get4x4sse_cs_msa() local
506 HSUB_UB2_SH(src_vec0, src_vec1, diff0, diff1); in vpx_get4x4sse_cs_msa()
507 DPADD_SH2_SW(diff0, diff1, diff0, diff1, err0, err1); in vpx_get4x4sse_cs_msa()
Dsad_msa.c1107 v16u8 diff0, diff1, pred0, pred1; in avgsad_8width_msa() local
1119 AVER_UB2_UB(pred0, ref0, pred1, ref1, diff0, diff1); in avgsad_8width_msa()
1120 sad += SAD_UB2_UH(src0, src1, diff0, diff1); in avgsad_8width_msa()
/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()
86 diff0 = (v4i32)__msa_bmnz_v(zero, (v16u8)diff0, mask0); 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()
[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()
84 abs_diff0 = __msa_add_a_h(diff0, zero); in vp8_denoiser_filter_msa()
104 temp0_h = __msa_clei_s_h(diff0, 0); in vp8_denoiser_filter_msa()
114 adjust0 = (v8i16)__msa_bmnz_v((v16u8)adjust0, (v16u8)diff0, in vp8_denoiser_filter_msa()
133 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa()
134 abs_diff0 = __msa_add_a_h(diff0, zero); in vp8_denoiser_filter_msa()
154 temp0_h = __msa_clei_s_h(diff0, 0); in vp8_denoiser_filter_msa()
164 adjust0 = (v8i16)__msa_bmnz_v((v16u8)adjust0, (v16u8)diff0, 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()
51 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_16size_msa()
88 HSUB_UB2_SH(frame_l, frame_h, diff0, diff1); in temporal_filter_apply_16size_msa()
89 UNPCK_SH_SW(diff0, diff0_r, diff0_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()
176 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_8size_msa()
215 HSUB_UB2_SH(frame_l, frame_h, diff0, diff1); in temporal_filter_apply_8size_msa()
216 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_8size_msa()
/external/opencv3/modules/flann/include/opencv2/flann/
Ddist.h157 ResultType diff0, diff1, diff2, diff3;
163 diff0 = (ResultType)(a[0] - b[0]);
167 result += diff0 * diff0 + diff1 * diff1 + diff2 * diff2 + diff3 * diff3;
177 diff0 = (ResultType)(*a++ - *b++);
178 result += diff0 * diff0;
219 ResultType diff0, diff1, diff2, diff3;
225 diff0 = (ResultType)abs(a[0] - b[0]);
229 result += diff0 + diff1 + diff2 + diff3;
239 diff0 = (ResultType)abs(*a++ - *b++);
240 result += diff0;
[all …]
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.cpp179 UCHAR *diff0 = diff_tot; in getStopBand() local
199 CalcBands( diff0, stopMin, 64, 13); in getStopBand()
200 shellsort( diff0, 13); in getStopBand()
201 cumSum(stopMin, diff0, 13, diff1); in getStopBand()
269 UCHAR *diff0 = diff_tot; in sbrdecUpdateFreqScale() local
317 CalcBands(diff0, k0, k1, num_bands0); in sbrdecUpdateFreqScale()
318 shellsort( diff0, num_bands0); in sbrdecUpdateFreqScale()
319 if (diff0[0] == 0) { in sbrdecUpdateFreqScale()
325 cumSum(k0, diff0, num_bands0, v_k_master); in sbrdecUpdateFreqScale()
329 if(diff0[num_bands0-1] > diff1[0]) { in sbrdecUpdateFreqScale()
[all …]
/external/aac/libSBRenc/src/
Dsbrenc_freq_sca.cpp428 INT *diff0 = diff_tot; in FDKsbrEnc_UpdateFreqScale() local
455 CalcBands(diff0, k0, k1, num_bands0);/*CalcBands1 => diff0 */ in FDKsbrEnc_UpdateFreqScale()
456 FDKsbrEnc_Shellsort_int( diff0, num_bands0);/*SortBands sort diff0 */ in FDKsbrEnc_UpdateFreqScale()
458 if (diff0[0] == 0) /* too wide FB bands for target tuning */ in FDKsbrEnc_UpdateFreqScale()
464 cumSum(k0, diff0, num_bands0, v_k_master); /* cumsum */ 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()
484 CalcBands(diff0, k0, k1, num_bands0);/* CalcBands1 => diff0 */ in FDKsbrEnc_UpdateFreqScale()
485 FDKsbrEnc_Shellsort_int( diff0, num_bands0); /* SortBands sort diff0 */ in FDKsbrEnc_UpdateFreqScale()
487 if (diff0[0] == 0) /* too wide FB bands for target tuning */ in FDKsbrEnc_UpdateFreqScale()
[all …]
/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp219 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local
222 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
229 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
308 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local
311 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
319 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
410 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local
413 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
420 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
499 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp215 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local
218 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
225 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
304 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local
307 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
315 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
406 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local
409 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
416 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
495 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dvariance_sse2.c49 const __m128i diff0 = _mm_sub_epi16(src0, ref0); in get4x4var_sse2() local
53 __m128i vsum = _mm_add_epi16(diff0, diff1); in get4x4var_sse2()
60 vsum = _mm_add_epi32(_mm_madd_epi16(diff0, diff0), in get4x4var_sse2()
80 const __m128i diff0 = _mm_sub_epi16(src0, ref0); in vpx_get8x8var_sse2() local
88 vsum = _mm_add_epi16(vsum, diff0); in vpx_get8x8var_sse2()
90 vsse = _mm_add_epi32(vsse, _mm_madd_epi16(diff0, diff0)); in vpx_get8x8var_sse2()
120 const __m128i diff0 = _mm_sub_epi16(src0, ref0); in vpx_get16x16var_sse2() local
126 vsum = _mm_add_epi16(vsum, diff0); in vpx_get16x16var_sse2()
128 vsse = _mm_add_epi32(vsse, _mm_madd_epi16(diff0, diff0)); in vpx_get16x16var_sse2()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp232 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local
235 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
242 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
340 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local
343 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
351 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
457 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local
460 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
467 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
565 const deUint32 diff0 = getUlpDiff(ref0, res0); 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()
55 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_8size_msa()
101 HSUB_UB2_SH(frm_r, frm_l, diff0, diff1); in temporal_filter_apply_8size_msa()
102 UNPCK_SH_SW(diff0, diff0_r, diff0_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()
182 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_16size_msa()
228 HSUB_UB2_SH(frm_r, frm_l, diff0, diff1); in temporal_filter_apply_16size_msa()
229 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_16size_msa()
/external/llvm/test/MC/Mips/
Dmips64eb-fixups.s5 $diff0 = ($loc1)-($loc0)
6 .2byte ($diff0)
/external/webp/src/utils/
Dfilters.c40 const int diff0 = SDIFF(p[i], mean); in WebPEstimateBestFilter() local
46 bins[WEBP_FILTER_NONE][diff0] = 1; in WebPEstimateBestFilter()
/external/webrtc/webrtc/modules/video_processing/util/
Ddenoiser_filter_sse2.cc32 const __m128i diff0 = _mm_sub_epi16(src0, ref0); in Get8x8varSse2() local
40 vsum = _mm_add_epi16(vsum, diff0); in Get8x8varSse2()
42 vsse = _mm_add_epi32(vsse, _mm_madd_epi16(diff0, diff0)); in Get8x8varSse2()
/external/opencv3/3rdparty/libwebp/utils/
Dfilters.c175 const int diff0 = SDIFF(p[i], mean); in EstimateBestFilter() local
181 bins[WEBP_FILTER_NONE][diff0] = 1; in EstimateBestFilter()
/external/opencv3/modules/video/src/
Dlkpyramid.cpp553 __m128i diff0 = _mm_loadu_si128((const __m128i*)(Iptr + x)), diff1; in operator ()() local
565 diff0 = _mm_subs_epi16(_mm_packs_epi32(t0, t1), diff0); in operator ()()
566 diff1 = _mm_unpackhi_epi16(diff0, diff0); in operator ()()
567 diff0 = _mm_unpacklo_epi16(diff0, diff0); // It0 It0 It1 It1 ... in operator ()()
570 v10 = _mm_mullo_epi16(v00, diff0); in operator ()()
571 v11 = _mm_mulhi_epi16(v00, diff0); in operator ()()
/external/opencv3/3rdparty/libwebp/dsp/
Denc_sse2.c367 const __m128i diff0 = _mm_sub_epi16(src_0, ref_0); in FTransformSSE2() local
378 const __m128i shuf01 = _mm_unpacklo_epi32(diff0, diff1); in FTransformSSE2()
523 const __m128i diff0 = _mm_or_si128(a0p, a0m); in SSE_Nx4SSE2() local
529 const __m128i low0 = _mm_unpacklo_epi8(diff0, zero); in SSE_Nx4SSE2()
547 const __m128i hi0 = _mm_unpackhi_epi8(diff0, zero); in SSE_Nx4SSE2()
/external/dng_sdk/source/
Ddng_lossless_jpeg.cpp3008 int16 diff0 = (int16) (pixel0 - pred0); in FreqCountSet() local
3011 CountOneDiff (diff0, freqCount [0]); in FreqCountSet()
3114 int16 diff0 = (int16) (pixel0 - pred0); in HuffEncode() local
3117 EncodeOneDiff (diff0, &huffTable [0]); in HuffEncode()
/external/opencv3/modules/imgproc/src/
Dgeometry.cpp536 Point2f diff0 = dst[0] - dst[len-1]; in intersectConvexConvex() local
539 double s = diff0.cross(dst[i] - dst[i-1]); in intersectConvexConvex()
/external/webp/src/dsp/
Denc_sse2.c396 const __m128i diff0 = _mm_sub_epi16(src_0, ref_0); in FTransform() local
406 const __m128i shuf01 = _mm_unpacklo_epi32(diff0, diff1); in FTransform()
439 const __m128i diff0 = _mm_sub_epi16(src_0, ref_0); in FTransform2() local
449 const __m128i shuf01l = _mm_unpacklo_epi32(diff0, diff1); in FTransform2()
451 const __m128i shuf01h = _mm_unpackhi_epi32(diff0, diff1); in FTransform2()