| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include <VideoPlayerCodec.h>
  
Public Member Functions | |
| VideoPlayerCodec () | |
| ~VideoPlayerCodec () override | |
| 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 | |
| ICodec () | |
| virtual | ~ICodec ()=default | 
| 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 | 
| VideoPlayerCodec::VideoPlayerCodec | ( | ) | 
      
  | 
  override | 
| void VideoPlayerCodec::DeInit | ( | ) | 
| AEAudioFormat VideoPlayerCodec::GetFormat | ( | ) | 
Implements ICodec.
| bool VideoPlayerCodec::NeedConvert | ( | AEDataFormat | fmt | ) | 
      
  | 
  overridevirtual | 
Implements ICodec.
Reimplemented from ICodec.
| void VideoPlayerCodec::SetContentType | ( | const std::string & | strContent | ) | 
| void VideoPlayerCodec::SetPassthroughStreamType | ( | CAEStreamInfo::DataType | streamType | ) |