Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ActiveAE::CActiveAEFilter Class Reference

#include <ActiveAEFilter.h>

Public Member Functions

 CActiveAEFilter ()
 
virtual ~CActiveAEFilter ()
 
void Init (AVSampleFormat fmt, int sampleRate, uint64_t channelLayout)
 
int ProcessFilter (uint8_t **dst_buffer, int dst_samples, uint8_t **src_buffer, int src_samples, int src_bufsize)
 
bool SetTempo (float tempo)
 
bool NeedData () const
 
bool IsEof () const
 
bool IsActive () const
 
int GetBufferedSamples () const
 

Protected Member Functions

bool CreateFilterGraph ()
 
bool CreateAtempoFilter ()
 
void CloseFilter ()
 

Protected Attributes

AVSampleFormat m_sampleFormat
 
int m_sampleRate
 
uint64_t m_channelLayout
 
AVFilterGraph * m_pFilterGraph
 
AVFilterContext * m_pFilterCtxIn
 
AVFilterContext * m_pFilterCtxOut
 
AVFilterContext * m_pFilterCtxAtempo
 
AVFrame * m_pOutFrame
 
SwrContext * m_pConvertCtx
 
AVFrame * m_pConvertFrame
 
bool m_needConvert
 
float m_tempo
 
bool m_filterEof
 
bool m_started
 
bool m_hasData
 
bool m_needData
 
bool m_ptsInitialized
 
int m_sampleOffset
 
int64_t m_SamplesIn
 
int64_t m_SamplesOut
 

Constructor & Destructor Documentation

◆ CActiveAEFilter()

CActiveAEFilter::CActiveAEFilter ( )

◆ ~CActiveAEFilter()

CActiveAEFilter::~CActiveAEFilter ( )
virtual

Member Function Documentation

◆ CloseFilter()

void CActiveAEFilter::CloseFilter ( )
protected

◆ CreateAtempoFilter()

bool CActiveAEFilter::CreateAtempoFilter ( )
protected

◆ CreateFilterGraph()

bool CActiveAEFilter::CreateFilterGraph ( )
protected

◆ GetBufferedSamples()

int CActiveAEFilter::GetBufferedSamples ( ) const

◆ Init()

void CActiveAEFilter::Init ( AVSampleFormat fmt,
int sampleRate,
uint64_t channelLayout )

◆ IsActive()

bool CActiveAEFilter::IsActive ( ) const

◆ IsEof()

bool CActiveAEFilter::IsEof ( ) const

◆ NeedData()

bool CActiveAEFilter::NeedData ( ) const

◆ ProcessFilter()

int CActiveAEFilter::ProcessFilter ( uint8_t ** dst_buffer,
int dst_samples,
uint8_t ** src_buffer,
int src_samples,
int src_bufsize )

◆ SetTempo()

bool CActiveAEFilter::SetTempo ( float tempo)

Member Data Documentation

◆ m_channelLayout

uint64_t ActiveAE::CActiveAEFilter::m_channelLayout
protected

◆ m_filterEof

bool ActiveAE::CActiveAEFilter::m_filterEof
protected

◆ m_hasData

bool ActiveAE::CActiveAEFilter::m_hasData
protected

◆ m_needConvert

bool ActiveAE::CActiveAEFilter::m_needConvert
protected

◆ m_needData

bool ActiveAE::CActiveAEFilter::m_needData
protected

◆ m_pConvertCtx

SwrContext* ActiveAE::CActiveAEFilter::m_pConvertCtx
protected

◆ m_pConvertFrame

AVFrame* ActiveAE::CActiveAEFilter::m_pConvertFrame
protected

◆ m_pFilterCtxAtempo

AVFilterContext* ActiveAE::CActiveAEFilter::m_pFilterCtxAtempo
protected

◆ m_pFilterCtxIn

AVFilterContext* ActiveAE::CActiveAEFilter::m_pFilterCtxIn
protected

◆ m_pFilterCtxOut

AVFilterContext* ActiveAE::CActiveAEFilter::m_pFilterCtxOut
protected

◆ m_pFilterGraph

AVFilterGraph* ActiveAE::CActiveAEFilter::m_pFilterGraph
protected

◆ m_pOutFrame

AVFrame* ActiveAE::CActiveAEFilter::m_pOutFrame
protected

◆ m_ptsInitialized

bool ActiveAE::CActiveAEFilter::m_ptsInitialized
protected

◆ m_sampleFormat

AVSampleFormat ActiveAE::CActiveAEFilter::m_sampleFormat
protected

◆ m_sampleOffset

int ActiveAE::CActiveAEFilter::m_sampleOffset
protected

◆ m_sampleRate

int ActiveAE::CActiveAEFilter::m_sampleRate
protected

◆ m_SamplesIn

int64_t ActiveAE::CActiveAEFilter::m_SamplesIn
protected

◆ m_SamplesOut

int64_t ActiveAE::CActiveAEFilter::m_SamplesOut
protected

◆ m_started

bool ActiveAE::CActiveAEFilter::m_started
protected

◆ m_tempo

float ActiveAE::CActiveAEFilter::m_tempo
protected

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