webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
delay_estimator.cc File Reference
#include "webrtc/modules/audio_processing/utility/delay_estimator.h"
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include "webrtc/base/checks.h"

Functions

void WebRtc_FreeBinaryDelayEstimatorFarend (BinaryDelayEstimatorFarend *self)
 
BinaryDelayEstimatorFarendWebRtc_CreateBinaryDelayEstimatorFarend (int history_size)
 
int WebRtc_AllocateFarendBufferMemory (BinaryDelayEstimatorFarend *self, int history_size)
 
void WebRtc_InitBinaryDelayEstimatorFarend (BinaryDelayEstimatorFarend *self)
 
void WebRtc_SoftResetBinaryDelayEstimatorFarend (BinaryDelayEstimatorFarend *self, int delay_shift)
 
void WebRtc_AddBinaryFarSpectrum (BinaryDelayEstimatorFarend *handle, uint32_t binary_far_spectrum)
 
void WebRtc_FreeBinaryDelayEstimator (BinaryDelayEstimator *self)
 
BinaryDelayEstimatorWebRtc_CreateBinaryDelayEstimator (BinaryDelayEstimatorFarend *farend, int max_lookahead)
 
int WebRtc_AllocateHistoryBufferMemory (BinaryDelayEstimator *self, int history_size)
 
void WebRtc_InitBinaryDelayEstimator (BinaryDelayEstimator *self)
 
int WebRtc_SoftResetBinaryDelayEstimator (BinaryDelayEstimator *self, int delay_shift)
 
int WebRtc_ProcessBinarySpectrum (BinaryDelayEstimator *self, uint32_t binary_near_spectrum)
 
int WebRtc_binary_last_delay (BinaryDelayEstimator *self)
 
float WebRtc_binary_last_delay_quality (BinaryDelayEstimator *self)
 
void WebRtc_MeanEstimatorFix (int32_t new_value, int factor, int32_t *mean_value)
 

Function Documentation

◆ WebRtc_AddBinaryFarSpectrum()

void WebRtc_AddBinaryFarSpectrum ( BinaryDelayEstimatorFarend handle,
uint32_t  binary_far_spectrum 
)

◆ WebRtc_AllocateFarendBufferMemory()

int WebRtc_AllocateFarendBufferMemory ( BinaryDelayEstimatorFarend self,
int  history_size 
)

◆ WebRtc_AllocateHistoryBufferMemory()

int WebRtc_AllocateHistoryBufferMemory ( BinaryDelayEstimator self,
int  history_size 
)

◆ WebRtc_binary_last_delay()

int WebRtc_binary_last_delay ( BinaryDelayEstimator self)

◆ WebRtc_binary_last_delay_quality()

float WebRtc_binary_last_delay_quality ( BinaryDelayEstimator self)

◆ WebRtc_CreateBinaryDelayEstimator()

BinaryDelayEstimator* WebRtc_CreateBinaryDelayEstimator ( BinaryDelayEstimatorFarend farend,
int  max_lookahead 
)

◆ WebRtc_CreateBinaryDelayEstimatorFarend()

BinaryDelayEstimatorFarend* WebRtc_CreateBinaryDelayEstimatorFarend ( int  history_size)

◆ WebRtc_FreeBinaryDelayEstimator()

void WebRtc_FreeBinaryDelayEstimator ( BinaryDelayEstimator self)

◆ WebRtc_FreeBinaryDelayEstimatorFarend()

void WebRtc_FreeBinaryDelayEstimatorFarend ( BinaryDelayEstimatorFarend self)

◆ WebRtc_InitBinaryDelayEstimator()

void WebRtc_InitBinaryDelayEstimator ( BinaryDelayEstimator self)

◆ WebRtc_InitBinaryDelayEstimatorFarend()

void WebRtc_InitBinaryDelayEstimatorFarend ( BinaryDelayEstimatorFarend self)

◆ WebRtc_MeanEstimatorFix()

void WebRtc_MeanEstimatorFix ( int32_t  new_value,
int  factor,
int32_t mean_value 
)

◆ WebRtc_ProcessBinarySpectrum()

int WebRtc_ProcessBinarySpectrum ( BinaryDelayEstimator self,
uint32_t  binary_near_spectrum 
)

◆ WebRtc_SoftResetBinaryDelayEstimator()

int WebRtc_SoftResetBinaryDelayEstimator ( BinaryDelayEstimator self,
int  delay_shift 
)

◆ WebRtc_SoftResetBinaryDelayEstimatorFarend()

void WebRtc_SoftResetBinaryDelayEstimatorFarend ( BinaryDelayEstimatorFarend self,
int  delay_shift 
)