Home
last modified time | relevance | path

Searched refs:diff0 (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 …]
Dsub_pixel_variance_msa.c514 int32_t diff0[2]; in sub_pixel_sse_diff_32width_h_msa() local
518 filter, height, &diff0[loop_cnt]); in sub_pixel_sse_diff_32width_h_msa()
523 *diff = diff0[0] + diff0[1]; in sub_pixel_sse_diff_32width_h_msa()
532 int32_t diff0[4]; in sub_pixel_sse_diff_64width_h_msa() local
536 filter, height, &diff0[loop_cnt]); in sub_pixel_sse_diff_64width_h_msa()
541 *diff = diff0[0] + diff0[1] + diff0[2] + diff0[3]; in sub_pixel_sse_diff_64width_h_msa()
696 int32_t diff0[2]; in sub_pixel_sse_diff_32width_v_msa() local
700 filter, height, &diff0[loop_cnt]); in sub_pixel_sse_diff_32width_v_msa()
705 *diff = diff0[0] + diff0[1]; in sub_pixel_sse_diff_32width_v_msa()
714 int32_t diff0[4]; in sub_pixel_sse_diff_64width_v_msa() local
[all …]
Dsum_squares_msa.c23 v8i16 diff0 = { 0 }; in vpx_sum_squares_2d_i16_msa() local
27 INSERT_D2_SH(src0, src1, diff0); in vpx_sum_squares_2d_i16_msa()
29 DOTP_SH2_SW(diff0, diff1, diff0, diff1, mul0, mul1); in vpx_sum_squares_2d_i16_msa()
/external/libaom/libaom/aom_dsp/mips/
Dsubtract_msa.c24 v8i16 diff0, diff1; in sub_blk_4x4_msa() local
31 HSUB_UB2_SH(src_l0, src_l1, diff0, diff1); in sub_blk_4x4_msa()
32 ST8x4_UB(diff0, diff1, diff_ptr, (2 * diff_stride)); in sub_blk_4x4_msa()
43 v8i16 diff0, diff1; in sub_blk_8x8_msa() local
54 HSUB_UB2_SH(src_l0, src_l1, diff0, diff1); in sub_blk_8x8_msa()
55 ST_SH2(diff0, diff1, diff_ptr, diff_stride); in sub_blk_8x8_msa()
67 v8i16 diff0, diff1; in sub_blk_16x16_msa() local
78 HSUB_UB2_SH(src_l0, src_l1, diff0, diff1); in sub_blk_16x16_msa()
79 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
83 HSUB_UB2_SH(src_l0, src_l1, diff0, diff1); in sub_blk_16x16_msa()
[all …]
Dsub_pixel_variance_msa.c512 int32_t diff0[2]; in sub_pixel_sse_diff_32width_h_msa() local
516 filter, height, &diff0[loop_cnt]); in sub_pixel_sse_diff_32width_h_msa()
521 *diff = diff0[0] + diff0[1]; in sub_pixel_sse_diff_32width_h_msa()
530 int32_t diff0[4]; in sub_pixel_sse_diff_64width_h_msa() local
534 filter, height, &diff0[loop_cnt]); in sub_pixel_sse_diff_64width_h_msa()
539 *diff = diff0[0] + diff0[1] + diff0[2] + diff0[3]; in sub_pixel_sse_diff_64width_h_msa()
694 int32_t diff0[2]; in sub_pixel_sse_diff_32width_v_msa() local
698 filter, height, &diff0[loop_cnt]); in sub_pixel_sse_diff_32width_v_msa()
703 *diff = diff0[0] + diff0[1]; in sub_pixel_sse_diff_32width_v_msa()
712 int32_t diff0[4]; in sub_pixel_sse_diff_64width_v_msa() local
[all …]
Dvariance_msa.c500 v8i16 diff0, diff1; in aom_get4x4sse_cs_msa() local
509 HSUB_UB2_SH(src_vec0, src_vec1, diff0, diff1); in aom_get4x4sse_cs_msa()
510 DPADD_SH2_SW(diff0, diff1, diff0, diff1, err0, err1); in aom_get4x4sse_cs_msa()
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dencodeopt_msa.c19 v4i32 diff0, diff1; in vp8_block_error_msa() local
27 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_block_error_msa()
28 DPADD_SD2_SD(diff0, diff1, err0, err1); in vp8_block_error_msa()
49 v4i32 diff0, diff1; in vp8_mbblock_error_msa() local
80 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa()
81 diff0 = (v4i32)__msa_bmnz_v(zero, (v16u8)diff0, mask0); in vp8_mbblock_error_msa()
82 DOTP_SW2_SD(diff0, diff1, diff0, diff1, err0, err1); in vp8_mbblock_error_msa()
84 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa()
85 DPADD_SD2_SD(diff0, diff1, err0, err1); in vp8_mbblock_error_msa()
92 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa()
[all …]
Ddenoising_msa.c34 v8i16 diff0, diff1, abs_diff0, abs_diff1, abs_diff_neg0, abs_diff_neg1; in vp8_denoiser_filter_msa() local
78 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa()
79 abs_diff0 = __msa_add_a_h(diff0, zero); in vp8_denoiser_filter_msa()
99 temp0_h = __msa_clei_s_h(diff0, 0); in vp8_denoiser_filter_msa()
109 adjust0 = (v8i16)__msa_bmnz_v((v16u8)adjust0, (v16u8)diff0, (v16u8)temp2_h); in vp8_denoiser_filter_msa()
126 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa()
127 abs_diff0 = __msa_add_a_h(diff0, zero); in vp8_denoiser_filter_msa()
147 temp0_h = __msa_clei_s_h(diff0, 0); in vp8_denoiser_filter_msa()
157 adjust0 = (v8i16)__msa_bmnz_v((v16u8)adjust0, (v16u8)diff0, (v16u8)temp2_h); in vp8_denoiser_filter_msa()
205 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa()
[all …]
Dtemporal_filter_msa.c22 v8i16 diff0, diff1, cnt0, cnt1; in temporal_filter_apply_16size_msa() local
45 HSUB_UB2_SH(frame_l, frame_h, diff0, diff1); in temporal_filter_apply_16size_msa()
46 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_16size_msa()
83 HSUB_UB2_SH(frame_l, frame_h, diff0, diff1); in temporal_filter_apply_16size_msa()
84 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_16size_msa()
134 v8i16 diff0, diff1, cnt0, cnt1; in temporal_filter_apply_8size_msa() local
165 HSUB_UB2_SH(frame_l, frame_h, diff0, diff1); in temporal_filter_apply_8size_msa()
166 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_8size_msa()
205 HSUB_UB2_SH(frame_l, frame_h, diff0, diff1); in temporal_filter_apply_8size_msa()
206 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_8size_msa()
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.cpp216 UCHAR *diff0 = diff_tot; in getStopBand() local
238 CalcBands(diff0, stopMin, 64, 13); in getStopBand()
239 shellsort(diff0, 13); in getStopBand()
240 cumSum(stopMin, diff0, 13, diff1); in getStopBand()
312 UCHAR *diff0 = diff_tot; in sbrdecUpdateFreqScale() local
371 CalcBands(diff0, k0, k1, num_bands0); in sbrdecUpdateFreqScale()
372 shellsort(diff0, num_bands0); in sbrdecUpdateFreqScale()
373 if (diff0[0] == 0) { in sbrdecUpdateFreqScale()
377 cumSum(k0, diff0, num_bands0, v_k_master); in sbrdecUpdateFreqScale()
381 if (diff0[num_bands0 - 1] > diff1[0]) { in sbrdecUpdateFreqScale()
[all …]
/external/aac/libSBRenc/src/
Dsbrenc_freq_sca.cpp436 INT *diff0 = diff_tot; in FDKsbrEnc_UpdateFreqScale() local
462 CalcBands(diff0, k0, k1, num_bands0); /*CalcBands1 => diff0 */ in FDKsbrEnc_UpdateFreqScale()
463 FDKsbrEnc_Shellsort_int(diff0, num_bands0); /*SortBands sort diff0 */ in FDKsbrEnc_UpdateFreqScale()
465 if (diff0[0] == 0) /* too wide FB bands for target tuning */ in FDKsbrEnc_UpdateFreqScale()
472 cumSum(k0, diff0, num_bands0, v_k_master); /* cumsum */ in FDKsbrEnc_UpdateFreqScale()
476 if (diff0[num_bands0 - 1] > diff1[0]) /* max(1) > min(2) */ in FDKsbrEnc_UpdateFreqScale()
478 if (modifyBands(diff0[num_bands0 - 1], diff1, num_bands1)) return (1); in FDKsbrEnc_UpdateFreqScale()
490 CalcBands(diff0, k0, k1, num_bands0); /* CalcBands1 => diff0 */ in FDKsbrEnc_UpdateFreqScale()
491 FDKsbrEnc_Shellsort_int(diff0, num_bands0); /* SortBands sort diff0 */ in FDKsbrEnc_UpdateFreqScale()
493 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/libaom/libaom/av1/encoder/mips/msa/
Dtemporal_filter_msa.c26 v8i16 diff0, diff1, mod0_h, mod1_h; in temporal_filter_apply_8size_msa() local
53 HSUB_UB2_SH(frm_r, frm_l, diff0, diff1); in temporal_filter_apply_8size_msa()
54 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_8size_msa()
100 HSUB_UB2_SH(frm_r, frm_l, diff0, diff1); in temporal_filter_apply_8size_msa()
101 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_8size_msa()
152 v8i16 diff0, diff1, mod0_h, mod1_h; in temporal_filter_apply_16size_msa() local
177 HSUB_UB2_SH(frm_r, frm_l, diff0, diff1); in temporal_filter_apply_16size_msa()
178 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_16size_msa()
224 HSUB_UB2_SH(frm_r, frm_l, diff0, diff1); in temporal_filter_apply_16size_msa()
225 UNPCK_SH_SW(diff0, diff0_r, diff0_l); in temporal_filter_apply_16size_msa()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp220 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local
223 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
230 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
327 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local
330 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
338 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
443 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local
446 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
453 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
550 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local
[all …]
/external/llvm/test/MC/Mips/
Dmips64eb-fixups.s5 $diff0 = ($loc1)-($loc0)
6 .2byte ($diff0)
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/
Dmips64eb-fixups.s5 $diff0 = ($loc1)-($loc0)
6 .2byte ($diff0)
/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/webp/src/utils/
Dfilters_utils.c40 const int diff0 = SDIFF(p[i], mean); in WebPEstimateBestFilter() local
46 bins[WEBP_FILTER_NONE][diff0] = 1; in WebPEstimateBestFilter()
/external/libvpx/libvpx/vpx_dsp/arm/
Dfdct16x16_neon.c160 const int32x4_t diff0 = vmlsl_n_s16(a0, vget_low_s16(b), c); in butterfly_one_coeff() local
164 const int16x4_t rounded2 = vqrshrn_n_s32(diff0, 14); in butterfly_one_coeff()
181 const int32x4_t diff0 = vmlsl_n_s16(a0, vget_low_s16(b), c1); in butterfly_two_coeff() local
185 const int16x4_t rounded2 = vqrshrn_n_s32(diff0, 14); in butterfly_two_coeff()
Dfdct32x32_neon.c205 const int32x4_t diff0 = vmlsl_n_s16(a0, vget_low_s16(b), constant); in butterfly_one_coeff() local
209 const int16x4_t rounded2 = vqrshrn_n_s32(diff0, DCT_CONST_BITS); in butterfly_one_coeff()
226 const int32x4_t diff0 = vmlsl_n_s16(a0, vget_low_s16(b), constant1); in butterfly_two_coeff() local
230 const int16x4_t rounded2 = vqrshrn_n_s32(diff0, DCT_CONST_BITS); in butterfly_two_coeff()
574 const int32x4_t diff0 = vmlsl_n_s16(a0, vget_low_s16(b), constant); in butterfly_one_coeff_s16_s32() local
578 *sub_lo = vrshrq_n_s32(diff0, DCT_CONST_BITS); in butterfly_one_coeff_s16_s32()
599 const int32x4_t diff0 = vmlsq_n_s32(a_lo_0, b_lo, constant); in butterfly_one_coeff_s32() local
603 *sub_lo = vrshrq_n_s32(diff0, DCT_CONST_BITS); in butterfly_one_coeff_s32()
628 const int32x4_t diff0 = vmlsq_n_s32(a0, b_lo, constant1); in butterfly_two_coeff_s32() local
632 *sub_lo = vrshrq_n_s32(diff0, DCT_CONST_BITS); in butterfly_two_coeff_s32()
/external/libaom/libaom/aom_dsp/x86/
Dvariance_avx2.c38 const __m256i diff0 = _mm256_maddubs_epi16(src_ref0, adj_sub); in variance_kernel_avx2() local
40 const __m256i madd0 = _mm256_madd_epi16(diff0, diff0); in variance_kernel_avx2()
44 *sum = _mm256_add_epi16(*sum, _mm256_add_epi16(diff0, diff1)); in variance_kernel_avx2()
/external/honggfuzz/
Dfuzz.c205 int64_t diff0 = run->global->linux.hwCnts.cpuInstrCnt - run->linux.hwCnts.cpuInstrCnt; in fuzz_perfFeedback() local
210 diff0 < 0 || diff1 < 0) { in fuzz_perfFeedback()
211 if (diff0 < 0) { in fuzz_perfFeedback()
/external/libaom/libaom/av1/encoder/x86/
Dpickrst_sse4.c601 const __m128i diff0 = _mm_sub_epi16(d0, s0); in av1_lowbd_pixel_proj_error_sse4_1() local
603 const __m128i err0 = _mm_madd_epi16(diff0, diff0); in av1_lowbd_pixel_proj_error_sse4_1()
798 const __m128i diff0 = _mm_sub_epi16(d0, s0); in av1_highbd_pixel_proj_error_sse4_1() local
802 const __m128i err0 = _mm_madd_epi16(diff0, diff0); in av1_highbd_pixel_proj_error_sse4_1()
/external/libvpx/libvpx/vpx_dsp/x86/
Dvariance_avx2.c51 const __m256i diff0 = _mm256_maddubs_epi16(src_ref0, adj_sub); in variance_kernel_avx2() local
53 const __m256i madd0 = _mm256_madd_epi16(diff0, diff0); in variance_kernel_avx2()
57 *sum = _mm256_add_epi16(*sum, _mm256_add_epi16(diff0, diff1)); in variance_kernel_avx2()

12