webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
webrtc::NetEqStereoTest Class Reference
Inheritance diagram for webrtc::NetEqStereoTest:
webrtc::NetEqStereoTestDelays webrtc::NetEqStereoTestLosses webrtc::NetEqStereoTestNoJitter webrtc::NetEqStereoTestPositiveDrift webrtc::NetEqStereoTestNegativeDrift

Protected Member Functions

 NetEqStereoTest ()
 
 ~NetEqStereoTest ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
int GetNewPackets ()
 
virtual void VerifyOutput (size_t num_samples)
 
virtual int GetArrivalTime (int send_time)
 
virtual bool Lost ()
 
void RunTest (int num_loops)
 

Protected Attributes

const size_t num_channels_
 
const int sample_rate_hz_
 
const int samples_per_ms_
 
const int frame_size_ms_
 
const size_t frame_size_samples_
 
const size_t output_size_samples_
 
NetEqneteq_mono_
 
NetEqneteq_
 
test::RtpGenerator rtp_generator_mono_
 
test::RtpGenerator rtp_generator_
 
int16_tinput_
 
int16_tinput_multi_channel_
 
uint8_tencoded_
 
uint8_tencoded_multi_channel_
 
AudioFrame output_
 
AudioFrame output_multi_channel_
 
WebRtcRTPHeader rtp_header_mono_
 
WebRtcRTPHeader rtp_header_
 
size_t payload_size_bytes_
 
size_t multi_payload_size_bytes_
 
int last_send_time_
 
int last_arrival_time_
 
std::unique_ptr< test::InputAudioFileinput_file_
 

Static Protected Attributes

static const int kTimeStepMs = 10
 
static const size_t kMaxBlockSize = 480
 
static const uint8_t kPayloadTypeMono = 95
 
static const uint8_t kPayloadTypeMulti = 96
 

Constructor & Destructor Documentation

◆ NetEqStereoTest()

webrtc::NetEqStereoTest::NetEqStereoTest ( )
inlineprotected

◆ ~NetEqStereoTest()

webrtc::NetEqStereoTest::~NetEqStereoTest ( )
inlineprotected

Member Function Documentation

◆ GetArrivalTime()

virtual int webrtc::NetEqStereoTest::GetArrivalTime ( int  send_time)
inlineprotectedvirtual

◆ GetNewPackets()

int webrtc::NetEqStereoTest::GetNewPackets ( )
inlineprotected

◆ Lost()

virtual bool webrtc::NetEqStereoTest::Lost ( )
inlineprotectedvirtual

Reimplemented in webrtc::NetEqStereoTestLosses.

◆ RunTest()

void webrtc::NetEqStereoTest::RunTest ( int  num_loops)
inlineprotected

◆ SetUp()

virtual void webrtc::NetEqStereoTest::SetUp ( )
inlineprotectedvirtual

◆ TearDown()

virtual void webrtc::NetEqStereoTest::TearDown ( )
inlineprotectedvirtual

◆ VerifyOutput()

virtual void webrtc::NetEqStereoTest::VerifyOutput ( size_t  num_samples)
inlineprotectedvirtual

Reimplemented in webrtc::NetEqStereoTestLosses.

Member Data Documentation

◆ encoded_

uint8_t* webrtc::NetEqStereoTest::encoded_
protected

◆ encoded_multi_channel_

uint8_t* webrtc::NetEqStereoTest::encoded_multi_channel_
protected

◆ frame_size_ms_

const int webrtc::NetEqStereoTest::frame_size_ms_
protected

◆ frame_size_samples_

const size_t webrtc::NetEqStereoTest::frame_size_samples_
protected

◆ input_

int16_t* webrtc::NetEqStereoTest::input_
protected

◆ input_file_

std::unique_ptr<test::InputAudioFile> webrtc::NetEqStereoTest::input_file_
protected

◆ input_multi_channel_

int16_t* webrtc::NetEqStereoTest::input_multi_channel_
protected

◆ kMaxBlockSize

const size_t webrtc::NetEqStereoTest::kMaxBlockSize = 480
staticprotected

◆ kPayloadTypeMono

const uint8_t webrtc::NetEqStereoTest::kPayloadTypeMono = 95
staticprotected

◆ kPayloadTypeMulti

const uint8_t webrtc::NetEqStereoTest::kPayloadTypeMulti = 96
staticprotected

◆ kTimeStepMs

const int webrtc::NetEqStereoTest::kTimeStepMs = 10
staticprotected

◆ last_arrival_time_

int webrtc::NetEqStereoTest::last_arrival_time_
protected

◆ last_send_time_

int webrtc::NetEqStereoTest::last_send_time_
protected

◆ multi_payload_size_bytes_

size_t webrtc::NetEqStereoTest::multi_payload_size_bytes_
protected

◆ neteq_

NetEq* webrtc::NetEqStereoTest::neteq_
protected

◆ neteq_mono_

NetEq* webrtc::NetEqStereoTest::neteq_mono_
protected

◆ num_channels_

const size_t webrtc::NetEqStereoTest::num_channels_
protected

◆ output_

AudioFrame webrtc::NetEqStereoTest::output_
protected

◆ output_multi_channel_

AudioFrame webrtc::NetEqStereoTest::output_multi_channel_
protected

◆ output_size_samples_

const size_t webrtc::NetEqStereoTest::output_size_samples_
protected

◆ payload_size_bytes_

size_t webrtc::NetEqStereoTest::payload_size_bytes_
protected

◆ rtp_generator_

test::RtpGenerator webrtc::NetEqStereoTest::rtp_generator_
protected

◆ rtp_generator_mono_

test::RtpGenerator webrtc::NetEqStereoTest::rtp_generator_mono_
protected

◆ rtp_header_

WebRtcRTPHeader webrtc::NetEqStereoTest::rtp_header_
protected

◆ rtp_header_mono_

WebRtcRTPHeader webrtc::NetEqStereoTest::rtp_header_mono_
protected

◆ sample_rate_hz_

const int webrtc::NetEqStereoTest::sample_rate_hz_
protected

◆ samples_per_ms_

const int webrtc::NetEqStereoTest::samples_per_ms_
protected

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