InputOptions Struct
Caps, buffering, and pool options for the Input Node. More...
Declaration
Included Headers
Public Member Attributes Index
| std::string | media_type = ... |
|
Top-level GStreamer media type for the negotiated caps. 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 |
|
Allocate from the SiMa-aware buffer pool. More... | |
| 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 74 of file Input.h.
Public Member Attributes
block
|
buffer_name
|
Optional GstSimaMeta buffer name override. Leave empty to avoid forcing a legacy default.
Definition at line 106 of file Input.h.
caps_override
|
Optional full caps string override (used for multi-tensor caps).
Definition at line 90 of file Input.h.
depth
|
do_timestamp
|
format
|
fps_d
|
fps_n
|
height
|
is_live
|
max_bytes
|
max_depth
|
max_height
|
Max height accepted at push time. -1 = no cap.
Definition at line 84 of file Input.h.
max_width
|
media_type
|
Top-level GStreamer media type for the negotiated caps.
- Initialiser
-
= "video/x-raw"
Definition at line 75 of file Input.h.
memory_policy
|
Ingress allocation target policy used by appsrc input buffer allocation.
Auto keeps legacy target selection unless caller/model/session overrides.
pool_max_buffers
|
Maximum buffers held by the pool.
Definition at line 100 of file Input.h.
pool_min_buffers
|
Minimum buffers held by the pool.
Definition at line 99 of file Input.h.
preprocess_meta
|
Optional preprocess runtime metadata template used to annotate GstSimaMeta with geometry/affine context for downstream plugins (e.g.
box decode).
Definition at line 110 of file Input.h.
stream_type
|
GST_APP_STREAM_TYPE_STREAM by default.
Definition at line 95 of file Input.h.
use_simaai_pool
|
Allocate from the SiMa-aware buffer pool.
Definition at line 98 of file Input.h.
width
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.