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

#include <DVDDemuxCC.h>

Inheritance diagram for CDVDDemuxCC:
CDVDDemux

Classes

struct  streamdata
 

Public Member Functions

 CDVDDemuxCC (AVCodecID codec)
 
 ~CDVDDemuxCC () override
 
bool Reset () override
 
void Flush () override
 
DemuxPacketRead () override
 
bool SeekTime (double time, bool backwards=false, double *startpts=NULL) override
 
CDemuxStreamGetStream (int iStreamId) const override
 
std::vector< CDemuxStream * > GetStreams () const override
 
int GetNrOfStreams () const override
 
DemuxPacketRead (DemuxPacket *packet)
 
- Public Member Functions inherited from CDVDDemux
 CDVDDemux ()
 
virtual ~CDVDDemux ()=default
 
virtual void Abort ()
 
virtual bool SeekChapter (int chapter, double *startpts=NULL)
 
virtual int GetChapterCount ()
 
virtual int GetChapter ()
 
virtual void GetChapterName (std::string &strChapterName, int chapterIdx=-1)
 
virtual int64_t GetChapterPos (int chapterIdx=-1)
 
virtual void SetSpeed (int iSpeed)
 
virtual void FillBuffer (bool mode)
 
virtual int GetStreamLength ()
 
virtual CDemuxStreamGetStream (int64_t demuxerId, int iStreamId) const
 
virtual int GetPrograms (std::vector< ProgramInfo > &programs)
 
virtual void SetProgram (int progId)
 
virtual std::string GetFileName ()
 
int GetNrOfSubtitleStreams ()
 
virtual std::string GetStreamCodecName (int64_t demuxerId, int iStreamId)
 
virtual void EnableStream (int64_t demuxerId, int id, bool enable)
 
virtual void OpenStream (int64_t demuxerId, int id)
 
virtual void SetVideoResolution (unsigned int width, unsigned int height)
 
int64_t GetDemuxerId ()
 

Static Public Member Functions

static void Handler (int service, void *userdata)
 

Protected Member Functions

bool OpenDecoder ()
 
void Dispose ()
 
DemuxPacketDecode ()
 
- Protected Member Functions inherited from CDVDDemux
virtual void EnableStream (int id, bool enable)
 
virtual void OpenStream (int id)
 
virtual std::string GetStreamCodecName (int iStreamId)
 
int GetNrOfStreams (StreamType streamType)
 

Protected Attributes

std::vector< streamdatam_streamdata
 
std::vector< CDemuxStreamSubtitlem_streams
 
bool m_hasData
 
double m_curPts
 
std::vector< CCaptionBlock * > m_ccReorderBuffer
 
std::vector< CCaptionBlock * > m_ccTempBuffer
 
std::unique_ptr< CDecoderCC708m_ccDecoder
 
AVCodecID m_codec
 
- Protected Attributes inherited from CDVDDemux
int64_t m_demuxerId
 

Constructor & Destructor Documentation

◆ CDVDDemuxCC()

CDVDDemuxCC::CDVDDemuxCC ( AVCodecID codec)
explicit

◆ ~CDVDDemuxCC()

CDVDDemuxCC::~CDVDDemuxCC ( )
override

Member Function Documentation

◆ Decode()

DemuxPacket * CDVDDemuxCC::Decode ( )
protected

◆ Dispose()

void CDVDDemuxCC::Dispose ( )
protected

◆ Flush()

void CDVDDemuxCC::Flush ( )
inlineoverridevirtual

Implements CDVDDemux.

◆ GetNrOfStreams()

int CDVDDemuxCC::GetNrOfStreams ( ) const
overridevirtual

Implements CDVDDemux.

◆ GetStream()

CDemuxStream * CDVDDemuxCC::GetStream ( int iStreamId) const
overridevirtual

Implements CDVDDemux.

◆ GetStreams()

std::vector< CDemuxStream * > CDVDDemuxCC::GetStreams ( ) const
overridevirtual

Implements CDVDDemux.

◆ Handler()

void CDVDDemuxCC::Handler ( int service,
void * userdata )
static

◆ OpenDecoder()

bool CDVDDemuxCC::OpenDecoder ( )
protected

◆ Read() [1/2]

DemuxPacket * CDVDDemuxCC::Read ( )
inlineoverridevirtual

Implements CDVDDemux.

◆ Read() [2/2]

DemuxPacket * CDVDDemuxCC::Read ( DemuxPacket * packet)

◆ Reset()

bool CDVDDemuxCC::Reset ( )
inlineoverridevirtual

Implements CDVDDemux.

◆ SeekTime()

bool CDVDDemuxCC::SeekTime ( double time,
bool backwards = false,
double * startpts = NULL )
inlineoverridevirtual

Implements CDVDDemux.

Member Data Documentation

◆ m_ccDecoder

std::unique_ptr<CDecoderCC708> CDVDDemuxCC::m_ccDecoder
protected

◆ m_ccReorderBuffer

std::vector<CCaptionBlock*> CDVDDemuxCC::m_ccReorderBuffer
protected

◆ m_ccTempBuffer

std::vector<CCaptionBlock*> CDVDDemuxCC::m_ccTempBuffer
protected

◆ m_codec

AVCodecID CDVDDemuxCC::m_codec
protected

◆ m_curPts

double CDVDDemuxCC::m_curPts
protected

◆ m_hasData

bool CDVDDemuxCC::m_hasData
protected

◆ m_streamdata

std::vector<streamdata> CDVDDemuxCC::m_streamdata
protected

◆ m_streams

std::vector<CDemuxStreamSubtitle> CDVDDemuxCC::m_streams
protected

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