Home
last modified time | relevance | path

Searched refs:kFrameSizeMs (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddelay_manager_unittest.cc31 static const int kFrameSizeMs = 20; member in webrtc::DelayManagerTest
32 static const int kTsIncrement = kFrameSizeMs * kFs / 1000;
126 SetPacketAudioLength(kFrameSizeMs); in TEST_F()
130 IncreaseTime(kFrameSizeMs); in TEST_F()
146 EXPECT_EQ(lower + (20 << 8) / kFrameSizeMs, higher); in TEST_F()
150 SetPacketAudioLength(kFrameSizeMs); in TEST_F()
154 IncreaseTime(2 * kFrameSizeMs); in TEST_F()
170 EXPECT_EQ(lower + (20 << 8) / kFrameSizeMs, higher); in TEST_F()
174 SetPacketAudioLength(kFrameSizeMs); in TEST_F()
178 IncreaseTime(kFrameSizeMs); in TEST_F()
[all …]
Dneteq_network_stats_unittest.cc84 static const int kFrameSizeMs = 20; member in webrtc::test::NetEqNetworkStatsTest
115 frame_size_samples_(kFrameSizeMs * samples_per_ms_), in NetEqNetworkStatsTest()
132 static_cast<double>(kFrameSizeMs) / loss_rate : 0xffffffff); in SetPacketLossRate()
189 while (time_now + kFrameSizeMs >= next_send_time) { in RunTest()
Dneteq_unittest.cc706 const int kFrameSizeMs = 30; in LongCngWithClockDrift() local
707 const size_t kSamples = kFrameSizeMs * 16; in LongCngWithClockDrift()
727 next_input_time_ms += static_cast<double>(kFrameSizeMs) * drift_factor; in LongCngWithClockDrift()
820 next_input_time_ms += kFrameSizeMs * drift_factor; in LongCngWithClockDrift()
1413 const int kFrameSizeMs = kBlocksPerFrame * kTimeStepMs; in WrapTest() local
1451 EXPECT_LE(network_stats.preferred_buffer_size_ms, kFrameSizeMs * 2); in WrapTest()
1452 EXPECT_LE(network_stats.current_buffer_size_ms, kFrameSizeMs * 2 + in WrapTest()
1461 next_input_time_ms += static_cast<double>(kFrameSizeMs); in WrapTest()
1512 const int kFrameSizeMs = 10; in DuplicateCng() local
1514 const int kSamples = kFrameSizeMs * kSampleRateKhz; in DuplicateCng()
[all …]
Dneteq_external_decoder_unittest.cc28 static const int kFrameSizeMs = 10; // Frame size of Pcm16B. member in webrtc::NetEqExternalDecoderUnitTest
35 frame_size_samples_(kFrameSizeMs * samples_per_ms_), in NetEqExternalDecoderUnitTest()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dinitial_delay_manager_unittest.cc28 const int kFrameSizeMs = 20; variable
29 const uint32_t kTimestampStep = kFrameSizeMs * kSamplingRateHz / 1000;
277 for (int n = 1; n < kLatePacketThreshold * kFrameSizeMs / 10; ++n) { in TEST_F()
353 for (int n = 0; n < kInitDelayMs / kFrameSizeMs; ++n) { in TEST_F()
Daudio_coding_module_unittest_oldapi.cc54 const int kFrameSizeMs = 10; // Multiple of 10. variable
55 const int kFrameSizeSamples = kFrameSizeMs / 10 * kNumSamples10ms;