/third_party/gstreamer/gstplugins_bad/ext/soundtouch/ |
D | gstpitch.cc | 214 pitch->min_latency = pitch->max_latency = 0; in gst_pitch_init() 650 GST_TIME_ARGS (pitch->max_latency)); in gst_pitch_src_query() 654 max += pitch->max_latency; in gst_pitch_src_query() 760 pitch->min_latency = pitch->max_latency = 0; in gst_pitch_sink_event() 765 pitch->min_latency = pitch->max_latency = 0; in gst_pitch_sink_event() 776 pitch->min_latency = pitch->max_latency = 0; in gst_pitch_sink_event() 804 GstClockTimeDiff current_latency, min_latency, max_latency; in gst_pitch_update_latency() local 811 max_latency = MAX (pitch->max_latency, current_latency); in gst_pitch_update_latency() 813 if (pitch->min_latency != min_latency || pitch->max_latency != max_latency) { in gst_pitch_update_latency() 815 pitch->max_latency = max_latency; in gst_pitch_update_latency() [all …]
|
D | gstpitch.hh | 81 GstClockTimeDiff min_latency, max_latency; member
|
/third_party/pulseaudio/src/modules/ |
D | module-combine-sink.c | 122 pa_atomic_t max_latency; member 511 max = i->sink->thread_info.max_latency; in sink_input_update_sink_latency_range_cb() 515 (pa_atomic_load(&o->max_latency) == (int) max)) in sink_input_update_sink_latency_range_cb() 519 pa_atomic_store(&o->max_latency, (int) max); in sink_input_update_sink_latency_range_cb() 564 max = i->sink->thread_info.max_latency; in sink_input_attach_cb() 567 pa_atomic_store(&o->max_latency, (int) max); in sink_input_attach_cb() 773 pa_usec_t min_latency = 0, max_latency = (pa_usec_t) -1; in update_latency_range() local 783 pa_usec_t max = (size_t) pa_atomic_load(&o->max_latency); in update_latency_range() 787 if (max_latency == (pa_usec_t) -1 || max < max_latency) in update_latency_range() 788 max_latency = max; in update_latency_range() [all …]
|
D | module-null-source.c | 127 u->block_usec = u->source->thread_info.max_latency; in source_update_requested_latency_cb() 251 u->block_usec = u->source->thread_info.max_latency; in pa__init()
|
/third_party/gstreamer/gstplugins_bad/gst/inter/ |
D | gstinteraudiosink.c | 367 GstClockTime base_latency, min_latency, max_latency; in gst_inter_audio_sink_query() local 378 max_latency = (max_l == -1) ? -1 : (base_latency + max_l); in gst_inter_audio_sink_query() 387 GST_TIME_ARGS (max_latency)); in gst_inter_audio_sink_query() 392 max_latency = max_l; in gst_inter_audio_sink_query() 394 gst_query_set_latency (query, live, min_latency, max_latency); in gst_inter_audio_sink_query()
|
D | gstinteraudiosrc.c | 447 GstClockTime min_latency, max_latency; in gst_inter_audio_src_query() local 450 max_latency = interaudiosrc->buffer_time; in gst_inter_audio_src_query() 454 GST_TIME_ARGS (min_latency), GST_TIME_ARGS (max_latency)); in gst_inter_audio_src_query() 457 gst_base_src_is_live (src), min_latency, max_latency); in gst_inter_audio_src_query()
|
/third_party/pulseaudio/src/pulsecore/ |
D | source.c | 332 s->thread_info.max_latency = ABSOLUTE_MAX_LATENCY; in pa_source_new() 608 pa_assert(s->thread_info.min_latency <= s->thread_info.max_latency); in pa_source_put() 2259 *usec = s->thread_info.max_latency; in pa_source_process_msg() 2276 r[1] = s->thread_info.max_latency; in pa_source_process_msg() 2393 …urn PA_CLAMP(s->thread_info.fixed_latency, s->thread_info.min_latency, s->thread_info.max_latency); in pa_source_get_requested_latency_within_thread() 2404 result = PA_CLAMP(result, s->thread_info.min_latency, s->thread_info.max_latency); in pa_source_get_requested_latency_within_thread() 2488 void pa_source_set_latency_range(pa_source *s, pa_usec_t min_latency, pa_usec_t max_latency) { in pa_source_set_latency_range() argument 2500 if (max_latency <= 0 || in pa_source_set_latency_range() 2501 max_latency > ABSOLUTE_MAX_LATENCY) in pa_source_set_latency_range() 2502 max_latency = ABSOLUTE_MAX_LATENCY; in pa_source_set_latency_range() [all …]
|
D | source.h | 249 pa_usec_t max_latency; /* An upper limit for the latencies */ member 369 void pa_source_set_latency_range(pa_source *s, pa_usec_t min_latency, pa_usec_t max_latency); 387 void pa_source_get_latency_range(pa_source *s, pa_usec_t *min_latency, pa_usec_t *max_latency); 465 …source_set_latency_range_within_thread(pa_source *s, pa_usec_t min_latency, pa_usec_t max_latency);
|
D | sink.c | 347 s->thread_info.max_latency = ABSOLUTE_MAX_LATENCY; in pa_sink_new() 400 …ource_set_latency_range(s->monitor_source, s->thread_info.min_latency, s->thread_info.max_latency); in pa_sink_new() 658 pa_assert(s->thread_info.min_latency <= s->thread_info.max_latency); in pa_sink_put() 725 pa_assert(s->monitor_source->thread_info.max_latency == s->thread_info.max_latency); in pa_sink_put() 2907 *usec = s->thread_info.max_latency; in pa_sink_process_msg() 2924 r[1] = s->thread_info.max_latency; in pa_sink_process_msg() 3068 …urn PA_CLAMP(s->thread_info.fixed_latency, s->thread_info.min_latency, s->thread_info.max_latency); in pa_sink_get_requested_latency_within_thread() 3085 result = PA_CLAMP(result, s->thread_info.min_latency, s->thread_info.max_latency); in pa_sink_get_requested_latency_within_thread() 3200 void pa_sink_set_latency_range(pa_sink *s, pa_usec_t min_latency, pa_usec_t max_latency) { in pa_sink_set_latency_range() argument 3212 if (max_latency <= 0 || in pa_sink_set_latency_range() [all …]
|
D | sink.h | 304 pa_usec_t max_latency; /* An upper limit for the latencies */ member 432 void pa_sink_set_latency_range(pa_sink *s, pa_usec_t min_latency, pa_usec_t max_latency); 454 void pa_sink_get_latency_range(pa_sink *s, pa_usec_t *min_latency, pa_usec_t *max_latency); 539 … pa_sink_set_latency_range_within_thread(pa_sink *s, pa_usec_t min_latency, pa_usec_t max_latency);
|
D | cli-text.c | 265 pa_usec_t min_latency, max_latency; in pa_sink_list_to_string() local 266 pa_sink_get_latency_range(sink, &min_latency, &max_latency); in pa_sink_list_to_string() 273 (double) max_latency / PA_USEC_PER_MSEC); in pa_sink_list_to_string() 374 pa_usec_t min_latency, max_latency; in pa_source_list_to_string() local 375 pa_source_get_latency_range(source, &min_latency, &max_latency); in pa_source_list_to_string() 382 (double) max_latency / PA_USEC_PER_MSEC); in pa_source_list_to_string()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | gstvideoencoder.c | 135 gint64 max_latency; member 608 priv->max_latency = 0; in gst_video_encoder_init() 1447 GstClockTime min_latency, max_latency; in gst_video_encoder_src_query_default() local 1451 gst_query_parse_latency (query, &live, &min_latency, &max_latency); in gst_video_encoder_src_query_default() 1454 GST_TIME_ARGS (min_latency), GST_TIME_ARGS (max_latency)); in gst_video_encoder_src_query_default() 1458 if (max_latency == GST_CLOCK_TIME_NONE in gst_video_encoder_src_query_default() 1459 || enc->priv->max_latency == GST_CLOCK_TIME_NONE) in gst_video_encoder_src_query_default() 1460 max_latency = GST_CLOCK_TIME_NONE; in gst_video_encoder_src_query_default() 1462 max_latency += enc->priv->max_latency; in gst_video_encoder_src_query_default() 1465 gst_query_set_latency (query, live, min_latency, max_latency); in gst_video_encoder_src_query_default() [all …]
|
D | gstvideoencoder.h | 351 GstClockTime max_latency); 356 GstClockTime *max_latency);
|
D | gstvideodecoder.h | 444 GstClockTime max_latency); 449 GstClockTime *max_latency);
|
D | gstvideodecoder.c | 454 gint64 max_latency; member 803 decoder->priv->max_latency = 0; in gst_video_decoder_init() 2040 GstClockTime min_latency, max_latency; in gst_video_decoder_src_query_default() local 2044 gst_query_parse_latency (query, &live, &min_latency, &max_latency); in gst_video_decoder_src_query_default() 2047 GST_TIME_ARGS (min_latency), GST_TIME_ARGS (max_latency)); in gst_video_decoder_src_query_default() 2051 if (max_latency == GST_CLOCK_TIME_NONE in gst_video_decoder_src_query_default() 2052 || dec->priv->max_latency == GST_CLOCK_TIME_NONE) in gst_video_decoder_src_query_default() 2053 max_latency = GST_CLOCK_TIME_NONE; in gst_video_decoder_src_query_default() 2055 max_latency += dec->priv->max_latency; in gst_video_decoder_src_query_default() 2058 gst_query_set_latency (query, live, min_latency, max_latency); in gst_video_decoder_src_query_default() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11screencapturesrc.cpp | 93 GstClockTime max_latency; member 212 self->max_latency = GST_CLOCK_TIME_NONE; in gst_d3d11_screen_capture_src_init() 685 self->min_latency = self->max_latency = GST_CLOCK_TIME_NONE; in gst_d3d11_screen_capture_src_start() 774 TRUE, self->min_latency, self->max_latency); in gst_d3d11_screen_capture_src_src_query() 1017 self->min_latency = self->max_latency = latency; in gst_d3d11_screen_capture_src_create() 1023 if (latency > self->max_latency) { in gst_d3d11_screen_capture_src_create() 1024 self->max_latency = latency; in gst_d3d11_screen_capture_src_create()
|
/third_party/grpc/test/core/end2end/tests/ |
D | filter_latency.cc | 228 const gpr_timespec max_latency = gpr_time_sub(end_time, start_time); in test_request() local 234 GPR_ASSERT(gpr_time_cmp(max_latency, g_client_latency) >= 0); in test_request() 236 GPR_ASSERT(gpr_time_cmp(max_latency, g_server_latency) >= 0); in test_request()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstpipeline.c | 678 GstClockTime min_latency, max_latency; in gst_pipeline_do_latency() local 694 gst_query_parse_latency (query, &live, &min_latency, &max_latency); in gst_pipeline_do_latency() 699 GST_TIME_ARGS (max_latency), live); in gst_pipeline_do_latency() 701 if (max_latency < min_latency) { in gst_pipeline_do_latency() 707 GST_TIME_ARGS (max_latency), GST_TIME_ARGS (min_latency))); in gst_pipeline_do_latency()
|
/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | gstv4l2src.c | 778 GstClockTime min_latency, max_latency; in gst_v4l2src_query() local 807 num_buffers = GST_V4L2_BUFFER_POOL_CAST (obj->pool)->max_latency; in gst_v4l2src_query() 810 max_latency = -1; in gst_v4l2src_query() 812 max_latency = num_buffers * min_latency; in gst_v4l2src_query() 816 GST_TIME_ARGS (min_latency), GST_TIME_ARGS (max_latency)); in gst_v4l2src_query() 820 gst_query_set_latency (query, TRUE, min_latency, max_latency); in gst_v4l2src_query()
|
D | gstv4l2bufferpool.h | 87 guint max_latency; /* number of buffers we can hold */ member
|
/third_party/gstreamer/gstplugins_bad/sys/decklink/ |
D | gstdecklinkaudiosink.cpp | 403 GstClockTime base_latency, min_latency, max_latency; in gst_decklink_audio_sink_query() local 424 max_latency = in gst_decklink_audio_sink_query() 436 GST_TIME_ARGS (max_latency)); in gst_decklink_audio_sink_query() 441 max_latency = max_l; in gst_decklink_audio_sink_query() 443 gst_query_set_latency (query, live, min_latency, max_latency); in gst_decklink_audio_sink_query()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudioencoder.c | 173 GstClockTime max_latency; member 455 enc->priv->ctx.max_latency = 0; in gst_audio_encoder_init() 2008 GstClockTime min_latency, max_latency; in gst_audio_encoder_src_query_default() local 2010 gst_query_parse_latency (query, &live, &min_latency, &max_latency); in gst_audio_encoder_src_query_default() 2013 GST_TIME_ARGS (min_latency), GST_TIME_ARGS (max_latency)); in gst_audio_encoder_src_query_default() 2018 if (max_latency == -1 || enc->priv->ctx.max_latency == -1) in gst_audio_encoder_src_query_default() 2019 max_latency = -1; in gst_audio_encoder_src_query_default() 2021 max_latency += enc->priv->ctx.max_latency; in gst_audio_encoder_src_query_default() 2024 gst_query_set_latency (query, live, min_latency, max_latency); in gst_audio_encoder_src_query_default() 2340 enc->priv->ctx.max_latency = max; in gst_audio_encoder_set_latency() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/ |
D | gstaudiovisualizer.c | 1344 GstClockTime min_latency, max_latency; in gst_audio_visualizer_src_query() local 1354 gst_query_parse_latency (query, &us_live, &min_latency, &max_latency); in gst_audio_visualizer_src_query() 1358 GST_TIME_ARGS (min_latency), GST_TIME_ARGS (max_latency)); in gst_audio_visualizer_src_query() 1370 if (max_latency != -1) in gst_audio_visualizer_src_query() 1371 max_latency += our_latency; in gst_audio_visualizer_src_query() 1375 GST_TIME_ARGS (min_latency), GST_TIME_ARGS (max_latency)); in gst_audio_visualizer_src_query() 1377 gst_query_set_latency (query, TRUE, min_latency, max_latency); in gst_audio_visualizer_src_query()
|
/third_party/gstreamer/gstplugins_bad/sys/winks/ |
D | gstksvideodevice.h | 77 …vice_get_latency (GstKsVideoDevice * self, GstClockTime * min_latency, GstClockTime * max_latency);
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/ |
D | gsth265picture.c | 485 gst_h265_dpb_check_latency_count (GstH265Dpb * dpb, guint32 max_latency) in gst_h265_dpb_check_latency_count() argument 496 if (picture->pic_latency_cnt >= max_latency) in gst_h265_dpb_check_latency_count()
|