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

#include <DVDInputStreamMemory.h>

Inheritance diagram for CDVDInputStreamMemory:
CDVDInputStream

Public Member Functions

 CDVDInputStreamMemory (CFileItem &fileitem)
 
 ~CDVDInputStreamMemory () override
 
bool Open () override
 
void Close () override
 
int Read (uint8_t *buf, int buf_size) override
 
int64_t Seek (int64_t offset, int whence) override
 
bool IsEOF () override
 
int64_t GetLength () override
 
- Public Member Functions inherited from CDVDInputStream
 CDVDInputStream (DVDStreamType m_streamType, const CFileItem &fileitem)
 
virtual ~CDVDInputStream ()
 
virtual std::string & GetContent ()
 
virtual std::string GetFileName ()
 
virtual CURL GetURL ()
 
virtual ENextStream NextStream ()
 
virtual void Abort ()
 
virtual int GetBlockSize ()
 
virtual bool CanSeek ()
 
virtual bool CanPause ()
 
virtual void SetReadRate (uint32_t rate)
 Indicate expected read rate in bytes per second. This could be used to throttle caching rate. Should be seen as only a hint.
 
virtual bool GetCacheStatus (XFILE::SCacheStatus *status)
 Get the cache status.
 
bool IsStreamType (DVDStreamType type) const
 
virtual BitstreamStats GetBitstreamStats () const
 
bool ContentLookup ()
 
virtual bool IsRealtime ()
 
void SetRealtime (bool realtime)
 
virtual IDemuxGetIDemux ()
 
virtual IPosTimeGetIPosTime ()
 
virtual IDisplayTimeGetIDisplayTime ()
 
virtual ITimesGetITimes ()
 
virtual IChapterGetIChapter ()
 
const CVariantGetProperty (const std::string &key)
 

Protected Attributes

uint8_tm_pData
 
int m_iDataSize
 
int m_iDataPos
 
- Protected Attributes inherited from CDVDInputStream
DVDStreamType m_streamType
 
BitstreamStats m_stats
 
std::string m_content
 
CFileItem m_item
 
bool m_contentLookup
 
bool m_realtime
 

Additional Inherited Members

- Public Types inherited from CDVDInputStream
enum  ENextStream { NEXTSTREAM_NONE , NEXTSTREAM_OPEN , NEXTSTREAM_RETRY }
 

Constructor & Destructor Documentation

◆ CDVDInputStreamMemory()

CDVDInputStreamMemory::CDVDInputStreamMemory ( CFileItem & fileitem)
explicit

◆ ~CDVDInputStreamMemory()

CDVDInputStreamMemory::~CDVDInputStreamMemory ( )
override

Member Function Documentation

◆ Close()

void CDVDInputStreamMemory::Close ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ GetLength()

int64_t CDVDInputStreamMemory::GetLength ( )
overridevirtual

Implements CDVDInputStream.

◆ IsEOF()

bool CDVDInputStreamMemory::IsEOF ( )
overridevirtual

Implements CDVDInputStream.

◆ Open()

bool CDVDInputStreamMemory::Open ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ Read()

int CDVDInputStreamMemory::Read ( uint8_t * buf,
int buf_size )
overridevirtual

Implements CDVDInputStream.

◆ Seek()

int64_t CDVDInputStreamMemory::Seek ( int64_t offset,
int whence )
overridevirtual

Implements CDVDInputStream.

Member Data Documentation

◆ m_iDataPos

int CDVDInputStreamMemory::m_iDataPos
protected

◆ m_iDataSize

int CDVDInputStreamMemory::m_iDataSize
protected

◆ m_pData

uint8_t* CDVDInputStreamMemory::m_pData
protected

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