webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
webrtc::MovingMomentsTest Class Reference
Inheritance diagram for webrtc::MovingMomentsTest:
testing::Test

Protected Member Functions

virtual void SetUp ()
 
void CalculateMomentsAndVerify (const float *input, size_t input_length, const float *expected_mean, const float *expected_mean_squares)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void TearDown ()
 

Protected Attributes

std::unique_ptr< MovingMomentsmoving_moments_
 
float output_mean_ [kMaxOutputLength]
 
float output_mean_squares_ [kMaxOutputLength]
 

Static Protected Attributes

static const size_t kMovingMomentsBufferLength = 5
 
static const size_t kMaxOutputLength = 20
 

Member Function Documentation

◆ CalculateMomentsAndVerify()

void webrtc::MovingMomentsTest::CalculateMomentsAndVerify ( const float *  input,
size_t  input_length,
const float *  expected_mean,
const float *  expected_mean_squares 
)
protected

◆ SetUp()

void webrtc::MovingMomentsTest::SetUp ( )
protectedvirtual

Reimplemented from testing::Test.

Member Data Documentation

◆ kMaxOutputLength

const size_t webrtc::MovingMomentsTest::kMaxOutputLength = 20
staticprotected

◆ kMovingMomentsBufferLength

const size_t webrtc::MovingMomentsTest::kMovingMomentsBufferLength = 5
staticprotected

◆ moving_moments_

std::unique_ptr<MovingMoments> webrtc::MovingMomentsTest::moving_moments_
protected

◆ output_mean_

float webrtc::MovingMomentsTest::output_mean_[kMaxOutputLength]
protected

◆ output_mean_squares_

float webrtc::MovingMomentsTest::output_mean_squares_[kMaxOutputLength]
protected

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