PreprocessContract Struct
Per-input contract describing what the preprocess stage expects to receive. More...
Declaration
Included Headers
Public Member Attributes Index
| std::string | media_type |
|
Media type string (e.g., "video/x-raw", "application/x-tensor"). More... | |
| std::string | format |
|
Format identifier (e.g., "RGB", "NV12"). More... | |
| int | width = 0 |
|
Required width (px), or 0 if unbounded. More... | |
| int | height = 0 |
|
Required height (px), or 0 if unbounded. More... | |
| int | depth = 0 |
|
Required channel count, or 0 if unbounded. More... | |
| int | max_width = 0 |
|
Upper-bound width (px), or 0 if unbounded. More... | |
| int | max_height = 0 |
|
Upper-bound height (px), or 0 if unbounded. More... | |
| int | max_depth = 0 |
|
Upper-bound channel count, or 0 if unbounded. More... | |
Description
Per-input contract describing what the preprocess stage expects to receive.
Several of these may exist if the model has multiple inputs. Used by the planner to validate caps and by GStreamer caps negotiation.
Definition at line 260 of file PreprocessPlan.h.
Public Member Attributes
depth
|
Required channel count, or 0 if unbounded.
Definition at line 265 of file PreprocessPlan.h.
format
|
Format identifier (e.g., "RGB", "NV12").
Definition at line 262 of file PreprocessPlan.h.
height
|
Required height (px), or 0 if unbounded.
Definition at line 264 of file PreprocessPlan.h.
max_depth
|
Upper-bound channel count, or 0 if unbounded.
Definition at line 268 of file PreprocessPlan.h.
max_height
|
Upper-bound height (px), or 0 if unbounded.
Definition at line 267 of file PreprocessPlan.h.
max_width
|
Upper-bound width (px), or 0 if unbounded.
Definition at line 266 of file PreprocessPlan.h.
media_type
|
Media type string (e.g., "video/x-raw", "application/x-tensor").
Definition at line 261 of file PreprocessPlan.h.
width
|
Required width (px), or 0 if unbounded.
Definition at line 263 of file PreprocessPlan.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.