Skip to main content

StreamMetadataDefaults Struct

Defaults applied to a Sample by the StreamMetadata stage. More...

Declaration

struct simaai::neat::graph::StreamMetadataDefaults { ... }

Included Headers

#include <GraphMetadata.h>

Public Member Attributes Index

std::stringstream_id

Default stream id; used if the sample has none and fill_stream_id. More...

std::stringcaps_string

Default GStreamer caps string. More...

std::stringstream_label

Default stream label. More...

std::stringport_name

Default port name. More...

std::stringmedia_type

Default media type (e.g., "video/x-raw"). More...

std::stringformat

Default format (e.g., "NV12"). More...

std::stringpayload_tag

Default payload tag. More...

boolfill_stream_id = true

Auto-assign stream_id when missing. More...

boolfill_input_seq = true

Auto-assign input_seq when missing. More...

boolfill_orig_input_seq = true

Auto-assign orig_input_seq when missing. More...

Description

Defaults applied to a Sample by the StreamMetadata stage.

Each non-empty field is filled into the matching Sample field when missing. The fill_* flags control whether the executor should auto-assign stream_id, input_seq, and orig_input_seq when not present.

See Also

ensure_stream_metadata

See Also

simaai::neat::graph::nodes::StreamMetadata

Definition at line 28 of file GraphMetadata.h.

Public Member Attributes

caps_string

std::string simaai::neat::graph::StreamMetadataDefaults::caps_string

Default GStreamer caps string.

Definition at line 30 of file GraphMetadata.h.

30 std::string caps_string;

fill_input_seq

bool simaai::neat::graph::StreamMetadataDefaults::fill_input_seq = true

Auto-assign input_seq when missing.

Definition at line 37 of file GraphMetadata.h.

37 bool fill_input_seq = true;

fill_orig_input_seq

bool simaai::neat::graph::StreamMetadataDefaults::fill_orig_input_seq = true

Auto-assign orig_input_seq when missing.

Definition at line 38 of file GraphMetadata.h.

38 bool fill_orig_input_seq = true;

fill_stream_id

bool simaai::neat::graph::StreamMetadataDefaults::fill_stream_id = true

Auto-assign stream_id when missing.

Definition at line 36 of file GraphMetadata.h.

36 bool fill_stream_id = true;

format

std::string simaai::neat::graph::StreamMetadataDefaults::format

Default format (e.g., "NV12").

Definition at line 34 of file GraphMetadata.h.

34 std::string format;

media_type

std::string simaai::neat::graph::StreamMetadataDefaults::media_type

Default media type (e.g., "video/x-raw").

Definition at line 33 of file GraphMetadata.h.

33 std::string media_type;

payload_tag

std::string simaai::neat::graph::StreamMetadataDefaults::payload_tag

Default payload tag.

Definition at line 35 of file GraphMetadata.h.

35 std::string payload_tag;

port_name

std::string simaai::neat::graph::StreamMetadataDefaults::port_name

Default port name.

Definition at line 32 of file GraphMetadata.h.

32 std::string port_name;

stream_id

std::string simaai::neat::graph::StreamMetadataDefaults::stream_id

Default stream id; used if the sample has none and fill_stream_id.

Definition at line 29 of file GraphMetadata.h.

29 std::string stream_id;

stream_label

std::string simaai::neat::graph::StreamMetadataDefaults::stream_label

Default stream label.

Definition at line 31 of file GraphMetadata.h.

31 std::string stream_label;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.