Home
last modified time | relevance | path

Searched refs:next_sample (Results 1 – 21 of 21) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/ladspa/
Dgstladspasource.c198 gint64 next_sample; in gst_ladspa_source_type_do_seek() local
209 next_sample = gst_util_uint64_scale_int (time, samplerate, GST_SECOND); in gst_ladspa_source_type_do_seek()
210 ladspa->next_byte = next_sample * bpf; in gst_ladspa_source_type_do_seek()
215 gst_util_uint64_scale_round (next_sample, GST_SECOND, samplerate); in gst_ladspa_source_type_do_seek()
218 " next_time=%" GST_TIME_FORMAT, next_sample, in gst_ladspa_source_type_do_seek()
223 ladspa->next_sample = next_sample; in gst_ladspa_source_type_do_seek()
261 gint64 next_sample, next_byte; in gst_ladspa_source_type_fill() local
304 ladspa->next_sample = offset / bpf; in gst_ladspa_source_type_fill()
306 gst_util_uint64_scale_int (ladspa->next_sample, GST_SECOND, samplerate); in gst_ladspa_source_type_fill()
312 (ladspa->sample_stop > ladspa->next_sample) && in gst_ladspa_source_type_fill()
[all …]
Dgstladspasource.h60 gint64 next_sample; /* next sample to send */ member
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dgstlv2source.c60 gint64 next_sample; /* next sample to send */ member
249 gint64 next_sample; in gst_lv2_source_do_seek() local
260 next_sample = gst_util_uint64_scale_int (time, samplerate, GST_SECOND); in gst_lv2_source_do_seek()
261 lv2->next_byte = next_sample * bpf; in gst_lv2_source_do_seek()
266 gst_util_uint64_scale_round (next_sample, GST_SECOND, samplerate); in gst_lv2_source_do_seek()
269 " next_time=%" GST_TIME_FORMAT, next_sample, in gst_lv2_source_do_seek()
274 lv2->next_sample = next_sample; in gst_lv2_source_do_seek()
371 gint64 next_sample, next_byte; in gst_lv2_source_fill() local
417 lv2->next_sample = offset / bpf; in gst_lv2_source_fill()
419 gst_util_uint64_scale_int (lv2->next_sample, GST_SECOND, samplerate); in gst_lv2_source_fill()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/spandsp/
Dgsttonegeneratesrc.c209 src->next_sample = 0; in gst_tone_generate_src_start()
241 gint64 next_sample; in gst_tone_generate_src_fill() local
252 next_sample = src->next_sample + samples; in gst_tone_generate_src_fill()
254 next_time = gst_util_uint64_scale_int (next_sample, GST_SECOND, samplerate); in gst_tone_generate_src_fill()
258 next_sample, GST_TIME_ARGS (next_time)); in gst_tone_generate_src_fill()
260 GST_BUFFER_OFFSET (buffer) = src->next_sample; in gst_tone_generate_src_fill()
261 GST_BUFFER_OFFSET_END (buffer) = next_sample; in gst_tone_generate_src_fill()
268 src->next_sample = next_sample; in gst_tone_generate_src_fill()
Dgsttonegeneratesrc.h72 gint64 next_sample; /* next sample to send */ member
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.cc192 HashtablezInfo* SampleSlow(int64_t* next_sample) { in SampleSlow() argument
194 *next_sample = 1; in SampleSlow()
199 *next_sample = std::numeric_limits<int64_t>::max(); in SampleSlow()
202 bool first = *next_sample < 0; in SampleSlow()
203 *next_sample = g_exponential_biased_generator.GetStride( in SampleSlow()
206 ABSL_ASSERT(*next_sample >= 1); in SampleSlow()
216 if (ABSL_PREDICT_TRUE(--*next_sample > 0)) return nullptr; in SampleSlow()
217 return SampleSlow(next_sample); in SampleSlow()
Dhashtablez_sampler_test.cc195 int64_t next_sample = 0; in TEST() local
196 HashtablezInfo* sample = SampleSlow(&next_sample); in TEST()
197 EXPECT_GT(next_sample, 0); in TEST()
208 int64_t next_sample = 0; in TEST() local
209 HashtablezInfo* sample = SampleSlow(&next_sample); in TEST()
210 EXPECT_GT(next_sample, 0); in TEST()
Dhashtablez_sampler.h140 HashtablezInfo* SampleSlow(int64_t* next_sample);
/third_party/gstreamer/gstplugins_base/gst/audiotestsrc/
Dgstaudiotestsrc.c949 samplemod = (src->next_sample + i)%src->samples_between_ticks; \
1354 src->next_sample = 0; in gst_audio_test_src_start()
1380 gint64 next_sample; in gst_audio_test_src_do_seek() local
1391 next_sample = gst_util_uint64_scale_int (time, samplerate, GST_SECOND); in gst_audio_test_src_do_seek()
1392 src->next_byte = next_sample * bpf; in gst_audio_test_src_do_seek()
1397 gst_util_uint64_scale_round (next_sample, GST_SECOND, samplerate); in gst_audio_test_src_do_seek()
1400 " next_time=%" GST_TIME_FORMAT, next_sample, in gst_audio_test_src_do_seek()
1405 src->next_sample = next_sample; in gst_audio_test_src_do_seek()
1438 gint64 next_sample, next_byte; in gst_audio_test_src_fill() local
1484 src->next_sample = offset / bpf; in gst_audio_test_src_fill()
[all …]
Dgstaudiotestsrc.h114 gint64 next_sample; /* next sample to send */ member
/third_party/ffmpeg/libavformat/
Dsegafilm.c276 film_sample *next_sample = NULL; in film_read_packet() local
288 while (next_sample == NULL) { in film_read_packet()
292 next_sample = &film->sample_table[next_sample_id]; in film_read_packet()
293 if (next_sample->stream != sample->stream) { in film_read_packet()
294 next_sample = NULL; in film_read_packet()
310 if (next_sample != NULL) in film_read_packet()
311 pkt->duration = next_sample->pts - sample->pts; in film_read_packet()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiobasesrc.c679 src->next_sample = -1; in gst_audio_base_src_event()
707 sample = src->next_sample; in gst_audio_base_src_get_offset()
765 gboolean first_sample = src->next_sample == -1; in gst_audio_base_src_create()
788 if (src->next_sample != -1 && sample != src->next_sample) in gst_audio_base_src_create()
843 if (G_UNLIKELY (sample != src->next_sample) && src->next_sample != -1) { in gst_audio_base_src_create()
846 G_GUINT64_FORMAT, sample - src->next_sample, sample); in gst_audio_base_src_create()
851 sample - src->next_sample)); in gst_audio_base_src_create()
855 src->next_sample = sample + samples; in gst_audio_base_src_create()
859 duration = gst_util_uint64_scale_int (src->next_sample, GST_SECOND, in gst_audio_base_src_create()
967 src->next_sample = new_sample + samples; in gst_audio_base_src_create()
[all …]
Dgstaudiobasesink.c1041 sink->next_sample = -1; in gst_audio_base_sink_reset_sync()
1206 sample = sink->next_sample; in gst_audio_base_sink_get_offset()
1312 sink->next_sample = -1; in gst_audio_base_sink_custom_slaving()
1316 G_GUINT64_FORMAT, last_align, driftsamples, sink->next_sample); in gst_audio_base_sink_custom_slaving()
1330 sink->next_sample = -1; in gst_audio_base_sink_custom_slaving()
1334 G_GUINT64_FORMAT, last_align, driftsamples, sink->next_sample); in gst_audio_base_sink_custom_slaving()
1481 sink->next_sample = -1; in gst_audio_base_sink_skew_slaving()
1485 G_GUINT64_FORMAT, last_align, driftsamples, sink->next_sample); in gst_audio_base_sink_skew_slaving()
1509 sink->next_sample = -1; in gst_audio_base_sink_skew_slaving()
1513 G_GUINT64_FORMAT, last_align, driftsamples, sink->next_sample); in gst_audio_base_sink_skew_slaving()
[all …]
Dgstaudiobasesrc.h106 guint64 next_sample; member
Dgstaudiobasesink.h184 guint64 next_sample; member
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_functions.cc80 void cordz_set_next_sample_for_testing(int64_t next_sample) { in cordz_set_next_sample_for_testing() argument
81 cordz_next_sample = next_sample; in cordz_set_next_sample_for_testing()
Dcordz_functions.h72 void cordz_set_next_sample_for_testing(int64_t next_sample);
/third_party/gstreamer/gstplugins_bad/sys/uvch264/
Dgstuvch264_mjpgdemux.c363 guint32 next_sample; in _pts_to_timestamp() local
380 next_sample = (self->last_sample + 1) % self->num_clock_samples; in _pts_to_timestamp()
381 current_sample = &self->clock_samples[next_sample]; in _pts_to_timestamp()
389 self->last_sample = next_sample; in _pts_to_timestamp()
407 next_sample = (self->last_sample + 1) % self->num_clock_samples; in _pts_to_timestamp()
408 oldest_sample = &self->clock_samples[next_sample]; in _pts_to_timestamp()
/third_party/ffmpeg/libavcodec/
Dadpcm.c1588 int previous_sample, current_sample, next_sample; in adpcm_decode_frame() local
1628 next_sample = (unsigned)sign_extend(byte, 4) << shift; in adpcm_decode_frame()
1631 next_sample = (unsigned)sign_extend(byte >> 4, 4) << shift; in adpcm_decode_frame()
1634 next_sample += (current_sample * coeff1) + in adpcm_decode_frame()
1636 next_sample = av_clip_int16(next_sample >> 8); in adpcm_decode_frame()
1639 current_sample = next_sample; in adpcm_decode_frame()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux.c6589 const QtDemuxSample *next_sample; in gst_qtdemux_loop_state_movie() local
6601 next_sample = &stream->samples[stream->sample_index]; in gst_qtdemux_loop_state_movie()
6605 if (next_sample->offset != expected_next_offset) { in gst_qtdemux_loop_state_movie()
6610 accumulated_size += next_sample->size; in gst_qtdemux_loop_state_movie()
6611 expected_next_offset += next_sample->size; in gst_qtdemux_loop_state_movie()
/third_party/gstreamer/gstplugins_base/
DChangeLog77575 In SKEW mode, use next_sample == -1 to check for the first sample