27 #include "../vart_device.hpp"
28 #include "../vart_preprocess_types.hpp"
29 #include "../vart_videoframe.hpp"
56 virtual void process(std::vector<PreProcessOp>& preprocess_ops) = 0;
Abstract interface for pre-processing implementation used by PreProcess.
Definition: vart_preprocess_impl_base.hpp:41
PreProcessInfo preprocess_info
Preprocess parameters Information.
Definition: vart_preprocess_impl_base.hpp:108
virtual void set_preprocess_info(PreProcessInfo &preprocess_info)=0
set_preprocess_info() - Set the required Preprocess parameters.
virtual const PreProcessInfo & get_preprocess_info()=0
get_preprocess_info() - Get the preprocess info
PreProcessImplBase()=default
Default construction is allowed for derived implementations.
virtual ~PreProcessImplBase()
Virtual destructor to ensure proper cleanup of derived implementations.
Definition: vart_preprocess_impl_base.hpp:47
virtual void get_input_vinfo(int32_t height, int32_t width, VideoFormat fmt, VideoInfo &vinfo)=0
get_input_vinfo() - Fills the input video info from input params.
VideoInfo out_vinfo
Preprocess output video info.
Definition: vart_preprocess_impl_base.hpp:109
virtual const VideoInfo & get_output_vinfo()=0
get_output_vinfo() - Get the output video info.
virtual void process(std::vector< PreProcessOp > &preprocess_ops)=0
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
Structure storing pre-processing parameters.
Definition: vart_preprocess_types.hpp:85
Contains information related to a video frame.
Definition: vart_videoframe_types.hpp:144