Home
last modified time | relevance | path

Searched refs:abs_diff (Results 1 – 10 of 10) sorted by relevance

/third_party/openh264/codec/processing/src/vaacalc/
Dvaacalcfuncs.cpp370 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadSsdBgd_c() local
373 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_c()
374 l_mad = abs_diff; in VAACalcSadSsdBgd_c()
376 l_sad += abs_diff; in VAACalcSadSsdBgd_c()
377 l_sqdiff += abs_diff * abs_diff; in VAACalcSadSsdBgd_c()
399 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadSsdBgd_c() local
402 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_c()
403 l_mad = abs_diff; in VAACalcSadSsdBgd_c()
405 l_sad += abs_diff; in VAACalcSadSsdBgd_c()
406 l_sqdiff += abs_diff * abs_diff; in VAACalcSadSsdBgd_c()
[all …]
/third_party/openh264/test/processing/
DProcessUT_VaaCalc.cpp341 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadSsdBgd_ref() local
344 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_ref()
345 l_mad = abs_diff; in VAACalcSadSsdBgd_ref()
347 l_sad += abs_diff; in VAACalcSadSsdBgd_ref()
348 l_sqdiff += abs_diff * abs_diff; in VAACalcSadSsdBgd_ref()
370 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadSsdBgd_ref() local
373 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_ref()
374 l_mad = abs_diff; in VAACalcSadSsdBgd_ref()
376 l_sad += abs_diff; in VAACalcSadSsdBgd_ref()
377 l_sqdiff += abs_diff * abs_diff; in VAACalcSadSsdBgd_ref()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Denc_neon.c754 const uint8x16_t abs_diff = vabdq_u8(a0, b0); in AccumulateSSE16_NEON() local
755 const uint16x8_t prod1 = vmull_u8(vget_low_u8(abs_diff), in AccumulateSSE16_NEON()
756 vget_low_u8(abs_diff)); in AccumulateSSE16_NEON()
757 const uint16x8_t prod2 = vmull_u8(vget_high_u8(abs_diff), in AccumulateSSE16_NEON()
758 vget_high_u8(abs_diff)); in AccumulateSSE16_NEON()
796 const uint8x8_t abs_diff = vabd_u8(a0, b0); in SSE8x8_NEON() local
797 const uint16x8_t prod = vmull_u8(abs_diff, abs_diff); in SSE8x8_NEON()
806 const uint8x16_t abs_diff = vabdq_u8(a0, b0); in SSE4x4_NEON() local
807 const uint16x8_t prod1 = vmull_u8(vget_low_u8(abs_diff), in SSE4x4_NEON()
808 vget_low_u8(abs_diff)); in SSE4x4_NEON()
[all …]
/third_party/skia/third_party/externals/libwebp/src/dsp/
Denc_neon.c754 const uint8x16_t abs_diff = vabdq_u8(a0, b0); in AccumulateSSE16_NEON() local
755 const uint16x8_t prod1 = vmull_u8(vget_low_u8(abs_diff), in AccumulateSSE16_NEON()
756 vget_low_u8(abs_diff)); in AccumulateSSE16_NEON()
757 const uint16x8_t prod2 = vmull_u8(vget_high_u8(abs_diff), in AccumulateSSE16_NEON()
758 vget_high_u8(abs_diff)); in AccumulateSSE16_NEON()
796 const uint8x8_t abs_diff = vabd_u8(a0, b0); in SSE8x8_NEON() local
797 const uint16x8_t prod = vmull_u8(abs_diff, abs_diff); in SSE8x8_NEON()
806 const uint8x16_t abs_diff = vabdq_u8(a0, b0); in SSE4x4_NEON() local
807 const uint16x8_t prod1 = vmull_u8(vget_low_u8(abs_diff), in SSE4x4_NEON()
808 vget_low_u8(abs_diff)); in SSE4x4_NEON()
[all …]
/third_party/ffmpeg/tests/checkasm/
Dcheckasm.c329 float abs_diff = fabsf(a - b); in float_near_abs_eps() local
330 if (abs_diff < eps) in float_near_abs_eps()
333 …fprintf(stderr, "test failed comparing %g with %g (abs diff=%g with EPS=%g)\n", a, b, abs_diff, ep… in float_near_abs_eps()
369 double abs_diff = fabs(a - b); in double_near_abs_eps() local
371 return abs_diff < eps; in double_near_abs_eps()
/third_party/gstreamer/gstplugins_good/ext/jpeg/
Dsmokecodec.c327 abs_diff (const unsigned char *in1, const unsigned char *in2, const int stride) in abs_diff() function
441 s = abs_diff (ip, op, width); in smokecodec_encode()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvideoenc.cpp713 LONGLONG abs_diff; in gst_mf_video_enc_find_output_frame() local
723 abs_diff = std::abs (mf_pts - data->mf_pts); in gst_mf_video_enc_find_output_frame()
725 if (!closest || abs_diff < min_pts_abs_diff) { in gst_mf_video_enc_find_output_frame()
727 min_pts_abs_diff = abs_diff; in gst_mf_video_enc_find_output_frame()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkenc.c1058 GstClockTimeDiff abs_diff = ABS (GST_CLOCK_DIFF (frame->pts, pts)); in gst_msdkenc_find_best_frame() local
1059 if (abs_diff == 0) { in gst_msdkenc_find_best_frame()
1064 if (!GST_CLOCK_STIME_IS_VALID (best_diff) || abs_diff < best_diff) { in gst_msdkenc_find_best_frame()
1066 best_diff = abs_diff; in gst_msdkenc_find_best_frame()
/third_party/gstreamer/gstplugins_base/docs/random/
DChangeLog-0.84579 (find_best_size), (abs_diff), (put), (smokecodec_encode_id),
8506 (find_best_size), (abs_diff), (put), (smokecodec_encode),
/third_party/gstreamer/gstplugins_bad/docs/random/
DChangeLog-0.86750 (find_best_size), (abs_diff), (put), (smokecodec_encode_id),
10677 (find_best_size), (abs_diff), (put), (smokecodec_encode),