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 280 of file PreprocessPlan.h.
Public Member Attributes
depth
|
Required channel count, or 0 if unbounded.
Definition at line 285 of file PreprocessPlan.h.
format
|
Format identifier (e.g., "RGB", "NV12").
Definition at line 282 of file PreprocessPlan.h.
height
|
Required height (px), or 0 if unbounded.
Definition at line 284 of file PreprocessPlan.h.
max_depth
|
Upper-bound channel count, or 0 if unbounded.
Definition at line 288 of file PreprocessPlan.h.
max_height
|
Upper-bound height (px), or 0 if unbounded.
Definition at line 287 of file PreprocessPlan.h.
max_width
|
Upper-bound width (px), or 0 if unbounded.
Definition at line 286 of file PreprocessPlan.h.
media_type
|
Media type string (e.g., "video/x-raw", "application/x-tensor").
Definition at line 281 of file PreprocessPlan.h.