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

#include <exp_filter.h>

Public Member Functions

 ExpFilter (float alpha, float max=kValueUndefined)
 
void Reset (float alpha)
 
float Apply (float exp, float sample)
 
float filtered () const
 
void UpdateBase (float alpha)
 
 ExpFilter (float alpha, float max=kValueUndefined)
 
void Reset (float alpha)
 
float Apply (float exp, float sample)
 
float filtered () const
 
void UpdateBase (float alpha)
 

Static Public Attributes

static const float kValueUndefined = -1.0f
 

Constructor & Destructor Documentation

◆ ExpFilter() [1/2]

rtc::ExpFilter::ExpFilter ( float  alpha,
float  max = kValueUndefined 
)
inlineexplicit

◆ ExpFilter() [2/2]

rtc::ExpFilter::ExpFilter ( float  alpha,
float  max = kValueUndefined 
)
inlineexplicit

Member Function Documentation

◆ Apply() [1/2]

float rtc::ExpFilter::Apply ( float  exp,
float  sample 
)

◆ Apply() [2/2]

float rtc::ExpFilter::Apply ( float  exp,
float  sample 
)

◆ filtered() [1/2]

float rtc::ExpFilter::filtered ( ) const
inline

◆ filtered() [2/2]

float rtc::ExpFilter::filtered ( ) const
inline

◆ Reset() [1/2]

void rtc::ExpFilter::Reset ( float  alpha)

◆ Reset() [2/2]

void rtc::ExpFilter::Reset ( float  alpha)

◆ UpdateBase() [1/2]

void rtc::ExpFilter::UpdateBase ( float  alpha)

◆ UpdateBase() [2/2]

void rtc::ExpFilter::UpdateBase ( float  alpha)

Member Data Documentation

◆ kValueUndefined

static const float rtc::ExpFilter::kValueUndefined = -1.0f
static

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