Searched refs:new_sample (Results 1 - 7 of 7) sorted by relevance
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_window_filter.c | 45 void ngtcp2_window_filter_update(ngtcp2_window_filter *wf, uint64_t new_sample, in ngtcp2_window_filter_update() argument 47 if (wf->estimates[0].sample == 0 || new_sample > wf->estimates[0].sample || in ngtcp2_window_filter_update() 49 ngtcp2_window_filter_reset(wf, new_sample, new_time); in ngtcp2_window_filter_update() 53 if (new_sample > wf->estimates[1].sample) { in ngtcp2_window_filter_update() 54 wf->estimates[1].sample = new_sample; in ngtcp2_window_filter_update() 57 } else if (new_sample > wf->estimates[2].sample) { in ngtcp2_window_filter_update() 58 wf->estimates[2].sample = new_sample; in ngtcp2_window_filter_update() 65 wf->estimates[2].sample = new_sample; in ngtcp2_window_filter_update() 77 wf->estimates[2].sample = new_sample; in ngtcp2_window_filter_update() 85 wf->estimates[2].sample = new_sample; in ngtcp2_window_filter_update() 90 ngtcp2_window_filter_reset(ngtcp2_window_filter *wf, uint64_t new_sample, uint64_t new_time) ngtcp2_window_filter_reset() argument [all...] |
H A D | ngtcp2_window_filter.h | 57 void ngtcp2_window_filter_update(ngtcp2_window_filter *wf, uint64_t new_sample, 60 void ngtcp2_window_filter_reset(ngtcp2_window_filter *wf, uint64_t new_sample,
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_rate_linear.c | 94 int16_t new_sample; in linear_expand() local 102 new_sample = rate->old_sample[channel]; in linear_expand() 107 old_sample = new_sample; in linear_expand() 114 new_sample = sample; in linear_expand() 119 sample = (old_sample * old_weight + new_sample * new_weight) >> 16; in linear_expand() 133 rate->old_sample[channel] = new_sample; in linear_expand() 157 int16_t new_sample; in linear_expand_s16() local 165 new_sample = rate->old_sample[channel]; in linear_expand_s16() 170 old_sample = new_sample; in linear_expand_s16() 172 new_sample in linear_expand_s16() 216 int16_t new_sample = 0; linear_shrink() local 278 int16_t new_sample = 0; linear_shrink_s16() local [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | core-scache.c | 92 static pa_scache_entry* scache_add_item(pa_core *c, const char *name, bool *new_sample) { in scache_add_item() argument 97 pa_assert(new_sample); in scache_add_item() 109 *new_sample = false; in scache_add_item() 125 *new_sample = true; in scache_add_item() 156 bool new_sample; in pa_scache_add_item() local 171 if (!(e = scache_add_item(c, name, &new_sample))) in pa_scache_add_item() 202 pa_hook_fire(&e->core->hooks[new_sample ? PA_CORE_HOOK_SAMPLE_CACHE_NEW : PA_CORE_HOOK_SAMPLE_CACHE_CHANGED], e); in pa_scache_add_item() 244 bool new_sample; in pa_scache_add_file_lazy() local 257 if (!(e = scache_add_item(c, name, &new_sample))) in pa_scache_add_file_lazy() 271 pa_hook_fire(&e->core->hooks[new_sample in pa_scache_add_file_lazy() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_tex.c | 1298 nir_ssa_def *new_sample = NULL; in nir_lower_ms_txf_to_fragment_fetch() local 1301 new_sample = nir_ushr(b, &fmask_fetch->dest.ssa, nir_imm_int(b, 28)); in nir_lower_ms_txf_to_fragment_fetch() 1303 new_sample = nir_iand_imm(b, &fmask_fetch->dest.ssa, 0xf); in nir_lower_ms_txf_to_fragment_fetch() 1305 new_sample = nir_ubitfield_extract(b, &fmask_fetch->dest.ssa, in nir_lower_ms_txf_to_fragment_fetch() 1311 nir_instr_rewrite_src_ssa(&tex->instr, &tex->src[ms_index].src, new_sample); in nir_lower_ms_txf_to_fragment_fetch()
|
/third_party/python/Lib/test/ |
H A D | test_dataclasses.py | 2070 new_sample = pickle.loads(pickle.dumps(sample, proto)) variable in TestCase.test_dataclasses_pickleable.R 2071 self.assertEqual(sample.x, new_sample.x) 2072 self.assertEqual(sample.y, new_sample.y) 2073 self.assertIsNot(sample, new_sample) 2074 new_sample.x = 42 2075 another_new_sample = pickle.loads(pickle.dumps(new_sample, proto)) 2076 self.assertEqual(new_sample.x, another_new_sample.x)
|
/third_party/pulseaudio/src/modules/rtp/ |
H A D | rtp-gstreamer.c | 584 callbacks.new_sample = appsink_new_sample; in pa_rtp_context_new_recv()
|
Completed in 14 milliseconds