54#include <StormByte/safe/mutex.hxx>
55#include <StormByte/safe/optional.hxx>
56#include <StormByte/safe/pointers.hxx>
57#include <StormByte/safe/string.hxx>
58#include <StormByte/thread_lock.hxx>
59#include <StormByte/type_traits/safe.hxx>
308 double All() const noexcept;
352 void BeginDurationCalculation() noexcept;
358 void SetDurationCalculation(
StormByte::
Safe::Optional<
double> percent) noexcept;
362 mutable
std::uint32_t m_lockDepth = 0;
363 bool m_calculatingDuration = false;
364 mutable
char m_durationIndicator =
'|';
383 void SetDurationNs(
std::int64_t ns) noexcept;
389 void SetMeasureNs(
std::int64_t ns) noexcept;
395 void SetPassNs(
std::int64_t ns) noexcept;
401 void SetAnalyticsNs(
std::int64_t ns) noexcept;
406 void MeasureDone() noexcept;
411 void MuxDone() noexcept;
416 void AnalyticsDone() noexcept;
424 static
double Axis(
std::int64_t pos,
std::int64_t dur) noexcept;
426 bool m_hasMeasure = false;
427 bool m_hasAnalytics = false;
428 bool m_measureDone = false;
429 bool m_muxDone = false;
430 bool m_analyticsDone = false;
431 std::int64_t m_durationNs = 0;
432 std::int64_t m_measureNs = 0;
433 std::int64_t m_passNs = 0;
434 std::int64_t m_analyticsNs = 0;
435 mutable
double m_all = 0.0;
STORMBYTE_DECLARE_MAYBE_SAFE(StormByte::Buffer::Bridge)
Pipeline Demux / decode / filter / encode / mux types.
Root namespace of the StormByte C++ suite.
#define STORMBYTE_MULTIMEDIA_PUBLIC
Definition visibility.h:61