webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
nsx_core.c File Reference
#include "webrtc/modules/audio_processing/ns/noise_suppression_x.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "webrtc/base/checks.h"
#include "webrtc/common_audio/signal_processing/include/real_fft.h"
#include "webrtc/modules/audio_processing/ns/nsx_core.h"
#include "webrtc/system_wrappers/include/cpu_features_wrapper.h"

Functions

void WebRtcNsx_CalcParametricNoiseEstimate (NoiseSuppressionFixedC *inst, int16_t pink_noise_exp_avg, int32_t pink_noise_num_avg, int freq_index, uint32_t *noise_estimate, uint32_t *noise_estimate_avg)
 
int32_t WebRtcNsx_InitCore (NoiseSuppressionFixedC *inst, uint32_t fs)
 
int WebRtcNsx_set_policy_core (NoiseSuppressionFixedC *inst, int mode)
 
void WebRtcNsx_FeatureParameterExtraction (NoiseSuppressionFixedC *inst, int flag)
 
void WebRtcNsx_ComputeSpectralFlatness (NoiseSuppressionFixedC *inst, uint16_t *magn)
 
void WebRtcNsx_ComputeSpectralDifference (NoiseSuppressionFixedC *inst, uint16_t *magnIn)
 
void WebRtcNsx_DataAnalysis (NoiseSuppressionFixedC *inst, short *speechFrame, uint16_t *magnU16)
 
void WebRtcNsx_DataSynthesis (NoiseSuppressionFixedC *inst, short *outFrame)
 
void WebRtcNsx_ProcessCore (NoiseSuppressionFixedC *inst, const short *const *speechFrame, int num_bands, short *const *outFrame)
 

Variables

NoiseEstimation WebRtcNsx_NoiseEstimation
 
PrepareSpectrum WebRtcNsx_PrepareSpectrum
 
SynthesisUpdate WebRtcNsx_SynthesisUpdate
 
AnalysisUpdate WebRtcNsx_AnalysisUpdate
 
Denormalize WebRtcNsx_Denormalize
 
NormalizeRealBuffer WebRtcNsx_NormalizeRealBuffer
 

Function Documentation

◆ WebRtcNsx_CalcParametricNoiseEstimate()

void WebRtcNsx_CalcParametricNoiseEstimate ( NoiseSuppressionFixedC inst,
int16_t  pink_noise_exp_avg,
int32_t  pink_noise_num_avg,
int  freq_index,
uint32_t noise_estimate,
uint32_t noise_estimate_avg 
)

◆ WebRtcNsx_ComputeSpectralDifference()

void WebRtcNsx_ComputeSpectralDifference ( NoiseSuppressionFixedC inst,
uint16_t magnIn 
)

◆ WebRtcNsx_ComputeSpectralFlatness()

void WebRtcNsx_ComputeSpectralFlatness ( NoiseSuppressionFixedC inst,
uint16_t magn 
)

◆ WebRtcNsx_DataAnalysis()

void WebRtcNsx_DataAnalysis ( NoiseSuppressionFixedC inst,
short *  speechFrame,
uint16_t magnU16 
)

◆ WebRtcNsx_DataSynthesis()

void WebRtcNsx_DataSynthesis ( NoiseSuppressionFixedC inst,
short *  outFrame 
)

◆ WebRtcNsx_FeatureParameterExtraction()

void WebRtcNsx_FeatureParameterExtraction ( NoiseSuppressionFixedC inst,
int  flag 
)

◆ WebRtcNsx_InitCore()

int32_t WebRtcNsx_InitCore ( NoiseSuppressionFixedC inst,
uint32_t  fs 
)

◆ WebRtcNsx_ProcessCore()

void WebRtcNsx_ProcessCore ( NoiseSuppressionFixedC inst,
const short *const *  speechFrame,
int  num_bands,
short *const *  outFrame 
)

◆ WebRtcNsx_set_policy_core()

int WebRtcNsx_set_policy_core ( NoiseSuppressionFixedC inst,
int  mode 
)

Variable Documentation

◆ WebRtcNsx_AnalysisUpdate

AnalysisUpdate WebRtcNsx_AnalysisUpdate

◆ WebRtcNsx_Denormalize

Denormalize WebRtcNsx_Denormalize

◆ WebRtcNsx_NoiseEstimation

NoiseEstimation WebRtcNsx_NoiseEstimation

◆ WebRtcNsx_NormalizeRealBuffer

NormalizeRealBuffer WebRtcNsx_NormalizeRealBuffer

◆ WebRtcNsx_PrepareSpectrum

PrepareSpectrum WebRtcNsx_PrepareSpectrum

◆ WebRtcNsx_SynthesisUpdate

SynthesisUpdate WebRtcNsx_SynthesisUpdate