Home
last modified time | relevance | path

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

123

/third_party/ffmpeg/libavcodec/mips/
Dh263dsp_msa.c34 v8i16 diff0, diff2, diff4, diff6, diff8; in h263_h_loop_filter_msa() local
48 diff2 = -(-diff0 >> 3); in h263_h_loop_filter_msa()
50 temp0 = (str_x2 <= diff2); in h263_h_loop_filter_msa()
51 diff2 = (v8i16) __msa_bmz_v((v16u8) diff2, (v16u8) temp0, (v16u8) temp0); in h263_h_loop_filter_msa()
52 temp2 = str_x2 - diff2; in h263_h_loop_filter_msa()
54 temp0 = (diff2 < str); in h263_h_loop_filter_msa()
55 diff2 = (v8i16) __msa_bmnz_v((v16u8) diff2, (v16u8) temp2, (v16u8) temp0); in h263_h_loop_filter_msa()
65 d0 = (v8i16) __msa_bmnz_v((v16u8) diff4, (v16u8) diff2, (v16u8) temp0); in h263_h_loop_filter_msa()
66 diff2 = -diff2 >> 1; in h263_h_loop_filter_msa()
68 diff8 = (v8i16) __msa_bmnz_v((v16u8) diff4, (v16u8) diff2, (v16u8) temp0); in h263_h_loop_filter_msa()
[all …]
Dme_cmp_msa.c506 v8u16 diff0, diff1, diff2, diff3, diff4, diff5, diff6, diff7; in hadamard_diff_8x8_msa() local
515 diff0, diff1, diff2, diff3, diff4, diff5, diff6, diff7); in hadamard_diff_8x8_msa()
516 HSUB_UB4_UH(diff0, diff1, diff2, diff3, diff0, diff1, diff2, diff3); in hadamard_diff_8x8_msa()
518 TRANSPOSE8x8_UH_UH(diff0, diff1, diff2, diff3, diff4, diff5, diff6, diff7, in hadamard_diff_8x8_msa()
519 diff0, diff1, diff2, diff3, diff4, diff5, diff6, diff7); in hadamard_diff_8x8_msa()
520 BUTTERFLY_8(diff0, diff2, diff4, diff6, diff7, diff5, diff3, diff1, in hadamard_diff_8x8_msa()
523 diff0, diff1, diff4, diff5, diff7, diff6, diff3, diff2); in hadamard_diff_8x8_msa()
524 BUTTERFLY_8(diff0, diff1, diff2, diff3, diff7, diff6, diff5, diff4, in hadamard_diff_8x8_msa()
529 diff0, diff2, diff4, diff6, diff7, diff5, diff3, diff1); in hadamard_diff_8x8_msa()
530 BUTTERFLY_8(diff0, diff1, diff4, diff5, diff7, diff6, diff3, diff2, in hadamard_diff_8x8_msa()
[all …]
Dhevcpred_msa.c942 v8i16 diff0, diff1, diff2, diff3, diff4, diff5, diff6, diff7; in hevc_intra_pred_angular_upper_4width_msa() local
1000 diff0, diff2, diff4, diff6); in hevc_intra_pred_angular_upper_4width_msa()
1001 SLDI_B4_SH(zero, diff0, zero, diff2, zero, diff4, zero, diff6, 2, in hevc_intra_pred_angular_upper_4width_msa()
1003 ILVR_D2_SH(diff2, diff0, diff6, diff4, diff0, diff2); in hevc_intra_pred_angular_upper_4width_msa()
1008 diff3 += diff2 * fact3; in hevc_intra_pred_angular_upper_4width_msa()
1035 v8i16 diff0, diff1, diff2, diff3, diff4, diff5, diff6, diff7; in hevc_intra_pred_angular_upper_8width_msa() local
1093 UNPCK_UB_SH(top1, diff2, diff3); in hevc_intra_pred_angular_upper_8width_msa()
1097 SLDI_B4_SH(diff1, diff0, diff3, diff2, diff5, diff4, diff7, diff6, 2, in hevc_intra_pred_angular_upper_8width_msa()
1103 diff3 += diff2 * fact3; in hevc_intra_pred_angular_upper_8width_msa()
1134 v8i16 diff0, diff1, diff2, diff3, diff4, diff5, diff6, diff7; in hevc_intra_pred_angular_upper_16width_msa() local
[all …]
/third_party/mindspore/tests/st/ops/gpu/
Dtest_assign_op.py50 diff2 = assign.var.data.asnumpy() - value
53 assert np.all(diff2 < error)
54 assert np.all(-diff2 < error)
68 diff2 = assign.var.data.asnumpy() - value
71 assert np.all(diff2 < error)
72 assert np.all(-diff2 < error)
Dtest_smoothl1loss_op.py101 diff2 = np.absolute(dx[1].asnumpy() - np.array(dx2_expect))
103 assert(diff2 < epsilon).all()
117 diff2 = np.absolute(dx[1].asnumpy() - np.array(dx2_expect))
119 assert(diff2 < epsilon).all()
Dtest_softmax_op.py55 diff2 = np.abs(outputSum2 - expect2)
57 assert np.all(diff2 < error2)
65 diff2 = np.abs(outputSum2 - expect2)
67 assert np.all(diff2 < error2)
Dtest_mul_op.py75 diff2 = output2.asnumpy() - expect2
77 assert np.all(diff2 < error2)
112 diff2 = output2.asnumpy() - expect2
114 assert np.all(diff2 < error2)
194 diff2 = output2.asnumpy() - expect2
199 assert np.all(diff2 < error2)
Dtest_realdiv_op.py78 diff2 = output2.asnumpy() - expect2
80 assert np.all(diff2 < error2)
115 diff2 = output2.asnumpy() - expect2
117 assert np.all(diff2 < error2)
Dtest_sub_op.py92 diff2 = output2.asnumpy() - expect2
93 assert np.all(diff2 < error2)
115 diff2 = output2.asnumpy() - expect2
116 assert np.all(diff2 < error2)
/third_party/boost/libs/multiprecision/test/
Dtest_cpp_bin_float_conv.cpp47 T diff2 = abs(d2 - val); in check_round() local
48 if (diff2 < diff1) in check_round()
56 std::cout << diff2 << std::endl; in check_round()
59 BOOST_CHECK(diff2 >= diff1); in check_round()
77 diff2 = abs(l2 - val); in check_round()
78 if (diff2 < diff1) in check_round()
86 std::cout << diff2 << std::endl; in check_round()
89 BOOST_CHECK(diff2 >= diff1); in check_round()
/third_party/mindspore/tests/st/ops/cpu/
Dtest_smoothl1loss_op.py101 diff2 = np.absolute(dx[1].asnumpy() - np.array(dx2_expect))
103 assert(diff2 < epsilon).all()
117 diff2 = np.absolute(dx[1].asnumpy() - np.array(dx2_expect))
119 assert(diff2 < epsilon).all()
/third_party/mindspore/tests/st/nccl/
Dtest_nccl_all_reduce_op.py75 diff2 = output[2].asnumpy() - expect2
77 assert np.all(diff2 < error2)
121 diff2 = abs(output[2].asnumpy() - expect2)
123 assert np.all(diff2 < error2)
161 diff2 = abs(output2.asnumpy() - expect2)
163 assert np.all(diff2 < error2)
Dtest_nccl_broadcast_op.py68 diff2 = output[2][0].asnumpy() - expect2
70 assert np.all(diff2 < error2)
Dtest_nccl_reduce_scatter_op.py73 diff2 = output[2].asnumpy() - expect2
75 assert np.all(diff2 < error2)
/third_party/boost/boost/geometry/strategies/spherical/
Ddisjoint_box_box.hpp62 calc_t const diff2 = b2_max - b2_min; in apply() local
65 if (diff1 < constants::period() && diff2 < constants::period()) in apply()
70 calc_t b2_max_transl = b2_min_transl - constants::period() + diff2; in apply()
/third_party/alsa-lib/test/
Dmixtest.c228 unsigned long long begin, end, diff, diffS, diff0, diff1, diff1_mmx, diff2; in main() local
309 for (t = 0, diff2 = -1; t < LOOP; t++) { in main()
317 if (diff < diff2) in main()
318 diff2 = diff; in main()
328 printf("mix_areas2 : %8llu %f%%\n", diff2, 100*2*44100.0*diff2/(size*n*cpu_clock)); in main()
/third_party/gstreamer/gstplugins_bad/gst/fieldanalysis/
Dgstfieldanalysis.c1074 gint diff1, diff2; in block_score_for_row_32detect() local
1077 diff2 = fj[0] - fjp1[0]; in block_score_for_row_32detect()
1079 if ((diff1 > spatial_thresh && diff2 > spatial_thresh) in block_score_for_row_32detect()
1080 || (diff1 < -spatial_thresh && diff2 < -spatial_thresh)) { in block_score_for_row_32detect()
1091 diff2 = fj[idx] - fjp1[idx]; in block_score_for_row_32detect()
1092 if ((diff1 > spatial_thresh && diff2 > spatial_thresh) in block_score_for_row_32detect()
1093 || (diff1 < -spatial_thresh && diff2 < -spatial_thresh)) { in block_score_for_row_32detect()
1161 gint diff1, diff2; in block_score_for_row_iscombed() local
1164 diff2 = fj[0] - fjp1[0]; in block_score_for_row_iscombed()
1166 if ((diff1 > spatial_thresh && diff2 > spatial_thresh) in block_score_for_row_iscombed()
[all …]
/third_party/ltp/testcases/kernel/syscalls/syslog/
Dsyslog1090 diff2=$(( $donot_allow2 - $donot_allow1 ))
91 if [ $diff2 -ne 0 ]; then
Dsyslog0988 diff2=$(( $donot_allow2 - $donot_allow1 ))
89 if [ $diff2 -ne 0 ]; then
/third_party/skia/infra/bots/recipes/
Dcheck_generated_files.py54 diff2 = api.run(
71 """ % (diff1, diff2))
/third_party/gstreamer/gstreamer/libs/gst/controller/
Dgstinterpolationcontrolsource.c353 gdouble diff1, diff2; in _interpolate_cubic() local
357 diff2 = gst_guint64_to_gdouble (cp2->timestamp - timestamp); in _interpolate_cubic()
361 cp1->cache.cubic.z * diff2 * diff2 * diff2) / cp1->cache.cubic.h; in _interpolate_cubic()
367 cp1->cache.cubic.h * cp1->cache.cubic.z) * diff2; in _interpolate_cubic()
531 gdouble diff2 = diff * diff; in _interpolate_cubic_monotonic() local
535 out += cp1->cache.cubic_monotonic.c2s * diff2; in _interpolate_cubic_monotonic()
536 out += cp1->cache.cubic_monotonic.c3s * diff * diff2; in _interpolate_cubic_monotonic()
/third_party/icu/icu4c/source/test/cintltst/
Dcstrtest.c333 int32_t diff1, diff2; in TestCompareInvEbcdicAsAscii() local
341 diff2=getSign(uprv_compareInvEbcdicAsAscii(invStrings[i][0], invStrings[i-1][0])); in TestCompareInvEbcdicAsAscii()
342 if(diff2!=-diff1) { in TestCompareInvEbcdicAsAscii()
344 invStrings[i][1], invStrings[i-1][1], (short)diff2); in TestCompareInvEbcdicAsAscii()
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dfilters_utils.c42 const int diff2 = SDIFF(p[i], p[i - width]); in WebPEstimateBestFilter() local
48 bins[WEBP_FILTER_VERTICAL][diff2] = 1; in WebPEstimateBestFilter()
/third_party/skia/third_party/externals/libwebp/src/utils/
Dfilters_utils.c42 const int diff2 = SDIFF(p[i], p[i - width]); in WebPEstimateBestFilter() local
48 bins[WEBP_FILTER_VERTICAL][diff2] = 1; in WebPEstimateBestFilter()
/third_party/flutter/skia/infra/bots/recipes/
Dcheck_generated_files.py85 diff2 = api.run(
102 """ % (diff1, diff2))

123