webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Static Public Attributes | List of all members
webrtc::BackgroundNoise Class Reference

#include <background_noise.h>

Public Member Functions

 BackgroundNoise (size_t num_channels)
 
virtual ~BackgroundNoise ()
 
void Reset ()
 
void Update (const AudioMultiVector &sync_buffer, const PostDecodeVad &vad)
 
int32_t Energy (size_t channel) const
 
void SetMuteFactor (size_t channel, int16_t value)
 
int16_t MuteFactor (size_t channel) const
 
const int16_tFilter (size_t channel) const
 
const int16_tFilterState (size_t channel) const
 
void SetFilterState (size_t channel, const int16_t *input, size_t length)
 
int16_t Scale (size_t channel) const
 
int16_t ScaleShift (size_t channel) const
 
bool initialized () const
 
NetEq::BackgroundNoiseMode mode () const
 
void set_mode (NetEq::BackgroundNoiseMode mode)
 
 BackgroundNoise (size_t num_channels)
 
virtual ~BackgroundNoise ()
 
void Reset ()
 
void Update (const AudioMultiVector &sync_buffer, const PostDecodeVad &vad)
 
int32_t Energy (size_t channel) const
 
void SetMuteFactor (size_t channel, int16_t value)
 
int16_t MuteFactor (size_t channel) const
 
const int16_tFilter (size_t channel) const
 
const int16_tFilterState (size_t channel) const
 
void SetFilterState (size_t channel, const int16_t *input, size_t length)
 
int16_t Scale (size_t channel) const
 
int16_t ScaleShift (size_t channel) const
 
bool initialized () const
 
NetEq::BackgroundNoiseMode mode () const
 
void set_mode (NetEq::BackgroundNoiseMode mode)
 

Static Public Attributes

static const size_t kMaxLpcOrder = 8
 

Constructor & Destructor Documentation

◆ BackgroundNoise() [1/2]

webrtc::BackgroundNoise::BackgroundNoise ( size_t  num_channels)
explicit

◆ ~BackgroundNoise() [1/2]

webrtc::BackgroundNoise::~BackgroundNoise ( )
virtual

◆ BackgroundNoise() [2/2]

webrtc::BackgroundNoise::BackgroundNoise ( size_t  num_channels)
explicit

◆ ~BackgroundNoise() [2/2]

virtual webrtc::BackgroundNoise::~BackgroundNoise ( )
virtual

Member Function Documentation

◆ Energy() [1/2]

int32_t webrtc::BackgroundNoise::Energy ( size_t  channel) const

◆ Energy() [2/2]

int32_t webrtc::BackgroundNoise::Energy ( size_t  channel) const

◆ Filter() [1/2]

const int16_t* webrtc::BackgroundNoise::Filter ( size_t  channel) const

◆ Filter() [2/2]

const int16_t * webrtc::BackgroundNoise::Filter ( size_t  channel) const

◆ FilterState() [1/2]

const int16_t* webrtc::BackgroundNoise::FilterState ( size_t  channel) const

◆ FilterState() [2/2]

const int16_t * webrtc::BackgroundNoise::FilterState ( size_t  channel) const

◆ initialized() [1/2]

bool webrtc::BackgroundNoise::initialized ( ) const
inline

◆ initialized() [2/2]

bool webrtc::BackgroundNoise::initialized ( ) const
inline

◆ mode() [1/2]

NetEq::BackgroundNoiseMode webrtc::BackgroundNoise::mode ( ) const
inline

◆ mode() [2/2]

NetEq::BackgroundNoiseMode webrtc::BackgroundNoise::mode ( ) const
inline

◆ MuteFactor() [1/2]

int16_t webrtc::BackgroundNoise::MuteFactor ( size_t  channel) const

◆ MuteFactor() [2/2]

int16_t webrtc::BackgroundNoise::MuteFactor ( size_t  channel) const

◆ Reset() [1/2]

void webrtc::BackgroundNoise::Reset ( )

◆ Reset() [2/2]

void webrtc::BackgroundNoise::Reset ( )

◆ Scale() [1/2]

int16_t webrtc::BackgroundNoise::Scale ( size_t  channel) const

◆ Scale() [2/2]

int16_t webrtc::BackgroundNoise::Scale ( size_t  channel) const

◆ ScaleShift() [1/2]

int16_t webrtc::BackgroundNoise::ScaleShift ( size_t  channel) const

◆ ScaleShift() [2/2]

int16_t webrtc::BackgroundNoise::ScaleShift ( size_t  channel) const

◆ set_mode() [1/2]

void webrtc::BackgroundNoise::set_mode ( NetEq::BackgroundNoiseMode  mode)
inline

◆ set_mode() [2/2]

void webrtc::BackgroundNoise::set_mode ( NetEq::BackgroundNoiseMode  mode)
inline

◆ SetFilterState() [1/2]

void webrtc::BackgroundNoise::SetFilterState ( size_t  channel,
const int16_t input,
size_t  length 
)

◆ SetFilterState() [2/2]

void webrtc::BackgroundNoise::SetFilterState ( size_t  channel,
const int16_t input,
size_t  length 
)

◆ SetMuteFactor() [1/2]

void webrtc::BackgroundNoise::SetMuteFactor ( size_t  channel,
int16_t  value 
)

◆ SetMuteFactor() [2/2]

void webrtc::BackgroundNoise::SetMuteFactor ( size_t  channel,
int16_t  value 
)

◆ Update() [1/2]

void webrtc::BackgroundNoise::Update ( const AudioMultiVector sync_buffer,
const PostDecodeVad vad 
)

◆ Update() [2/2]

void webrtc::BackgroundNoise::Update ( const AudioMultiVector sync_buffer,
const PostDecodeVad vad 
)

Member Data Documentation

◆ kMaxLpcOrder

static const size_t webrtc::BackgroundNoise::kMaxLpcOrder = 8
static

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