Home
last modified time | relevance | path

Searched refs:neteq_ (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/modules/audio_coding/acm2/
Dacm_receiver.cc53 neteq_(CreateNetEq(config.neteq_factory, in AcmReceiver()
67 if (neteq_->SetMinimumDelay(delay_ms)) in SetMinimumDelay()
74 if (neteq_->SetMaximumDelay(delay_ms)) in SetMaximumDelay()
81 return neteq_->SetBaseMinimumDelayMs(delay_ms); in SetBaseMinimumDelayMs()
85 return neteq_->GetBaseMinimumDelayMs(); in GetBaseMinimumDelayMs()
97 return neteq_->last_output_sample_rate_hz(); in last_output_sample_rate_hz()
103 neteq_->InsertEmptyPacket(rtp_header); in InsertPacket()
108 auto format = neteq_->GetDecoderFormat(payload_type); in InsertPacket()
112 format = neteq_->GetDecoderFormat(payload_type); in InsertPacket()
136 if (neteq_->InsertPacket(rtp_header, incoming_payload) < 0) { in InsertPacket()
[all …]
Dacm_receiver.h220 const std::unique_ptr<NetEq> neteq_; // NetEq is thread-safe; no lock needed. variable
/external/webrtc/modules/audio_coding/neteq/
Dneteq_unittest.cc177 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, payload)); in TEST_F()
182 ASSERT_EQ(0, neteq_->GetAudio(&out_frame_, &muted)); in TEST_F()
187 EXPECT_EQ(0, neteq_->NetworkStatistics(&stats)); in TEST_F()
198 EXPECT_EQ(0, neteq_->NetworkStatistics(&stats)); in TEST_F()
283 EXPECT_EQ(NetEq::kFail, neteq_->InsertPacket(rtp_info, payload)); in TEST_F()
298 EXPECT_EQ(0, neteq_->InsertPacket(rtp_info, payload)); in TEST_F()
306 EXPECT_EQ(NetEq::kFail, neteq_->GetAudio(&out_frame_, &muted)); in TEST_F()
328 EXPECT_EQ(0, neteq_->GetAudio(&out_frame_, &muted)); in TEST_F()
341 EXPECT_EQ(config_.sample_rate_hz, neteq_->last_output_sample_rate_hz()); in TEST_F()
387 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, rtc::ArrayView<const uint8_t>( in CheckBgn()
[all …]
Dneteq_impl_unittest.cc144 neteq_.reset(new NetEqImpl(config_, std::move(deps))); in CreateInstance()
145 ASSERT_TRUE(neteq_ != NULL); in CreateInstance()
151 ASSERT_TRUE(neteq_ == NULL) << "Must call UseNoMocks before CreateInstance"; in UseNoMocks()
193 EXPECT_TRUE(neteq_->RegisterPayloadType( in TestDtmfPacket()
197 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TestDtmfPacket()
204 EXPECT_EQ(NetEq::kOK, neteq_->GetAudio(&output, &muted)); in TestDtmfPacket()
227 std::unique_ptr<NetEqImpl> neteq_; member in webrtc::NetEqImplTest
267 neteq_->RegisterPayloadType(rtp_payload_type, format); in TEST_F()
277 EXPECT_EQ(NetEq::kOK, neteq_->RemovePayloadType(rtp_payload_type)); in TEST_F()
283 neteq_->RemoveAllPayloadTypes(); in TEST_F()
[all …]
Dneteq_network_stats_unittest.cc173 neteq_ = CreateNetEq(config, Clock::GetRealTimeClock(), decoder_factory_); in NetEqNetworkStatsTest()
174 neteq_->RegisterPayloadType(kPayloadType, format); in NetEqNetworkStatsTest()
198 neteq_->NetworkStatistics(&stats); in CheckNetworkStatistics()
244 ASSERT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header_, payload)); in RunTest()
248 EXPECT_EQ(NetEq::kOK, neteq_->GetAudio(&output_frame_, &muted)); in RunTest()
253 EXPECT_EQ(48000, neteq_->last_output_sample_rate_hz()); in RunTest()
258 neteq_->FlushBuffers(); in RunTest()
317 std::unique_ptr<NetEq> neteq_; member in webrtc::test::NetEqNetworkStatsTest
Dneteq_stereo_unittest.cc74 neteq_ = neteq_factory.CreateNetEq(config, decoder_factory, &clock_); in NetEqStereoTest()
96 ASSERT_TRUE(neteq_->RegisterPayloadType( in SetUp()
171 ASSERT_EQ(NetEq::kOK, neteq_->InsertPacket( in RunTest()
189 ASSERT_EQ(NetEq::kOK, neteq_->GetAudio(&output_multi_channel_, &muted)); in RunTest()
213 std::unique_ptr<NetEq> neteq_; member in webrtc::NetEqStereoTest
/external/webrtc/modules/audio_coding/neteq/test/
Dneteq_decoding_test.cc86 neteq_ = DefaultNetEqFactory().CreateNetEq(config_, decoder_factory, &clock_); in SetUp()
88 ASSERT_EQ(0, neteq_->NetworkStatistics(&stat)); in SetUp()
90 ASSERT_TRUE(neteq_); in SetUp()
91 LoadDecoders(neteq_.get()); in SetUp()
109 0, neteq_->InsertPacket( in Process()
120 ASSERT_EQ(0, neteq_->GetAudio(&out_frame_, &muted)); in Process()
127 EXPECT_EQ(output_sample_rate_, neteq_->last_output_sample_rate_hz()); in Process()
164 ASSERT_EQ(0, neteq_->NetworkStatistics(&current_network_stats)); in DecodeAndCompare()
169 auto lifetime_stats = neteq_->GetLifetimeStatistics(); in DecodeAndCompare()
243 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, payload)); in WrapTest()
[all …]
Dneteq_decoding_test.h72 std::unique_ptr<NetEq> neteq_; variable
/external/webrtc/modules/audio_coding/neteq/tools/
Dneteq_test.cc71 neteq_(neteq_factory in NetEqTest()
95 neteq_.get()); in Run()
118 int error = neteq_->InsertPacket( in RunToNextGetAudio()
126 neteq_.get()); in RunToNextGetAudio()
129 neteq_->InsertEmptyPacket(packet_data->header); in RunToNextGetAudio()
136 const auto ops_state = neteq_->GetOperationsAndState(); in RunToNextGetAudio()
171 callbacks_.get_audio_callback->BeforeGetAudio(neteq_.get()); in RunToNextGetAudio()
175 int error = neteq_->GetAudio(&out_frame, &muted, in RunToNextGetAudio()
188 muted, neteq_.get()); in RunToNextGetAudio()
200 const auto operations_state = neteq_->GetOperationsAndState(); in RunToNextGetAudio()
[all …]
Dneteq_quality_test.cc243 neteq_ = CreateNetEq(config, Clock::GetRealTimeClock(), decoder_factory); in NetEqQualityTest()
307 ASSERT_TRUE(neteq_->RegisterPayloadType(kPayloadType, audio_format_)); in SetUp()
408 int ret = neteq_->InsertPacket( in Transmit()
424 int ret = neteq_->GetAudio(&out_frame_, &muted); in DecodeBlock()
Dneteq_test.h115 std::unique_ptr<NetEq> neteq_; variable
Dneteq_quality_test.h162 std::unique_ptr<NetEq> neteq_; variable