25 #include "../vart_device.hpp"
26 #include "../vart_memory_types.hpp"
27 #include "../vart_videoframe_types.hpp"
Abstract base class for video frame implementation used by VideoFrame.
Definition: vart_videoframe_impl_base.hpp:39
virtual void unmap()=0
unmap() - Unmaps video frame data from user space.
virtual int export_buffer() const =0
export_buffer() - Export the video frame buffer as a dma-buf file descriptor.
virtual std::shared_ptr< Device > get_device_handle()=0
get_device_handle() - Retrieves the device handle associated with the current frame
virtual const VideoInfo & get_video_info()=0
get_video_info() - Retrieves the video frame information from the current frame
VideoInfo vinfo
Definition: vart_videoframe_impl_base.hpp:103
virtual ~VideoFrameImplBase()
Virtual destructor to ensure proper cleanup of derived implementations.
Definition: vart_videoframe_impl_base.hpp:55
VideoFrameMapInfo vmap_info
Definition: vart_videoframe_impl_base.hpp:104
VideoFrameImplBase()=delete
VideoFrameImplBase(std::shared_ptr< Device > dev)
VideoFrameImplBase() - Constructor that takes device instance as an input.
Definition: vart_videoframe_impl_base.hpp:49
std::shared_ptr< Device > device
Definition: vart_videoframe_impl_base.hpp:105
virtual const VideoFrameMapInfo & map(DataMapFlags map_flags)=0
map() - Maps video frame data to user space
VART (Vitis AI Runtime) public API namespace.
DataMapFlags
Definition: vart_memory_types.hpp:30
Structure encapsulating details of a video frame after a map operation.
Definition: vart_videoframe_types.hpp:214
Contains information related to a video frame.
Definition: vart_videoframe_types.hpp:144