Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CDVDOverlayCodecText Class Reference

#include <DVDOverlayCodecText.h>

Inheritance diagram for CDVDOverlayCodecText:
CDVDOverlayCodec CSubtitlesAdapter

Public Member Functions

 CDVDOverlayCodecText ()
 
 ~CDVDOverlayCodecText () override=default
 
bool Open (CDVDStreamInfo &hints, CDVDCodecOptions &options) override
 
OverlayMessage Decode (DemuxPacket *pPacket) override
 
void Reset () override
 
void Flush () override
 
std::shared_ptr< CDVDOverlayGetOverlay () override
 
void PostProcess (std::string &text) override
 Post processing of subtitle, will be called before processing AddSubtitle method.
 
- Public Member Functions inherited from CDVDOverlayCodec
 CDVDOverlayCodec (const char *name)
 
virtual ~CDVDOverlayCodec ()=default
 
const std::string & GetName () const
 

Additional Inherited Members

- Static Protected Member Functions inherited from CDVDOverlayCodec
static void GetAbsoluteTimes (double &starttime, double &stoptime, DemuxPacket *pkt)
 

Constructor & Destructor Documentation

◆ CDVDOverlayCodecText()

CDVDOverlayCodecText::CDVDOverlayCodecText ( )

◆ ~CDVDOverlayCodecText()

CDVDOverlayCodecText::~CDVDOverlayCodecText ( )
overridedefault

Member Function Documentation

◆ Decode()

OverlayMessage CDVDOverlayCodecText::Decode ( DemuxPacket * pPacket)
overridevirtual

Implements CDVDOverlayCodec.

◆ Flush()

void CDVDOverlayCodecText::Flush ( )
overridevirtual

Implements CDVDOverlayCodec.

◆ GetOverlay()

std::shared_ptr< CDVDOverlay > CDVDOverlayCodecText::GetOverlay ( )
overridevirtual

Implements CDVDOverlayCodec.

◆ Open()

bool CDVDOverlayCodecText::Open ( CDVDStreamInfo & hints,
CDVDCodecOptions & options )
overridevirtual

Implements CDVDOverlayCodec.

◆ PostProcess()

void CDVDOverlayCodecText::PostProcess ( std::string & text)
overridevirtual

Post processing of subtitle, will be called before processing AddSubtitle method.

Parameters
textThe subtitle text

Reimplemented from CSubtitlesAdapter.

◆ Reset()

void CDVDOverlayCodecText::Reset ( )
overridevirtual

Implements CDVDOverlayCodec.


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