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.