|
VART-X
0.3.0
|
Structure storing pre-processing parameters. More...
#include <vart_preprocess_types.hpp>
Public Attributes | |
| float | qt_fctr |
| float | mean_r |
| float | mean_g |
| float | mean_b |
| float | scale_r |
| float | scale_g |
| float | scale_b |
| uint32_t | height |
| uint32_t | width |
| VideoFormat | colour_format |
| PreProcessType | preprocess_type |
| bool | symmetric_padding |
Structure storing pre-processing parameters.
| vart::PreProcessInfo::colour_format |
Colour format of the required output frame.
| vart::PreProcessInfo::height |
Height of the required output frame in pixels.
| vart::PreProcessInfo::mean_b |
Mean value for the blue channel, in [0.0, 128.0].
| vart::PreProcessInfo::mean_g |
Mean value for the green channel, in [0.0, 128.0].
| vart::PreProcessInfo::mean_r |
Mean value for the red channel, in [0.0, 128.0].
| vart::PreProcessInfo::preprocess_type |
Resize mode controlling whether aspect ratio is maintained.
| vart::PreProcessInfo::qt_fctr |
Quantization factor applied to the output values.
| vart::PreProcessInfo::scale_b |
Scale value for the blue channel, in [0.0, 1.0].
| vart::PreProcessInfo::scale_g |
Scale value for the green channel, in [0.0, 1.0].
| vart::PreProcessInfo::scale_r |
Scale value for the red channel, in [0.0, 1.0].
| vart::PreProcessInfo::symmetric_padding |
If true, letterbox padding is applied symmetrically on both sides. Only relevant when preprocess_type is PreProcessType::LETTERBOX.
| vart::PreProcessInfo::width |
Width of the required output frame in pixels.