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

Public Member Functions

 CDVDAudioCodecFFmpeg (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
 
enum AVMatrixEncoding GetMatrixEncoding () override
 
enum AVAudioServiceType GetAudioServiceType () override
 
int GetProfile () override
 
- Public Member Functions inherited from CDVDAudioCodec
 CDVDAudioCodec (CProcessInfo &processInfo)
 
virtual bool NeedPassthrough ()
 
virtual int GetBufferSize ()
 

Protected Member Functions

int GetData (uint8_t **dst)
 
enum AEDataFormat GetDataFormat ()
 
int GetSampleRate ()
 
int GetChannels ()
 
CAEChannelInfo GetChannelMap ()
 
int GetBitRate () override
 
void BuildChannelMap ()
 

Protected Attributes

AEAudioFormat m_format
 
AVCodecContext * m_pCodecContext
 
enum AVSampleFormat m_iSampleFormat = AV_SAMPLE_FMT_NONE
 
CAEChannelInfo m_channelLayout
 
enum AVMatrixEncoding m_matrixEncoding = AV_MATRIX_ENCODING_NONE
 
AVFrame * m_pFrame
 
AVDownmixInfo m_downmixInfo
 
bool m_hasDownmix = false
 
bool m_eof
 
int m_channels
 
uint64_t m_layout
 
std::string m_codecName
 
uint64_t m_hint_layout
 
- Protected Attributes inherited from CDVDAudioCodec
CProcessInfom_processInfo
 

Member Function Documentation

◆ AddData()

bool CDVDAudioCodecFFmpeg::AddData ( const DemuxPacket packet)
overridevirtual
Todo:
: properly handle avpkt side_data. this works around our improper use of the side_data

Implements CDVDAudioCodec.


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