VART-X  0.3.0
vart::PreProcessInfo Struct Reference

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
 

Detailed Description

Structure storing pre-processing parameters.

Member Data Documentation

◆ colour_format

vart::PreProcessInfo::colour_format

Colour format of the required output frame.

◆ height

vart::PreProcessInfo::height

Height of the required output frame in pixels.

◆ mean_b

vart::PreProcessInfo::mean_b

Mean value for the blue channel, in [0.0, 128.0].

◆ mean_g

vart::PreProcessInfo::mean_g

Mean value for the green channel, in [0.0, 128.0].

◆ mean_r

vart::PreProcessInfo::mean_r

Mean value for the red channel, in [0.0, 128.0].

◆ preprocess_type

vart::PreProcessInfo::preprocess_type

Resize mode controlling whether aspect ratio is maintained.

◆ qt_fctr

vart::PreProcessInfo::qt_fctr

Quantization factor applied to the output values.

◆ scale_b

vart::PreProcessInfo::scale_b

Scale value for the blue channel, in [0.0, 1.0].

◆ scale_g

vart::PreProcessInfo::scale_g

Scale value for the green channel, in [0.0, 1.0].

◆ scale_r

vart::PreProcessInfo::scale_r

Scale value for the red channel, in [0.0, 1.0].

◆ symmetric_padding

vart::PreProcessInfo::symmetric_padding

If true, letterbox padding is applied symmetrically on both sides. Only relevant when preprocess_type is PreProcessType::LETTERBOX.

◆ width

vart::PreProcessInfo::width

Width of the required output frame in pixels.


The documentation for this struct was generated from the following file: