PreprocessMetaTemplate Struct
Preprocess metadata template attached to ingress buffers. More...
Declaration
Included Headers
Public Member Attributes Index
| bool | enabled = false |
|
If false, no preprocess metadata is emitted. More... | |
| int | target_width = 0 |
| int | target_height = 0 |
| int | scaled_width = 0 |
|
Width of the scaled content within the target frame. More... | |
| int | scaled_height = 0 |
|
Height of the scaled content within the target frame. More... | |
| std::string | resize_mode = "none" |
|
Resize/letterbox strategy label (none, fit, etc.). More... | |
| int | pad_value = 0 |
|
Pad fill value used by letterboxing. More... | |
| std::string | color_in |
| std::string | color_out |
| std::vector< int > | axis_perm |
|
Axis permutation applied by preprocess layout_convert, if any. More... | |
| bool | normalize = false |
|
True if preprocess applies normalization. More... | |
| bool | quantize = false |
|
True if preprocess applies quantization. More... | |
| bool | tessellate = false |
|
True if preprocess applies tessellation. More... | |
| bool | roi_list_enabled = false |
|
True when runtime ROI-list metadata is emitted. More... | |
| std::vector< PreprocessRoi > | rois |
|
Runtime ROI windows in output-slot order. More... | |
| int | roi_input_batch_size = 0 |
|
Number of source images available to ROI batch indices. More... | |
| int | roi_source_width = 0 |
|
Source image width for runtime ROI extraction. More... | |
| int | roi_source_height = 0 |
|
Source image height for runtime ROI extraction. More... | |
| int | roi_source_stride_bytes = 0 |
|
Source row stride in bytes for runtime ROI extraction. More... | |
| int | roi_pad_value = 0 |
|
Pad value used for out-of-frame ROI pixels. More... | |
Description
Preprocess metadata template attached to ingress buffers.
Annotates GstSimaMeta with affine/geometry context so downstream plugins (e.g. detection-box decoders) can map model outputs back to original frame coordinates.
Definition at line 38 of file Input.h.
Public Member Attributes
axis_perm
|
Axis permutation applied by preprocess layout_convert, if any.
Definition at line 50 of file Input.h.
color_in
|
color_out
|
enabled
|
If false, no preprocess metadata is emitted.
Definition at line 39 of file Input.h.
normalize
|
True if preprocess applies normalization.
Definition at line 52 of file Input.h.
pad_value
|
Pad fill value used by letterboxing.
Definition at line 45 of file Input.h.