VART-X  0.3.0
vart::OverlayImplBase Class Referenceabstract

Abstract interface for overlay implementation used by Overlay. More...

#include <vart_overlay_impl_base.hpp>

Public Member Functions

 OverlayImplBase ()=default
 Default construction is allowed for derived implementations. More...
 
virtual ~OverlayImplBase ()
 Virtual destructor to ensure proper cleanup of derived implementations. More...
 
virtual void draw_overlay (VideoFrame &frame, OverlayShapeInfo &shape_info)=0
 draw_overlay() - Draws the input overlay information on to the frame More...
 

Detailed Description

Abstract interface for overlay implementation used by Overlay.

Note
Applications should use vart::Overlay rather than this type directly, unless extending or integrating a new backend.

Constructor & Destructor Documentation

◆ OverlayImplBase()

vart::OverlayImplBase::OverlayImplBase ( )
default

Default construction is allowed for derived implementations.

◆ ~OverlayImplBase()

virtual vart::OverlayImplBase::~OverlayImplBase ( )
inlinevirtual

Virtual destructor to ensure proper cleanup of derived implementations.

Member Function Documentation

◆ draw_overlay()

virtual void vart::OverlayImplBase::draw_overlay ( VideoFrame frame,
OverlayShapeInfo shape_info 
)
pure virtual

draw_overlay() - Draws the input overlay information on to the frame

Parameters
[in,out]frameVideo frame on which drawing operation to be performed.
[in]shape_infoInformation used in drawing operation
See also
vart::OverlayShapeInfo

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