Skip to main content

StreamState Struct

Per-stream internal state: pending frames keyed by frame_id plus accounting. More...

Declaration

struct simaai::neat::graph::strict_sync::PendingVideoStore::StreamState { ... }

Public Member Attributes Index

std::mutexmu

Guards the per-stream state. More...

std::unordered_map< int64_t, PendingFrame >pending

Pending frames keyed by frame_id. More...

std::deque< int64_t >order

Frame ids in arrival order. More...

size_tbytes_total = 0

Current bytes held in the store. More...

StreamStatsstats

Per-stream counters. More...

Description

Per-stream internal state: pending frames keyed by frame_id plus accounting.

Definition at line 73 of file StrictSync.h.

Public Member Attributes

bytes_total

size_t simaai::neat::graph::strict_sync::PendingVideoStore::StreamState::bytes_total = 0

Current bytes held in the store.

Definition at line 77 of file StrictSync.h.

77 size_t bytes_total = 0;

mu

std::mutex simaai::neat::graph::strict_sync::PendingVideoStore::StreamState::mu
mutable

Guards the per-stream state.

Definition at line 74 of file StrictSync.h.

74 mutable std::mutex mu;

order

std::deque<int64_t> simaai::neat::graph::strict_sync::PendingVideoStore::StreamState::order

Frame ids in arrival order.

Definition at line 76 of file StrictSync.h.

76 std::deque<int64_t> order;

pending

std::unordered_map<int64_t, PendingFrame> simaai::neat::graph::strict_sync::PendingVideoStore::StreamState::pending

Pending frames keyed by frame_id.

Definition at line 75 of file StrictSync.h.

75 std::unordered_map<int64_t, PendingFrame> pending;

stats

StreamStats simaai::neat::graph::strict_sync::PendingVideoStore::StreamState::stats

Per-stream counters.

Definition at line 78 of file StrictSync.h.

78 StreamStats stats;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.