InputOptions Struct
Caps, buffering, and pool options for the Input Node. More...
Declaration
Included Headers
Public Member Attributes Index
| PayloadType | payload_type = PayloadType::Auto |
|
Public payload family. More... | |
| FormatSpec | format |
|
Pixel/tensor format descriptor. More... | |
| int | width = -1 |
|
Frame width, in pixels. -1 = unspecified. More... | |
| int | height = -1 |
|
Frame height, in pixels. -1 = unspecified. More... | |
| int | depth = -1 |
|
Frame depth (e.g. More... | |
| int | max_width = -1 |
|
Optional dynamic-input limits used for validation/pool sizing. More... | |
| int | max_height = -1 |
|
Max height accepted at push time. -1 = no cap. More... | |
| int | max_depth = -1 |
|
Max depth accepted at push time. More... | |
| int | fps_n = 0 |
|
Optional fixed framerate for caps (0/1 means "unspecified"). More... | |
| int | fps_d = 1 |
|
Framerate denominator. More... | |
| std::string | caps_override |
|
Optional full caps string override (used for multi-tensor caps). More... | |
| bool | is_live = true |
|
Mark the source as live (appsrc is-live). More... | |
| bool | do_timestamp = true |
|
Let appsrc stamp PTS on push. More... | |
| bool | block = true |
|
Block on pool exhaustion instead of dropping. More... | |
| int | stream_type = 0 |
|
GST_APP_STREAM_TYPE_STREAM by default. More... | |
| std::uint64_t | max_bytes = 0 |
|
appsrc max-bytes back-pressure threshold. 0 = unlimited. More... | |
| bool | use_simaai_pool = true |
| int | pool_min_buffers = 1 |
|
Minimum buffers held by the pool. More... | |
| int | pool_max_buffers = 2 |
|
Maximum buffers held by the pool. More... | |
| InputMemoryPolicy | memory_policy = InputMemoryPolicy::Auto |
|
Ingress allocation target policy used by appsrc input buffer allocation. More... | |
| std::string | buffer_name |
|
Optional GstSimaMeta buffer name override. Leave empty to avoid forcing a legacy default. More... | |
| std::optional< PreprocessMetaTemplate > | preprocess_meta |
|
Optional preprocess runtime metadata template used to annotate GstSimaMeta with geometry/affine context for downstream plugins (e.g. More... | |
Description
Caps, buffering, and pool options for the Input Node.
Definition at line 85 of file Input.h.
Public Member Attributes
block
|
Block on pool exhaustion instead of dropping.
Definition at line 104 of file Input.h.
buffer_name
|
Optional GstSimaMeta buffer name override. Leave empty to avoid forcing a legacy default.
Definition at line 122 of file Input.h.