kodi
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CDVDAudioCodecAndroidMediaCodec Class Reference
Inheritance diagram for CDVDAudioCodecAndroidMediaCodec:
Inheritance graph
[legend]
Collaboration diagram for CDVDAudioCodecAndroidMediaCodec:
Collaboration graph
[legend]

Public Member Functions

 CDVDAudioCodecAndroidMediaCodec (CProcessInfo &processInfo)
 
bool Open (CDVDStreamInfo &hints, CDVDCodecOptions &options) override
 
void Dispose () override
 
bool AddData (const DemuxPacket &packet) override
 
void GetData (DVDAudioFrame &frame) override
 
void Reset () override
 
AEAudioFormat GetFormat () override
 
std::string GetName () override
 
- Public Member Functions inherited from CDVDAudioCodec
 CDVDAudioCodec (CProcessInfo &processInfo)
 
virtual int GetBitRate ()
 
virtual bool NeedPassthrough ()
 
virtual int GetBufferSize ()
 
virtual enum AVMatrixEncoding GetMatrixEncoding ()
 
virtual enum AVAudioServiceType GetAudioServiceType ()
 
virtual int GetProfile ()
 

Static Public Member Functions

static std::unique_ptr< CDVDAudioCodecCreate (CProcessInfo &processInfo)
 
static bool Register ()
 

Protected Member Functions

int GetData (uint8_t **dst)
 
int GetChannels ()
 
int GetEncodedChannels ()
 
CAEChannelInfo GetChannelMap ()
 
int GetSampleRate ()
 
int GetEncodedSampleRate ()
 
enum AEDataFormat GetDataFormat ()
 
bool ConfigureMediaCodec (void)
 
void ConfigureOutputFormat (CJNIMediaFormat *mediaformat)
 

Protected Attributes

CDVDStreamInfo m_hints
 
std::string m_mime
 
std::string m_codecname
 
std::string m_formatname
 
bool m_opened = false
 
bool m_codecIsFed = false
 
int m_samplerate = 0
 
int m_channels = 0
 
uint8_t * m_buffer
 
int m_bufferSize = 0
 
int m_bufferUsed = 0
 
AEAudioFormat m_format
 
double m_currentPts = DVD_NOPTS_VALUE
 
std::shared_ptr< CJNIMediaCodec > m_codec
 
CJNIMediaCrypto * m_crypto = nullptr
 
std::shared_ptr< CDVDAudioCodecm_decryptCodec
 
- Protected Attributes inherited from CDVDAudioCodec
CProcessInfom_processInfo
 

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