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

Public Member Functions

const char * GetName () override
 
bool Init (SampleConfig dstConfig, SampleConfig srcConfig, bool upmix, bool normalize, double centerMix, CAEChannelInfo *remapLayout, AEQuality quality, bool force_resample) override
 
int Resample (uint8_t **dst_buffer, int dst_samples, uint8_t **src_buffer, int src_samples, double ratio) override
 
int64_t GetDelay (int64_t base) override
 
int GetBufferedSamples () override
 
bool WantsNewSamples (int samples) override
 
int CalcDstSampleCount (int src_samples, int dst_rate, int src_rate) override
 
int GetSrcBufferSize (int samples) override
 
int GetDstBufferSize (int samples) override
 

Protected Attributes

bool m_loaded
 
bool m_doesResample
 
uint64_t m_src_chan_layout
 
uint64_t m_dst_chan_layout
 
int m_src_rate
 
int m_dst_rate
 
int m_src_channels
 
int m_dst_channels
 
AVSampleFormat m_src_fmt
 
AVSampleFormat m_dst_fmt
 
int m_src_bits
 
int m_dst_bits
 
int m_src_dither_bits
 
int m_dst_dither_bits
 
SwrContext * m_pContext
 
double m_rematrix [AE_CH_MAX][AE_CH_MAX]
 

Member Function Documentation

◆ Resample()

int CActiveAEResampleFFMPEG::Resample ( uint8_t **  dst_buffer,
int  dst_samples,
uint8_t **  src_buffer,
int  src_samples,
double  ratio 
)
overridevirtual
Bug:
libavresample isn't const correct

Implements ActiveAE::IAEResample.


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