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

#include <DVDDemux.h>

Inheritance diagram for CDVDDemux:
CDVDDemuxBXA CDVDDemuxCC CDVDDemuxCDDA CDVDDemuxClient CDVDDemuxFFmpeg CDVDDemuxVobsub CDemuxMultiSource

Public Member Functions

 CDVDDemux ()
 
virtual ~CDVDDemux ()=default
 
virtual bool Reset ()=0
 
virtual void Abort ()
 
virtual void Flush ()=0
 
virtual DemuxPacketRead ()=0
 
virtual bool SeekTime (double time, bool backwards=false, double *startpts=NULL)=0
 
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 std::vector< CDemuxStream * > GetStreams () const =0
 
virtual int GetNrOfStreams () const =0
 
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 ()
 

Protected Member Functions

virtual void EnableStream (int id, bool enable)
 
virtual void OpenStream (int id)
 
virtual CDemuxStreamGetStream (int iStreamId) const =0
 
virtual std::string GetStreamCodecName (int iStreamId)
 
int GetNrOfStreams (StreamType streamType)
 

Protected Attributes

int64_t m_demuxerId
 

Constructor & Destructor Documentation

◆ CDVDDemux()

CDVDDemux::CDVDDemux ( )
inline

◆ ~CDVDDemux()

virtual CDVDDemux::~CDVDDemux ( )
virtualdefault

Member Function Documentation

◆ Abort()

virtual void CDVDDemux::Abort ( )
inlinevirtual

◆ EnableStream() [1/2]

virtual void CDVDDemux::EnableStream ( int id,
bool enable )
inlineprotectedvirtual

Reimplemented in CDVDDemuxClient, and CDVDDemuxVobsub.

◆ EnableStream() [2/2]

virtual void CDVDDemux::EnableStream ( int64_t demuxerId,
int id,
bool enable )
inlinevirtual

Reimplemented in CDemuxMultiSource.

◆ FillBuffer()

virtual void CDVDDemux::FillBuffer ( bool mode)
inlinevirtual

Reimplemented in CDVDDemuxClient.

◆ Flush()

virtual void CDVDDemux::Flush ( )
pure virtual

◆ GetChapter()

virtual int CDVDDemux::GetChapter ( )
inlinevirtual

Reimplemented in CDVDDemuxFFmpeg.

◆ GetChapterCount()

virtual int CDVDDemux::GetChapterCount ( )
inlinevirtual

Reimplemented in CDVDDemuxFFmpeg.

◆ GetChapterName()

virtual void CDVDDemux::GetChapterName ( std::string & strChapterName,
int chapterIdx = -1 )
inlinevirtual

Reimplemented in CDVDDemuxFFmpeg.

◆ GetChapterPos()

virtual int64_t CDVDDemux::GetChapterPos ( int chapterIdx = -1)
inlinevirtual

Reimplemented in CDVDDemuxFFmpeg.

◆ GetDemuxerId()

int64_t CDVDDemux::GetDemuxerId ( )
inline

◆ GetFileName()

virtual std::string CDVDDemux::GetFileName ( )
inlinevirtual

◆ GetNrOfStreams() [1/2]

virtual int CDVDDemux::GetNrOfStreams ( ) const
pure virtual

◆ GetNrOfStreams() [2/2]

int CDVDDemux::GetNrOfStreams ( StreamType streamType)
protected

◆ GetNrOfSubtitleStreams()

int CDVDDemux::GetNrOfSubtitleStreams ( )

◆ GetPrograms()

virtual int CDVDDemux::GetPrograms ( std::vector< ProgramInfo > & programs)
inlinevirtual

Reimplemented in CDVDDemuxFFmpeg.

◆ GetStream() [1/2]

virtual CDemuxStream * CDVDDemux::GetStream ( int iStreamId) const
protectedpure virtual

◆ GetStream() [2/2]

virtual CDemuxStream * CDVDDemux::GetStream ( int64_t demuxerId,
int iStreamId ) const
inlinevirtual

Reimplemented in CDemuxMultiSource.

◆ GetStreamCodecName() [1/2]

virtual std::string CDVDDemux::GetStreamCodecName ( int iStreamId)
inlineprotectedvirtual

◆ GetStreamCodecName() [2/2]

virtual std::string CDVDDemux::GetStreamCodecName ( int64_t demuxerId,
int iStreamId )
inlinevirtual

Reimplemented in CDemuxMultiSource.

◆ GetStreamLength()

virtual int CDVDDemux::GetStreamLength ( )
inlinevirtual

◆ GetStreams()

virtual std::vector< CDemuxStream * > CDVDDemux::GetStreams ( ) const
pure virtual

◆ OpenStream() [1/2]

virtual void CDVDDemux::OpenStream ( int id)
inlineprotectedvirtual

Reimplemented in CDVDDemuxClient.

◆ OpenStream() [2/2]

virtual void CDVDDemux::OpenStream ( int64_t demuxerId,
int id )
inlinevirtual

◆ Read()

virtual DemuxPacket * CDVDDemux::Read ( )
pure virtual

◆ Reset()

virtual bool CDVDDemux::Reset ( )
pure virtual

◆ SeekChapter()

virtual bool CDVDDemux::SeekChapter ( int chapter,
double * startpts = NULL )
inlinevirtual

Reimplemented in CDVDDemuxFFmpeg.

◆ SeekTime()

virtual bool CDVDDemux::SeekTime ( double time,
bool backwards = false,
double * startpts = NULL )
pure virtual

◆ SetProgram()

virtual void CDVDDemux::SetProgram ( int progId)
inlinevirtual

Reimplemented in CDVDDemuxFFmpeg.

◆ SetSpeed()

virtual void CDVDDemux::SetSpeed ( int iSpeed)
inlinevirtual

Reimplemented in CDVDDemuxClient, and CDVDDemuxFFmpeg.

◆ SetVideoResolution()

virtual void CDVDDemux::SetVideoResolution ( unsigned int width,
unsigned int height )
inlinevirtual

Reimplemented in CDVDDemuxClient.

Member Data Documentation

◆ m_demuxerId

int64_t CDVDDemux::m_demuxerId
protected

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