Skip to main content

PendingVideoStore Class

Declaration

class simaai::neat::graph::strict_sync::PendingVideoStore { ... }

Included Headers

#include <StrictSync.h>

Public Constructors Index

PendingVideoStore (size_t streams)

Public Member Functions Index

boolenqueue (size_t idx, int64_t frame_id, simaai::neat::Sample &&sample, int64_t cap_ms, size_t bytes)
std::optional< PendingFrame >take (size_t idx, int64_t frame_id)
StreamStatsstats (size_t idx) const

Private Member Attributes Index

std::vector< StreamState >states_

Definition at line 27 of file StrictSync.h.

Public Constructors

PendingVideoStore()

simaai::neat::graph::strict_sync::PendingVideoStore::PendingVideoStore (size_t streams)
explicit

Definition at line 45 of file StrictSync.h.

Public Member Functions

enqueue()

bool simaai::neat::graph::strict_sync::PendingVideoStore::enqueue (size_t idx, int64_t frame_id, simaai::neat::Sample && sample, int64_t cap_ms, size_t bytes)

Definition at line 47 of file StrictSync.h.

stats()

StreamStats simaai::neat::graph::strict_sync::PendingVideoStore::stats (size_t idx)

Definition at line 52 of file StrictSync.h.

take()

std::optional<PendingFrame> simaai::neat::graph::strict_sync::PendingVideoStore::take (size_t idx, int64_t frame_id)

Definition at line 50 of file StrictSync.h.

Private Member Attributes

states_

std::vector<StreamState> simaai::neat::graph::strict_sync::PendingVideoStore::states_

Definition at line 63 of file StrictSync.h.

63 std::vector<StreamState> states_;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.