Home
last modified time | relevance | path

Searched refs:NetEq (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_impl_unittest.cc202 NetEq::Config config_;
233 TEST(NetEq, CreateAndDestroy) { in TEST() argument
234 NetEq::Config config; in TEST()
235 NetEq* neteq = NetEq::Create(config); in TEST()
255 EXPECT_EQ(NetEq::kFail, neteq_->RemovePayloadType(rtp_payload_type)); in TEST_F()
386 EXPECT_EQ(NetEq::kOK, neteq_->RegisterPayloadType( in TEST_F()
391 EXPECT_EQ(NetEq::kOK, in TEST_F()
400 EXPECT_EQ(NetEq::kOK, in TEST_F()
457 EXPECT_EQ(NetEq::kOK, neteq_->RegisterExternalDecoder( in TEST_F()
462 EXPECT_EQ(NetEq::kOK, in TEST_F()
[all …]
Dneteq_stereo_unittest.cc63 NetEq::Config config; in NetEqStereoTest()
65 neteq_mono_ = NetEq::Create(config); in NetEqStereoTest()
66 neteq_ = NetEq::Create(config); in NetEqStereoTest()
129 ASSERT_EQ(NetEq::kOK, neteq_mono_->RegisterPayloadType(mono_decoder, "mono", in SetUp()
131 ASSERT_EQ(NetEq::kOK, in SetUp()
196 ASSERT_EQ(NetEq::kOK, in RunTest()
202 ASSERT_EQ(NetEq::kOK, neteq_->InsertPacket( in RunTest()
218 EXPECT_EQ(NetEq::kOK, in RunTest()
225 ASSERT_EQ(NetEq::kOK, in RunTest()
248 NetEq* neteq_mono_;
[all …]
Dneteq.cc31 std::string NetEq::Config::ToString() const { in ToString()
46 NetEq* NetEq::Create(const NetEq::Config& config) { in Create()
Dneteq_external_decoder_unittest.cc176 NetEq::Config config; in NetEqExternalVsInternalDecoderTest()
179 neteq_internal_.reset(NetEq::Create(config)); in NetEqExternalVsInternalDecoderTest()
183 ASSERT_EQ(NetEq::kOK, neteq_internal_->RegisterPayloadType( in SetUp()
193 EXPECT_EQ(NetEq::kOK, in GetAndVerifyOutput()
216 ASSERT_EQ(NetEq::kOK, neteq_internal_->InsertPacket(rtp_header, payload, in InsertPacket()
228 rtc::scoped_ptr<NetEq> neteq_internal_;
Dbackground_noise.h71 NetEq::BackgroundNoiseMode mode() const { return mode_; } in mode()
75 void set_mode(NetEq::BackgroundNoiseMode mode) { mode_ = mode; } in set_mode()
131 NetEq::BackgroundNoiseMode mode_;
Dneteq_unittest.cc321 NetEq* neteq_;
322 NetEq::Config config_;
350 neteq_ = NetEq::Create(config_); in SetUp()
928 EXPECT_EQ(NetEq::kFail, neteq_->InsertPacket(rtp_info, payload, 0)); in TEST_F()
929 EXPECT_EQ(NetEq::kUnknownRtpPayloadType, neteq_->LastError()); in TEST_F()
953 EXPECT_EQ(NetEq::kFail, in TEST_F()
957 EXPECT_EQ(NetEq::kDecoderErrorCode, neteq_->LastError()); in TEST_F()
1125 config_.background_noise_mode = NetEq::kBgnOn; in NetEqBgnTestOn()
1136 config_.background_noise_mode = NetEq::kBgnOff; in NetEqBgnTestOff()
1147 config_.background_noise_mode = NetEq::kBgnFade; in NetEqBgnTestFade()
[all …]
Dneteq_impl.h58 class NetEqImpl : public webrtc::NetEq {
62 NetEqImpl(const NetEq::Config& config,
Dexpand.cc898 NetEq::BackgroundNoiseMode bgn_mode = background_noise_->mode(); in GenerateBackgroundNoise()
899 if (bgn_mode == NetEq::kBgnFade && too_many_expands && in GenerateBackgroundNoise()
923 if (!stop_muting_ && bgn_mode != NetEq::kBgnOff && in GenerateBackgroundNoise()
924 !(bgn_mode == NetEq::kBgnFade && too_many_expands)) { in GenerateBackgroundNoise()
Dbackground_noise.cc30 mode_(NetEq::kBgnOn) { in BackgroundNoise()
Dneteq_impl.cc56 NetEqImpl::NetEqImpl(const NetEq::Config& config, in NetEqImpl()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dneteq_external_decoder_test.cc26 NetEq::Config config; in NetEqExternalDecoderTest()
28 neteq_.reset(NetEq::Create(config)); in NetEqExternalDecoderTest()
33 ASSERT_EQ(NetEq::kOK, in Init()
42 ASSERT_EQ(NetEq::kOK, in InsertPacket()
52 EXPECT_EQ(NetEq::kOK, in GetOutputAudio()
Dneteq_performance_test.cc21 using webrtc::NetEq;
41 NetEq::Config config; in Run()
43 NetEq* neteq = NetEq::Create(config); in Run()
89 if (error != NetEq::kOK) in Run()
116 if (error != NetEq::kOK) in Run()
Dneteq_external_decoder_test.h50 NetEq* neteq() { return neteq_.get(); } in neteq()
58 rtc::scoped_ptr<NetEq> neteq_;
Dneteq_rtpplay.cc43 using webrtc::NetEq;
190 void RegisterPayloadType(NetEq* neteq, in RegisterPayloadType()
202 void RegisterPayloadTypes(NetEq* neteq) { in RegisterPayloadTypes()
491 NetEq::Config config; in main()
493 NetEq* neteq = NetEq::Create(config); in main()
563 if (error != NetEq::kOK) { in main()
564 if (neteq->LastError() == NetEq::kUnknownRtpPayloadType) { in main()
616 if (error != NetEq::kOK) { in main()
Dneteq_quality_test.cc247 NetEq::Config config; in NetEqQualityTest()
249 neteq_.reset(NetEq::Create(config)); in NetEqQualityTest()
385 if (ret != NetEq::kOK) in Transmit()
402 if (ret != NetEq::kOK) { in DecodeBlock()
Dneteq_quality_test.h127 rtc::scoped_ptr<NetEq> neteq_;
/external/webrtc/webrtc/modules/audio_coding/neteq/include/
Dneteq.h72 class NetEq {
141 static NetEq* Create(const NetEq::Config& config);
143 virtual ~NetEq() {} in ~NetEq()
301 NetEq() {} in NetEq() function
304 RTC_DISALLOW_COPY_AND_ASSIGN(NetEq);
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_receiver.h36 class NetEq; variable
294 NetEq* neteq_;
Dacm_receiver.cc128 neteq_(NetEq::Create(config.neteq_config)), in AcmReceiver()
226 &type) != NetEq::kOK) { in GetAudio()
336 if (neteq_->RemovePayloadType(payload_type) != NetEq::kOK) { in AddCodec()
351 if (ret_val != NetEq::kOK) { in AddCodec()
412 if (neteq_->RemovePayloadType(payload_type) != NetEq::kOK) { in RemoveCodec()
/external/webrtc/webrtc/modules/audio_coding/include/
Daudio_coding_module.h71 NetEq::Config neteq_config;
/external/webrtc/webrtc/modules/
Dmodules.gyp133 'pcm16b', # Needed by NetEq tests.