graph Namespace
Definition
Namespaces Index
| namespace | dsl |
| namespace | helpers |
| namespace | nodes |
| namespace | runtime |
| namespace | strict_sync |
Classes Index
| struct | CompiledGraph |
|
Result produced by Compiler::compile: pipelines, stages, edges, specs, and port names. More... | |
| struct | CompiledPipelineSegment |
|
Compiled view of a contiguous pipeline-backend segment in the runtime graph. More... | |
| struct | CompiledStageNode |
|
Compiled record for a single stage-backend node in the runtime graph. More... | |
| class | Compiler |
|
Runtime-graph compiler that partitions a Graph into pipeline segments and stages. More... | |
| struct | Edge |
|
Directed connection from one node's output port to another node's input port. More... | |
| struct | EdgeSpec |
|
Per-edge spec captured by the compiler — the propagated OutputSpec and a completeness flag. More... | |
| class | Graph |
|
Directed acyclic graph of hybrid nodes with named ports. More... | |
| class | GraphPrinter |
|
Pretty-printer for runtime Graph instances; emits text, dot, or mermaid. More... | |
| class | GraphRun |
| struct | GraphRunOptions |
|
Tuning knobs for a GraphRun — queue capacities, push/pull timeouts, verbosity. More... | |
| struct | GraphRunPullOptions |
|
Tuning knobs for GraphRun::pull_until() / PullSession::run(). More... | |
| struct | GraphRunStats |
|
Per-node, per-stream telemetry collector for a running GraphRun. More... | |
| class | GraphSession |
|
Builder for a runtime graph — compile a Graph into a runnable GraphRun. More... | |
| class | Node |
|
Base class for hybrid graph nodes. More... | |
| struct | PortDesc |
|
Description of one input or output port on a graph node. More... | |
| class | StageEmitter |
|
Runtime-owned output handle for stages that stream while on_input() is active. More... | |
| class | StageExecutor |
|
Actor-style executor base class — implement to add a new runtime-graph stage. More... | |
| struct | StageMsg |
|
A single input message handed to a StageExecutor. More... | |
| struct | StageOutMsg |
|
A single output message produced by a StageExecutor. More... | |
| struct | StagePorts |
|
Resolved port-id table for a stage — populated by the runtime before start(). More... | |
| struct | StreamMetadataDefaults |
|
Defaults applied to a Sample by the StreamMetadata stage. More... | |
Typedefs Index
| using | NodeId = std::size_t |
|
Strongly-typed graph node identifier. More... | |
| using | PortId = std::uint32_t |
|
Strongly-typed graph port identifier (per-node). More... | |
Enumerations Index
| enum class | Backend { ... } |
|
Backend a graph node executes on (legacy GStreamer pipeline vs hybrid Stage runtime). More... | |
Functions Index
| void | ensure_stream_metadata (Sample &sample, const StreamMetadataDefaults &defaults, std::unordered_map< std::string, int64_t > *next_seq=nullptr) |
|
Apply StreamMetadataDefaults to a sample, filling in missing fields. More... | |
Variables Index
| static constexpr NodeId | kInvalidNode = static_cast<NodeId>(-1) |
|
Sentinel value for an unset/invalid NodeId. More... | |
| static constexpr PortId | kInvalidPort = static_cast<PortId>(-1) |
|
Sentinel value for an unset/invalid PortId. More... | |
Typedefs
NodeId
|
Strongly-typed graph node identifier.
Definition at line 23 of file GraphTypes.h.
PortId
|
Strongly-typed graph port identifier (per-node).
Definition at line 25 of file GraphTypes.h.
Enumerations
Backend
| strong |
Backend a graph node executes on (legacy GStreamer pipeline vs hybrid Stage runtime).
- Enumeration values
-
Pipeline Node runs as a GStreamer element inside the pipeline backend Stage Node runs as a Stage in the hybrid graph runtime
Definition at line 17 of file GraphTypes.h.
Functions
ensure_stream_metadata()
| inline |
Apply StreamMetadataDefaults to a sample, filling in missing fields.
Fills stream_id, sequence numbers, caps string, labels, media type, format, and payload tag on sample from defaults where the sample lacks values. The optional next_seq map is used to mint per-stream input_seq values when neither the sample nor defaults supply one.
- Parameters
-
sample Sample to mutate in place.
defaults Defaults source.
next_seq Optional per-stream sequence counter, keyed by stream id.
Definition at line 53 of file GraphMetadata.h.
Variables
kInvalidNode
| constexpr static |
Sentinel value for an unset/invalid NodeId.
Definition at line 28 of file GraphTypes.h.
kInvalidPort
| constexpr static |
Sentinel value for an unset/invalid PortId.
Definition at line 30 of file GraphTypes.h.
The documentation for this namespace was generated from the following files:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.