Home
last modified time | relevance | path

Searched refs:delta1 (Results 1 – 22 of 22) sorted by relevance

/external/iputils/
Dclockdiff.c134 long delta1, delta2; in measure() local
260 delta1 = histime - sendtime; in measure()
267 if (delta1 < BIASN) in measure()
268 delta1 += MODULO; in measure()
269 else if (delta1 > BIASP) in measure()
270 delta1 -= MODULO; in measure()
278 if (delta1 < min1) in measure()
279 min1 = delta1; in measure()
282 if (delta1 + delta2 < min_rtt) { in measure()
283 min_rtt = delta1 + delta2; in measure()
[all …]
/external/flac/src/test_streams/
Dmain.c408 const double delta1 = 2.0 * M_PI / ( sample_rate / f1); in generate_sine8_1() local
417 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine8_1()
435 const double delta1 = 2.0 * M_PI / ( sample_rate / f1); in generate_sine8_2() local
444 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine8_2()
466 const double delta1 = 2.0 * M_PI / ( sample_rate / f1); in generate_sine16_1() local
475 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine16_1()
493 const double delta1 = 2.0 * M_PI / ( sample_rate / f1); in generate_sine16_2() local
502 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine16_2()
524 const double delta1 = 2.0 * M_PI / ( sample_rate / f1); in generate_sine24_1() local
533 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine24_1()
[all …]
/external/linux-kselftest/tools/testing/selftests/timers/
Draw_skew.c95 long long delta1, delta2, interval, eppm, ppm; in main() local
109 delta1 = diff_timespec(mon, raw); in main()
127 eppm = ((delta2-delta1)*NSEC_PER_SEC)/interval; in main()
Dadjtick.c99 long long delta1, delta2, eppm; in get_ppm_drift() local
107 delta1 = diff_timespec(mon_start, mon_end); in get_ppm_drift()
110 eppm = (delta1*MILLION)/delta2 - MILLION; in get_ppm_drift()
/external/freetype/src/autofit/
Dafcjk.c717 FT_Pos delta1, delta2; in af_cjk_metrics_scale_dim() local
723 delta1 = FT_DivFix( blue->ref.fit, scale ) - blue->shoot.org; in af_cjk_metrics_scale_dim()
724 delta2 = delta1; in af_cjk_metrics_scale_dim()
725 if ( delta1 < 0 ) in af_cjk_metrics_scale_dim()
730 FT_TRACE5(( "delta: %ld", delta1 )); in af_cjk_metrics_scale_dim()
741 if ( delta1 < 0 ) in af_cjk_metrics_scale_dim()
1972 FT_Pos delta1, delta2, d1, d2; in af_cjk_hint_edges()
1986 delta1 = delta; in af_cjk_hint_edges()
1987 delta1 += af_hint_normal_stem( hints, left, left->link, in af_cjk_hint_edges()
1988 delta1, 0 ); in af_cjk_hint_edges()
[all …]
Daflatin.c1380 FT_Pos delta1; in af_latin_metrics_scale_dim()
1390 delta1 = blue->shoot.org - blue->ref.org; in af_latin_metrics_scale_dim()
1391 delta2 = delta1; in af_latin_metrics_scale_dim()
1392 if ( delta1 < 0 ) in af_latin_metrics_scale_dim()
1404 if ( delta1 < 0 ) in af_latin_metrics_scale_dim()
3208 FT_Pos cur_pos1, cur_pos2, delta1, delta2; in af_latin_hint_edges() local
3247 delta1 = org_center - ( cur_pos1 - u_off ); in af_latin_hint_edges()
3248 if ( delta1 < 0 ) in af_latin_hint_edges()
3249 delta1 = -delta1; in af_latin_hint_edges()
3255 if ( delta1 < delta2 ) in af_latin_hint_edges()
[all …]
Daflatin2.c657 FT_Pos delta1, delta2; in af_latin2_metrics_scale_dim() local
659 delta1 = blue->shoot.org - blue->ref.org; in af_latin2_metrics_scale_dim()
660 delta2 = delta1; in af_latin2_metrics_scale_dim()
661 if ( delta1 < 0 ) in af_latin2_metrics_scale_dim()
673 if ( delta1 < 0 ) in af_latin2_metrics_scale_dim()
/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c47 double delta1, delta2; in Intrpol2D() local
78 delta1 = 0.5 * (t1 - delta2 * A[0][1]) / A[0][0]; in Intrpol2D()
82 t1 = delta1 * delta1 + delta2 * delta2; in Intrpol2D()
84 delta1 /= t1; in Intrpol2D()
88 *peak_val = 0.5 * (b[0] * delta1 + b[1] * delta2) + c; in Intrpol2D()
90 *x += delta1; in Intrpol2D()
/external/libhevc/common/x86/
Dihevc_tables_x86_intr.c119 const WORD8 delta1[16] = { 4, -1, 4, -1, 4, -1, 4, -1, 4, -1, 4, -1, 4, -1, 4, -1 }; variable
Dihevc_deblk_ssse3_intr.c1053 delta_vu1_16x8b = _mm_load_si128((__m128i *)delta1); in ihevc_deblk_chroma_vert_ssse3()
1197 delta_vu1_16x8b = _mm_load_si128((__m128i *)delta1); in ihevc_deblk_chroma_horz_ssse3()
/external/libhevc/common/
Dihevc_tables_x86_intr.h67 extern MEM_ALIGN16 const WORD8 delta1[16];
/external/dng_sdk/source/
Ddng_mosaic_info.cpp161 dng_point &delta1 = fDelta [j ]; in Finalize() local
163 if (delta0.v > delta1.v || in Finalize()
164 (delta0.v == delta1.v && in Finalize()
165 delta0.h > delta1.h)) in Finalize()
172 delta0 = delta1; in Finalize()
173 delta1 = tempDelta; in Finalize()
/external/libgav1/libgav1/src/utils/
Dentropy_decoder.cc474 const __m128i delta1 = _mm_sra_epi16(diff1, _mm_cvtsi32_si128(rate)); in UpdateCdf13() local
475 cdf_vec1 = _mm_add_epi16(cdf_offset1, delta1); in UpdateCdf13()
506 const __m128i delta1 = _mm_sra_epi16(diff1, _mm_cvtsi32_si128(rate)); in UpdateCdf16() local
507 cdf_vec1 = _mm_add_epi16(cdf_offset1, delta1); in UpdateCdf16()
/external/python/cryptography/tests/x509/
Dtest_x509_ext.py347 delta1 = x509.DeltaCRLIndicator(1)
349 assert delta1 == delta2
352 delta1 = x509.DeltaCRLIndicator(1)
354 assert delta1 != delta2
355 assert delta1 != object()
358 delta1 = x509.DeltaCRLIndicator(2)
359 assert repr(delta1) == (
364 delta1 = x509.DeltaCRLIndicator(1)
367 assert hash(delta1) == hash(delta2)
368 assert hash(delta1) != hash(delta3)
/external/freetype/src/pshinter/
Dpshalgo.c424 FT_Fixed delta1 = FT_PIX_ROUND( pos ) - pos; in psh_hint_snap_stem_side_delta() local
428 if ( FT_ABS( delta1 ) <= FT_ABS( delta2 ) ) in psh_hint_snap_stem_side_delta()
429 return delta1; in psh_hint_snap_stem_side_delta()
/external/webp/src/dsp/
Ddec.c704 const int delta1 = in DitherCombine8x8_C() local
706 dst[i] = clip_8b((int)dst[i] + delta1); in DitherCombine8x8_C()
Ddec_neon.c509 const int8x16_t delta1 = vandq_s8(delta0, vreinterpretq_s8_u8(mask)); in DoFilter2_NEON() local
510 ApplyFilter2_NEON(p0s, q0s, delta1, op0, oq0); in DoFilter2_NEON()
719 const int8x16_t delta1 = vqaddq_s8(delta0, kCst4); in ApplyFilter4_NEON() local
721 const int8x16_t a1 = vshrq_n_s8(delta1, 3); in ApplyFilter4_NEON()
/external/pdfium/core/fpdfapi/render/
Dcpdf_rendershading.cpp610 int Interpolate(int p1, int p2, int delta1, int delta2, bool* overflow) { in Interpolate() argument
613 p *= delta1; in Interpolate()
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c2165 double delta1 = scale * (split_coords->dst1 - orig->dst1); in adjust_split_source_coords() local
2166 split_coords->src0 = orig->src0 + (scale >= 0.0 ? delta0 : delta1); in adjust_split_source_coords()
2167 split_coords->src1 = orig->src1 + (scale >= 0.0 ? delta1 : delta0); in adjust_split_source_coords()
/external/freetype/src/truetype/
Dttinterp.c6887 FT_F26Dot6 orus1, orus2, org1, org2, cur1, cur2, delta1, delta2; in _iup_worker_interpolate() local
6919 delta1 = SUB_LONG( cur1, org1 ); in _iup_worker_interpolate()
6932 x = ADD_LONG( x, delta1 ); in _iup_worker_interpolate()
6956 x = ADD_LONG( x, delta1 ); in _iup_worker_interpolate()
/external/cldr/tools/c/genldml/
Dgenldml.cpp632 ResourceBundle delta1 = rootDelta.getNext(mError); in writeTable() local
633 const char* mykey = delta1.getKey(); in writeTable()
/external/python/cpython3/Doc/library/
Ddatetime.rst392 >>> delta1 = timedelta(seconds=57)
394 >>> delta2 != delta1
403 >>> delta2 > delta1