Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
CDVDOverlayImage Class Reference

#include <DVDOverlayImage.h>

Inheritance diagram for CDVDOverlayImage:
CDVDOverlay

Public Member Functions

 CDVDOverlayImage ()
 
 CDVDOverlayImage (const CDVDOverlayImage &src, int sub_x, int sub_y, int sub_w, int sub_h)
 
 ~CDVDOverlayImage () override=default
 
CDVDOverlayImageClone () override
 
uint8_tdata_at (int sub_x, int sub_y) const
 
- Public Member Functions inherited from CDVDOverlay
 CDVDOverlay (DVDOverlayType type)
 
 CDVDOverlay (const CDVDOverlay &src)
 
virtual ~CDVDOverlay ()
 
CDVDOverlayAcquire ()
 
int Release ()
 
bool IsOverlayType (DVDOverlayType type)
 
virtual void SetTextAlignEnabled (bool enable)
 
bool IsTextAlignEnabled ()
 
void SetOverlayContainerFlushable (bool isFlushable)
 
bool IsOverlayContainerFlushable ()
 
void SetForcedMargins (bool setForcedMargins)
 
bool IsForcedMargins ()
 

Public Attributes

std::vector< uint8_tdata
 
int linesize {0}
 
std::vector< uint32_t > palette
 
int palette_colors {0}
 
int x {0}
 
int y {0}
 
int width {0}
 
int height {0}
 
int source_width {0}
 
int source_height {0}
 
- Public Attributes inherited from CDVDOverlay
double iPTSStartTime
 
double iPTSStopTime
 
bool bForced
 
bool replace
 
unsigned long m_textureid
 

Additional Inherited Members

- Static Public Member Functions inherited from CDVDOverlay
static void Release (CDVDOverlay *ov)
 
- Protected Attributes inherited from CDVDOverlay
DVDOverlayType m_type
 
bool m_enableTextAlign
 
bool m_overlayContainerFlushable
 
bool m_setForcedMargins
 

Constructor & Destructor Documentation

◆ CDVDOverlayImage() [1/2]

CDVDOverlayImage::CDVDOverlayImage ( )
inline

◆ CDVDOverlayImage() [2/2]

CDVDOverlayImage::CDVDOverlayImage ( const CDVDOverlayImage src,
int  sub_x,
int  sub_y,
int  sub_w,
int  sub_h 
)
inline

◆ ~CDVDOverlayImage()

CDVDOverlayImage::~CDVDOverlayImage ( )
overridedefault

Member Function Documentation

◆ Clone()

CDVDOverlayImage * CDVDOverlayImage::Clone ( )
inlineoverridevirtual

return a copy to VideoPlayerSubtitle in order to have hw resources cleared after rendering

Reimplemented from CDVDOverlay.

◆ data_at()

uint8_t * CDVDOverlayImage::data_at ( int  sub_x,
int  sub_y 
) const
inline

Member Data Documentation

◆ data

std::vector<uint8_t> CDVDOverlayImage::data

◆ height

int CDVDOverlayImage::height {0}

◆ linesize

int CDVDOverlayImage::linesize {0}

◆ palette

std::vector<uint32_t> CDVDOverlayImage::palette

◆ palette_colors

int CDVDOverlayImage::palette_colors {0}

◆ source_height

int CDVDOverlayImage::source_height {0}

◆ source_width

int CDVDOverlayImage::source_width {0}

◆ width

int CDVDOverlayImage::width {0}

◆ x

int CDVDOverlayImage::x {0}

◆ y

int CDVDOverlayImage::y {0}

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