/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | neteq_unittest.cc | 321 NetEq* neteq_; member in webrtc::NetEqDecodingTest 340 : neteq_(NULL), in NetEqDecodingTest() 350 neteq_ = NetEq::Create(config_); in SetUp() 352 ASSERT_EQ(0, neteq_->NetworkStatistics(&stat)); in SetUp() 354 ASSERT_TRUE(neteq_); in SetUp() 359 delete neteq_; in TearDown() 365 neteq_->RegisterPayloadType(NetEqDecoder::kDecoderPCMu, "pcmu", 0)); in LoadDecoders() 368 neteq_->RegisterPayloadType(NetEqDecoder::kDecoderPCMa, "pcma", 8)); in LoadDecoders() 372 0, neteq_->RegisterPayloadType(NetEqDecoder::kDecoderILBC, "ilbc", 102)); in LoadDecoders() 377 0, neteq_->RegisterPayloadType(NetEqDecoder::kDecoderISAC, "isac", 103)); in LoadDecoders() [all …]
|
D | neteq_impl_unittest.cc | 57 : neteq_(NULL), in NetEqImplTest() 148 neteq_ = new NetEqImpl(config_, in CreateInstance() 161 ASSERT_TRUE(neteq_ != NULL); in CreateInstance() 165 ASSERT_TRUE(neteq_ == NULL) << "Must call UseNoMocks before CreateInstance"; in UseNoMocks() 198 delete neteq_; in ~NetEqImplTest() 201 NetEqImpl* neteq_; member in webrtc::NetEqImplTest 246 neteq_->RegisterPayloadType(codec_type, kCodecName, rtp_payload_type); in TEST_F() 255 EXPECT_EQ(NetEq::kFail, neteq_->RemovePayloadType(rtp_payload_type)); in TEST_F() 363 neteq_->InsertPacket(rtp_header, payload, kFirstReceiveTime); in TEST_F() 368 neteq_->InsertPacket(rtp_header, payload, kFirstReceiveTime + 155); in TEST_F() [all …]
|
D | neteq_stereo_unittest.cc | 66 neteq_ = NetEq::Create(config); in NetEqStereoTest() 77 delete neteq_; in ~NetEqStereoTest() 132 neteq_->RegisterPayloadType(multi_decoder, "multi-channel", in SetUp() 202 ASSERT_EQ(NetEq::kOK, neteq_->InsertPacket( in RunTest() 226 neteq_->GetAudio(kMaxBlockSize * num_channels_, in RunTest() 249 NetEq* neteq_; member in webrtc::NetEqStereoTest
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | acm_receiver.cc | 128 neteq_(NetEq::Create(config.neteq_config)), in AcmReceiver() 138 delete neteq_; in ~AcmReceiver() 142 if (neteq_->SetMinimumDelay(delay_ms)) in SetMinimumDelay() 149 if (neteq_->SetMaximumDelay(delay_ms)) in SetMaximumDelay() 156 return neteq_->LeastRequiredDelayMs(); in LeastRequiredDelayMs() 165 return neteq_->last_output_sample_rate_hz(); in last_output_sample_rate_hz() 203 if (neteq_->InsertPacket(rtp_header, incoming_payload, receive_timestamp) < in InsertPacket() 222 if (neteq_->GetAudio(AudioFrame::kMaxDataSizeSamples, in GetAudio() 231 const int current_sample_rate_hz = neteq_->last_output_sample_rate_hz(); in GetAudio() 336 if (neteq_->RemovePayloadType(payload_type) != NetEq::kOK) { in AddCodec() [all …]
|
D | acm_receiver.h | 294 NetEq* neteq_; variable
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | neteq_external_decoder_test.cc | 28 neteq_.reset(NetEq::Create(config)); in NetEqExternalDecoderTest() 34 neteq_->RegisterExternalDecoder(decoder_, codec_, name_, in Init() 43 neteq_->InsertPacket(rtp_header, payload, receive_timestamp)); in InsertPacket() 53 neteq_->GetAudio(max_length, in GetOutputAudio() 61 EXPECT_EQ(sample_rate_hz_, neteq_->last_output_sample_rate_hz()); in GetOutputAudio()
|
D | neteq_external_decoder_test.h | 50 NetEq* neteq() { return neteq_.get(); } in neteq() 58 rtc::scoped_ptr<NetEq> neteq_; variable
|
D | neteq_quality_test.cc | 249 neteq_.reset(NetEq::Create(config)); in NetEqQualityTest() 296 neteq_->RegisterPayloadType(decoder_type_, "noname", kPayloadType)); in SetUp() 381 int ret = neteq_->InsertPacket( in Transmit() 399 int ret = neteq_->GetAudio(out_size_samples_ * channels_, &out_data_[0], in DecodeBlock()
|
D | neteq_quality_test.h | 127 rtc::scoped_ptr<NetEq> neteq_; variable
|