|
VART-X
0.4.0
|
Structure storing pre-processing parameters. More...
#include <vart_preprocess_types.hpp>
Public Attributes | |
| float | qt_fctr = 1.0f |
| float | mean_r = 0.0f |
| float | mean_g = 0.0f |
| float | mean_b = 0.0f |
| float | scale_r = 1.0f |
| float | scale_g = 1.0f |
| float | scale_b = 1.0f |
| uint32_t | height = 0 |
| uint32_t | width = 0 |
| VideoFormat | colour_format = VideoFormat::UNKNOWN |
| PreProcessType | preprocess_type = PreProcessType::DEFAULT |
| bool | maintain_aspect_ratio = false |
| bool | symmetric_padding = false |
Structure storing pre-processing parameters.
| vart::PreProcessInfo::colour_format = VideoFormat::UNKNOWN |
Colour format of the required output frame.
| vart::PreProcessInfo::height = 0 |
Height of the required output frame in pixels.
| vart::PreProcessInfo::maintain_aspect_ratio = false |
When true and preprocess_type is DEFAULT, the output rect is shrunk to preserve the source aspect ratio. Default is false. Ignored for PANSCAN and LETTERBOX.
| vart::PreProcessInfo::mean_b = 0.0f |
Mean value for the blue channel, in [0.0, 128.0].
| vart::PreProcessInfo::mean_g = 0.0f |
Mean value for the green channel, in [0.0, 128.0].
| vart::PreProcessInfo::mean_r = 0.0f |
Mean value for the red channel, in [0.0, 128.0].
| vart::PreProcessInfo::preprocess_type = PreProcessType::DEFAULT |
Scaling policy. See PreProcessType.
| vart::PreProcessInfo::qt_fctr = 1.0f |
Quantization factor applied to the output values.
| vart::PreProcessInfo::scale_b = 1.0f |
Scale value for the blue channel, in [0.0, 1.0].
| vart::PreProcessInfo::scale_g = 1.0f |
Scale value for the green channel, in [0.0, 1.0].
| vart::PreProcessInfo::scale_r = 1.0f |
Scale value for the red channel, in [0.0, 1.0].
| vart::PreProcessInfo::symmetric_padding = false |
When true and preprocess_type is DEFAULT with maintain_aspect_ratio enabled, padding is split equally on both sides (centered). Ignored for PANSCAN and LETTERBOX. Default is false.
| vart::PreProcessInfo::width = 0 |
Width of the required output frame in pixels.