xbmc
Public Member Functions | List of all members
VideoPlayerCodec Class Reference
Inheritance diagram for VideoPlayerCodec:
Inheritance graph
[legend]
Collaboration diagram for VideoPlayerCodec:
Collaboration graph
[legend]

Public Member Functions

bool Init (const CFileItem &file, unsigned int filecache) override
 
bool Seek (int64_t iSeekTime) override
 
int ReadPCM (uint8_t *pBuffer, size_t size, size_t *actualsize) override
 
int ReadRaw (uint8_t **pBuffer, int *bufferSize) override
 
bool CanInit () override
 
bool CanSeek () override
 
void DeInit ()
 
AEAudioFormat GetFormat ()
 
void SetContentType (const std::string &strContent)
 
bool NeedConvert (AEDataFormat fmt)
 
void SetPassthroughStreamType (CAEStreamInfo::DataType streamType)
 
- Public Member Functions inherited from ICodec
virtual void SetTotalTime (int64_t totaltime)
 
virtual bool IsCaching () const
 
virtual int GetCacheLevel () const
 

Additional Inherited Members

- Public Attributes inherited from ICodec
int64_t m_TotalTime
 
int m_bitRate
 
int m_bitsPerSample
 
int m_bitsPerCodedSample
 
std::string m_CodecName
 
MUSIC_INFO::CMusicInfoTag m_tag
 
XFILE::CFile m_file
 
AEAudioFormat m_format
 

Member Function Documentation

◆ Init()

bool VideoPlayerCodec::Init ( const CFileItem file,
unsigned int  filecache 
)
overridevirtual
Todo:
convey CFileItem::ContentLookup() into Open()

Implements ICodec.


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