webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
aecm_core.cc File Reference
#include "webrtc/modules/audio_processing/aecm/aecm_core.h"
#include <stddef.h>
#include <stdlib.h>
#include "webrtc/common_audio/ring_buffer.h"
#include "webrtc/common_audio/signal_processing/include/real_fft.h"
#include "webrtc/modules/audio_processing/aecm/echo_control_mobile.h"
#include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h"
#include "webrtc/system_wrappers/include/cpu_features_wrapper.h"
#include "webrtc/base/checks.h"
#include "webrtc/typedefs.h"

Functions

void WebRtcAecm_UpdateFarHistory (AecmCore *self, uint16_t *far_spectrum, int far_q)
 
const uint16_tWebRtcAecm_AlignedFarend (AecmCore *self, int *far_q, int delay)
 
AecmCoreWebRtcAecm_CreateCore ()
 
void WebRtcAecm_InitEchoPathCore (AecmCore *aecm, const int16_t *echo_path)
 
int WebRtcAecm_InitCore (AecmCore *const aecm, int samplingFreq)
 
int WebRtcAecm_Control (AecmCore *aecm, int delay, int nlpFlag)
 
void WebRtcAecm_FreeCore (AecmCore *aecm)
 
int WebRtcAecm_ProcessFrame (AecmCore *aecm, const int16_t *farend, const int16_t *nearendNoisy, const int16_t *nearendClean, int16_t *out)
 
int16_t WebRtcAecm_AsymFilt (const int16_t filtOld, const int16_t inVal, const int16_t stepSizePos, const int16_t stepSizeNeg)
 
void WebRtcAecm_CalcEnergies (AecmCore *aecm, const uint16_t *far_spectrum, const int16_t far_q, const uint32_t nearEner, int32_t *echoEst)
 
int16_t WebRtcAecm_CalcStepSize (AecmCore *const aecm)
 
void WebRtcAecm_UpdateChannel (AecmCore *aecm, const uint16_t *far_spectrum, const int16_t far_q, const uint16_t *const dfa, const int16_t mu, int32_t *echoEst)
 
int16_t WebRtcAecm_CalcSuppressionGain (AecmCore *const aecm)
 
void WebRtcAecm_BufferFarFrame (AecmCore *const aecm, const int16_t *const farend, const int farLen)
 
void WebRtcAecm_FetchFarFrame (AecmCore *const aecm, int16_t *const farend, const int farLen, const int knownDelay)
 

Variables

const int16_t WebRtcAecm_kCosTable []
 
const int16_t WebRtcAecm_kSinTable []
 
CalcLinearEnergies WebRtcAecm_CalcLinearEnergies
 
StoreAdaptiveChannel WebRtcAecm_StoreAdaptiveChannel
 
ResetAdaptiveChannel WebRtcAecm_ResetAdaptiveChannel
 

Function Documentation

◆ WebRtcAecm_AlignedFarend()

const uint16_t* WebRtcAecm_AlignedFarend ( AecmCore self,
int *  far_q,
int  delay 
)

◆ WebRtcAecm_AsymFilt()

int16_t WebRtcAecm_AsymFilt ( const int16_t  filtOld,
const int16_t  inVal,
const int16_t  stepSizePos,
const int16_t  stepSizeNeg 
)

◆ WebRtcAecm_BufferFarFrame()

void WebRtcAecm_BufferFarFrame ( AecmCore *const  aecm,
const int16_t *const  farend,
const int  farLen 
)

◆ WebRtcAecm_CalcEnergies()

void WebRtcAecm_CalcEnergies ( AecmCore aecm,
const uint16_t far_spectrum,
const int16_t  far_q,
const uint32_t  nearEner,
int32_t echoEst 
)

◆ WebRtcAecm_CalcStepSize()

int16_t WebRtcAecm_CalcStepSize ( AecmCore *const  aecm)

◆ WebRtcAecm_CalcSuppressionGain()

int16_t WebRtcAecm_CalcSuppressionGain ( AecmCore *const  aecm)

◆ WebRtcAecm_Control()

int WebRtcAecm_Control ( AecmCore aecm,
int  delay,
int  nlpFlag 
)

◆ WebRtcAecm_CreateCore()

AecmCore* WebRtcAecm_CreateCore ( )

◆ WebRtcAecm_FetchFarFrame()

void WebRtcAecm_FetchFarFrame ( AecmCore *const  aecm,
int16_t *const  farend,
const int  farLen,
const int  knownDelay 
)

◆ WebRtcAecm_FreeCore()

void WebRtcAecm_FreeCore ( AecmCore aecm)

◆ WebRtcAecm_InitCore()

int WebRtcAecm_InitCore ( AecmCore *const  aecm,
int  samplingFreq 
)

◆ WebRtcAecm_InitEchoPathCore()

void WebRtcAecm_InitEchoPathCore ( AecmCore aecm,
const int16_t echo_path 
)

◆ WebRtcAecm_ProcessFrame()

int WebRtcAecm_ProcessFrame ( AecmCore aecm,
const int16_t farend,
const int16_t nearendNoisy,
const int16_t nearendClean,
int16_t out 
)

◆ WebRtcAecm_UpdateChannel()

void WebRtcAecm_UpdateChannel ( AecmCore aecm,
const uint16_t far_spectrum,
const int16_t  far_q,
const uint16_t *const  dfa,
const int16_t  mu,
int32_t echoEst 
)

◆ WebRtcAecm_UpdateFarHistory()

void WebRtcAecm_UpdateFarHistory ( AecmCore self,
uint16_t far_spectrum,
int  far_q 
)

Variable Documentation

◆ WebRtcAecm_CalcLinearEnergies

CalcLinearEnergies WebRtcAecm_CalcLinearEnergies

◆ WebRtcAecm_kCosTable

const int16_t WebRtcAecm_kCosTable[]

◆ WebRtcAecm_kSinTable

const int16_t WebRtcAecm_kSinTable[]

◆ WebRtcAecm_ResetAdaptiveChannel

ResetAdaptiveChannel WebRtcAecm_ResetAdaptiveChannel

◆ WebRtcAecm_StoreAdaptiveChannel

StoreAdaptiveChannel WebRtcAecm_StoreAdaptiveChannel