Home
last modified time | relevance | path

Searched refs:last_sample (Results 1 – 12 of 12) sorted by relevance

/third_party/abseil-cpp/absl/time/
Dclock.cc252 static struct TimeSampleAtomic last_sample; // the last sample; under seq variable
322 base_ns = last_sample.base_ns.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
323 base_cycles = last_sample.base_cycles.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
325 last_sample.nsscaled_per_cycle.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
327 last_sample.min_cycles_per_sample.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
410 ReadTimeSampleAtomic(&last_sample, &sample); in GetCurrentTimeNanosSlowPath()
450 last_sample.raw_ns.store(now_ns, std::memory_order_relaxed); in UpdateLastSample()
451 last_sample.base_ns.store(estimated_base_ns, std::memory_order_relaxed); in UpdateLastSample()
452 last_sample.base_cycles.store(now_cycles, std::memory_order_relaxed); in UpdateLastSample()
453 last_sample.nsscaled_per_cycle.store(0, std::memory_order_relaxed); in UpdateLastSample()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dclock.cc174 TimeSampleAtomic last_sample; // the last sample; under seq member
326 base_ns = time_state.last_sample.base_ns.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
328 time_state.last_sample.base_cycles.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
330 time_state.last_sample.nsscaled_per_cycle.load(std::memory_order_relaxed); in GetCurrentTimeNanos()
331 min_cycles_per_sample = time_state.last_sample.min_cycles_per_sample.load( in GetCurrentTimeNanos()
416 ReadTimeSampleAtomic(&time_state.last_sample, &sample); in GetCurrentTimeNanosSlowPath()
457 time_state.last_sample.raw_ns.store(now_ns, std::memory_order_relaxed); in UpdateLastSample()
458 time_state.last_sample.base_ns.store(estimated_base_ns, in UpdateLastSample()
460 time_state.last_sample.base_cycles.store(now_cycles, in UpdateLastSample()
462 time_state.last_sample.nsscaled_per_cycle.store(0, in UpdateLastSample()
[all …]
/third_party/gstreamer/gstreamer/tests/check/libs/
Dbasesink.c33 GstSample *last_sample; in GST_START_TEST() local
58 g_object_get (sink, "last-sample", &last_sample, NULL); in GST_START_TEST()
59 fail_unless (last_sample != NULL); in GST_START_TEST()
60 gst_sample_unref (last_sample); in GST_START_TEST()
66 g_object_get (sink, "last-sample", &last_sample, NULL); in GST_START_TEST()
67 fail_unless (last_sample == NULL); in GST_START_TEST()
84 GstSample *last_sample; in GST_START_TEST() local
107 g_object_get (sink, "last-sample", &last_sample, NULL); in GST_START_TEST()
108 fail_unless (last_sample == NULL); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/sys/uvch264/
Dgstuvch264_mjpgdemux.c270 if (self->last_sample >= self->num_samples) in gst_uvc_h264_mjpg_demux_set_property()
271 self->last_sample = self->num_samples - 1; in gst_uvc_h264_mjpg_demux_set_property()
276 self->last_sample = -1; in gst_uvc_h264_mjpg_demux_set_property()
283 self->last_sample = -1; in gst_uvc_h264_mjpg_demux_set_property()
375 self->clock_samples[self->last_sample].dev_sof == dev_sof) { in _pts_to_timestamp()
376 current_sample = &self->clock_samples[self->last_sample]; in _pts_to_timestamp()
378 next_sample = (self->last_sample + 1) % self->num_clock_samples; in _pts_to_timestamp()
387 self->last_sample = next_sample; in _pts_to_timestamp()
405 next_sample = (self->last_sample + 1) % self->num_clock_samples; in _pts_to_timestamp()
Dgstuvch264_mjpgdemux.h79 int last_sample; member
/third_party/gstreamer/gstplugins_bad/ext/fluidsynth/
Dgstfluiddec.h66 guint64 last_sample; member
Dgstfluiddec.c358 samples = sample - fluiddec->last_sample; in produce_samples()
360 offset = fluiddec->last_sample; in produce_samples()
364 fluiddec->last_sample = sample; in produce_samples()
496 fluiddec->last_sample = sample; in gst_fluid_dec_chain()
/third_party/libsnd/src/
Ddwvw.c43 int bit_count, bits, last_delta_width, last_sample ; member
311 sample = pdwvw->last_sample ; in dwvw_decode_data()
354 pdwvw->last_sample = sample ; in dwvw_decode_data()
488 { delta = (ptr [count] >> (32 - pdwvw->bit_width)) - pdwvw->last_sample ; in dwvw_encode_data()
548 pdwvw->last_sample = ptr [count] >> (32 - pdwvw->bit_width) ; in dwvw_encode_data()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dcompositor.c1432 GstSample *last_sample = NULL; in GST_START_TEST() local
1472 if (last_sample) in GST_START_TEST()
1473 gst_sample_unref (last_sample); in GST_START_TEST()
1474 last_sample = sample; in GST_START_TEST()
1477 buf = gst_sample_get_buffer (last_sample); in GST_START_TEST()
1480 gst_sample_unref (last_sample); in GST_START_TEST()
1534 GstSample *last_sample = NULL; in _test_obscured() local
1599 if (last_sample) in _test_obscured()
1600 gst_sample_unref (last_sample); in _test_obscured()
1601 last_sample = sample; in _test_obscured()
[all …]
Dplaybin.c85 GstSample *last_sample; in GST_START_TEST() local
133 g_object_get (playbin, "sample", &last_sample, NULL); in GST_START_TEST()
134 fail_unless (GST_IS_SAMPLE (last_sample)); in GST_START_TEST()
135 gst_sample_unref (last_sample); in GST_START_TEST()
Daudiomixer.c1550 GstSample *last_sample = NULL; in GST_START_TEST() local
1591 if (last_sample) in GST_START_TEST()
1592 gst_sample_unref (last_sample); in GST_START_TEST()
1593 last_sample = sample; in GST_START_TEST()
1596 buf = gst_sample_get_buffer (last_sample); in GST_START_TEST()
1599 gst_sample_unref (last_sample); in GST_START_TEST()
/third_party/gstreamer/gstreamer/
DChangeLog23234 except this last_sample one.
28615 basesink: copy last_sample on DRAIN