38 class PreProcessImplBase;
94 void process(std::vector<PreProcessOp>& preprocess_ops);
160 std::shared_ptr<PreProcessImplBase> pimpl;
The preprocessing module handles data preparation tasks such as normalization, scaling,...
Definition: vart_preprocess.hpp:51
const PreProcessInfo & get_preprocess_info()
get_preprocess_info() - Get the preprocess info
const VideoInfo & get_output_vinfo()
get_output_vinfo() - Get the output video info.
const std::shared_ptr< PreProcessImplBase > & get_pimpl_handle() const
get_pimpl_handle() - Returns the underlying implementation handle.
void set_preprocess_info(PreProcessInfo &preprocess_info)
set_preprocess_info() - Set the required Preprocess parameters.
void get_input_vinfo(int32_t height, int32_t width, VideoFormat fmt, VideoInfo &vinfo)
get_input_vinfo() - Fills the input video info from input params.
PreProcess(PreProcessImplType type, std::string &json_data, std::shared_ptr< Device > device)
PreProcess() - Constructor with implementation type and json data.
PreProcess(std::shared_ptr< PreProcessImplBase > ptr)
PreProcess() - Constructor for using user defined implementation.
void process(std::vector< PreProcessOp > &preprocess_ops)
process() - Perform pre-processing based on the specified parameters.
VART (Vitis AI Runtime) public API namespace.
VideoFormat
Represents video color formats supported by VART core APIs.
Definition: vart_videoframe_types.hpp:47
PreProcessImplType
Selects the pre-processing backend implementation to use.
Definition: vart_preprocess_types.hpp:32
Structure storing pre-processing parameters.
Definition: vart_preprocess_types.hpp:85
Contains information related to a video frame.
Definition: vart_videoframe_types.hpp:144
Device module managing hardware context and xclbin loading.
Type definitions for the PreProcess module.
VideoFrame module for managing video frame memory.