Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp192 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
194 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
201 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
281 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
283 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
291 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
383 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
385 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
392 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
472 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_mcdeint.c216 int diff1 = filp[+fils] - srcp[+srcs]; in filter_frame() local
236 diff1 = filp[+fils+DELTA(-(j))] - srcp[+srcs+DELTA(-(j))];\ in filter_frame()
243 diff1 = filp[+fils-(j)] - srcp[+srcs-(j)];\ in filter_frame()
256 if (diff0 + diff1 > 0)
257 temp -= (diff0 + diff1 - FFABS(FFABS(diff0) - FFABS(diff1)) / 2) / 2;
259 temp -= (diff0 + diff1 + FFABS(FFABS(diff0) - FFABS(diff1)) / 2) / 2;
Dvf_dedot.c135 int diff1 = FFABS(cur - p1[x]); \
138 if (diff1 < diff2) \
204 int diff1 = FFABS(cur - p1[x]); \
207 if (diff1 < diff2) \
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp192 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
194 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
201 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
281 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
283 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
291 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
383 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
385 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
392 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
472 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
[all …]
/third_party/ffmpeg/libavcodec/mips/
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
1002 diff1, diff3, diff5, diff7); in hevc_intra_pred_angular_upper_4width_msa()
1004 ILVR_D2_SH(diff3, diff1, diff7, diff5, diff1, diff3); in hevc_intra_pred_angular_upper_4width_msa()
1005 MUL2(diff1, fact0, diff3, fact2, diff1, diff3); in hevc_intra_pred_angular_upper_4width_msa()
1007 diff1 += diff0 * fact1; in hevc_intra_pred_angular_upper_4width_msa()
1010 SRARI_H2_SH(diff1, diff3, 5); in hevc_intra_pred_angular_upper_4width_msa()
1011 dst_val0 = __msa_pckev_b((v16i8) diff3, (v16i8) diff1); 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
1092 UNPCK_UB_SH(top0, diff0, diff1); 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()
[all …]
Dhevc_lpf_sao_msa.c49 v8i16 diff0, diff1, delta0, delta1, delta2, abs_delta0; in hevc_loopfilter_luma_hor_msa() local
211 diff1 = (v8i16) (q1_src - p1_src); in hevc_loopfilter_luma_hor_msa()
213 diff1 = (diff1 << 1) + diff1; in hevc_loopfilter_luma_hor_msa()
214 delta0 = diff0 - diff1; in hevc_loopfilter_luma_hor_msa()
355 diff1 = (v8i16) (q1_src - p1_src); in hevc_loopfilter_luma_hor_msa()
357 diff1 = (diff1 << 1) + diff1; in hevc_loopfilter_luma_hor_msa()
358 delta0 = diff0 - diff1; in hevc_loopfilter_luma_hor_msa()
472 v8i16 diff0, diff1, delta0, delta1, delta2, abs_delta0; in hevc_loopfilter_luma_ver_msa() local
613 diff1 = (v8i16) (q1_src - p1_src); in hevc_loopfilter_luma_ver_msa()
615 diff1 = (diff1 << 1) + diff1; in hevc_loopfilter_luma_ver_msa()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp196 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
198 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
205 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
303 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
305 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
313 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
415 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
417 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
424 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
522 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp196 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
198 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
205 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
303 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
305 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
313 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
415 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate() local
417 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
424 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
522 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate() local
[all …]
/third_party/alsa-lib/test/
Dmixtest.c228 unsigned long long begin, end, diff, diffS, diff0, diff1, diff1_mmx, diff2; in main() local
283 for (t = 0, diff1 = -1; t < LOOP; t++) { in main()
291 if (diff < diff1) in main()
292 diff1 = diff; in main()
326 printf("mix_areas1 : %8llu %f%%\n", diff1, 100*2*44100.0*diff1/(size*n*cpu_clock)); in main()
331 printf("areas1/srv ratio : %f\n", (double)diff1 / diffS); in main()
/third_party/icu/icu4c/source/test/cintltst/
Dcstrtest.c333 int32_t diff1, diff2; in TestCompareInvEbcdicAsAscii() local
335 diff1=getSign(uprv_compareInvEbcdicAsAscii(invStrings[i-1][0], invStrings[i][0])); in TestCompareInvEbcdicAsAscii()
336 if(diff1>0 || (diff1==0 && 0!=uprv_strcmp(invStrings[i-1][0], invStrings[i][0]))) { in TestCompareInvEbcdicAsAscii()
338 invStrings[i-1][1], invStrings[i][1], (short)diff1); in TestCompareInvEbcdicAsAscii()
342 if(diff2!=-diff1) { in TestCompareInvEbcdicAsAscii()
/third_party/gstreamer/gstplugins_bad/gst/fieldanalysis/
Dgstfieldanalysis.c1074 gint diff1, diff2; in block_score_for_row_32detect() local
1076 diff1 = fj[0] - fjm1[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()
1090 diff1 = fj[idx] - fjm1[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
1163 diff1 = fj[0] - fjm1[0]; in block_score_for_row_iscombed()
1166 if ((diff1 > spatial_thresh && diff2 > spatial_thresh) in block_score_for_row_iscombed()
[all …]
/third_party/ffmpeg/tests/checkasm/
Dllviddsp.c80 uint8_t *diff1 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_median_pred() local
86 init_buffer(diff0, diff1, uint8_t, width); in check_add_median_pred()
96 call_new(dst1, src1, diff1, width, &A1, &B1); in check_add_median_pred()
99 bench_new(dst1, src1, diff1, width, &A1, &B1); in check_add_median_pred()
105 av_free(diff1); in check_add_median_pred()
/third_party/ltp/testcases/kernel/syscalls/syslog/
Dsyslog0981 diff1=$(( $allow2 - $allow1 ))
82 if [ $diff1 -ne 1 ]; then
Dsyslog1083 diff1=$(( $allow2 - $allow1 ))
84 if [ $diff1 -ne 1 ]; then
/third_party/skia/infra/bots/recipes/
Dcheck_generated_files.py38 diff1 = api.run(
71 """ % (diff1, diff2))
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dfilters_utils.c41 const int diff1 = SDIFF(p[i], p[i - 1]); in WebPEstimateBestFilter() local
47 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; in WebPEstimateBestFilter()
/third_party/skia/third_party/externals/libwebp/src/utils/
Dfilters_utils.c41 const int diff1 = SDIFF(p[i], p[i - 1]); in WebPEstimateBestFilter() local
47 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; in WebPEstimateBestFilter()
/third_party/flutter/skia/infra/bots/recipes/
Dcheck_generated_files.py38 diff1 = api.run(
102 """ % (diff1, diff2))
/third_party/gstreamer/gstreamer/libs/gst/controller/
Dgstinterpolationcontrolsource.c353 gdouble diff1, diff2; in _interpolate_cubic() local
356 diff1 = gst_guint64_to_gdouble (timestamp - cp1->timestamp); in _interpolate_cubic()
360 (cp2->cache.cubic.z * diff1 * diff1 * diff1 + in _interpolate_cubic()
364 cp1->cache.cubic.h * cp2->cache.cubic.z) * diff1; in _interpolate_cubic()
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/opptrdiff/
Dvariable_pointers_vars_wg_diff.amber73 %diff1 = OpPtrDiff %int %forward_gep %backward_gep
75 %result = OpCompositeConstruct %int2 %diff1 %diff2
Dvariable_pointers_vars_ssbo_diff.amber83 %diff1 = OpPtrDiff %int %forward_gep %backward_gep
85 %result = OpCompositeConstruct %int2 %diff1 %diff2
Dvariable_pointers_vars_ssbo_2_diff.amber89 %diff1 = OpPtrDiff %int %gep_0 %gep_1
91 %result = OpCompositeConstruct %int2 %diff1 %diff2
/third_party/gstreamer/gstplugins_base/gst/videorate/
Dgstvideorate.c1602 gint64 diff1 = 0, diff2 = 0; in gst_video_rate_transform_ip() local
1689 diff1 = ABSDIFF (prev_endtime, next_end_ts); in gst_video_rate_transform_ip()
1695 GST_TIME_ARGS (diff1), GST_TIME_ARGS (diff2), in gst_video_rate_transform_ip()
1702 diff1 = ABSDIFF (prevtime, next_ts); in gst_video_rate_transform_ip()
1708 GST_TIME_ARGS (diff1), GST_TIME_ARGS (diff2), in gst_video_rate_transform_ip()
1713 if (diff1 <= diff2) { in gst_video_rate_transform_ip()
1728 while (diff1 < diff2); in gst_video_rate_transform_ip()
1751 G_GUINT64_FORMAT ", dup %" G_GUINT64_FORMAT, GST_TIME_ARGS (diff1), in gst_video_rate_transform_ip()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
Djcphuff-neon.c79 int16x8_t diff1 = veorq_s16(coefs1, sign_coefs1); in jsimd_encode_mcu_AC_first_prepare_neon() local
85 vst1q_s16(diff_values_ptr, diff1); in jsimd_encode_mcu_AC_first_prepare_neon()
134 int16x8_t diff1 = veorq_s16(coefs1, sign_coefs1); in jsimd_encode_mcu_AC_first_prepare_neon() local
140 vst1q_s16(diff_values_ptr, diff1); in jsimd_encode_mcu_AC_first_prepare_neon()

12