/external/webrtc/modules/audio_coding/neteq/ |
D | decision_logic.cc | 93 NetEq::Operation DecisionLogic::GetDecision(const NetEqStatus& status, in GetDecision() 98 if (status.last_mode == NetEq::Mode::kRfc3389Cng) { in GetDecision() 100 } else if (status.last_mode == NetEq::Mode::kCodecInternalCng) { in GetDecision() 109 (status.last_mode == NetEq::Mode::kAccelerateSuccess || in GetDecision() 110 status.last_mode == NetEq::Mode::kAccelerateLowEnergy || in GetDecision() 111 status.last_mode == NetEq::Mode::kPreemptiveExpandSuccess || in GetDecision() 112 status.last_mode == NetEq::Mode::kPreemptiveExpandLowEnergy); in GetDecision() 116 if (status.last_mode != NetEq::Mode::kRfc3389Cng && in GetDecision() 117 status.last_mode != NetEq::Mode::kCodecInternalCng && in GetDecision() 124 if (status.last_mode == NetEq::Mode::kError) { in GetDecision() [all …]
|
D | neteq_impl_unittest.cc | 197 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TestDtmfPacket() 204 EXPECT_EQ(NetEq::kOK, neteq_->GetAudio(&output, &muted)); in TestDtmfPacket() 228 NetEq::Config config_; 253 TEST(NetEq, CreateAndDestroy) { in TEST() argument 254 NetEq::Config config; in TEST() 257 std::unique_ptr<NetEq> neteq = in TEST() 277 EXPECT_EQ(NetEq::kOK, neteq_->RemovePayloadType(rtp_payload_type)); in TEST_F() 394 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TEST_F() 402 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TEST_F() 488 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TEST_F() [all …]
|
D | decision_logic.h | 54 NetEq::Operation GetDecision(const NetEqController::NetEqStatus& status, 68 void ExpandDecision(NetEq::Operation operation) override; 128 virtual NetEq::Operation CngOperation(NetEq::Mode prev_mode, 135 virtual NetEq::Operation NoPacket(bool play_dtmf); 138 virtual NetEq::Operation ExpectedPacketAvailable(NetEq::Mode prev_mode, 143 virtual NetEq::Operation FuturePacketAvailable( 145 NetEq::Mode prev_mode,
|
D | neteq_stereo_unittest.cc | 69 NetEq::Config config; in NetEqStereoTest() 166 ASSERT_EQ(NetEq::kOK, in RunTest() 171 ASSERT_EQ(NetEq::kOK, neteq_->InsertPacket( in RunTest() 184 EXPECT_EQ(NetEq::kOK, neteq_mono_->GetAudio(&output_, &muted)); in RunTest() 189 ASSERT_EQ(NetEq::kOK, neteq_->GetAudio(&output_multi_channel_, &muted)); in RunTest() 212 std::unique_ptr<NetEq> neteq_mono_; 213 std::unique_ptr<NetEq> neteq_;
|
D | normal_unittest.cc | 73 EXPECT_EQ(0, normal.Process(input, 0, NetEq::Mode::kExpand, &output)); in TEST() 86 NetEq::Mode::kExpand, &output)); in TEST() 109 EXPECT_EQ(0, normal.Process(input, input_len, NetEq::Mode::kExpand, &output)); in TEST() 137 normal.Process(input, kPacketsizeBytes, NetEq::Mode::kExpand, &output)); in TEST()
|
D | neteq_network_stats_unittest.cc | 30 std::unique_ptr<NetEq> CreateNetEq( in CreateNetEq() 31 const NetEq::Config& config, in CreateNetEq() 171 NetEq::Config config; in NetEqNetworkStatsTest() 244 ASSERT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header_, payload)); in RunTest() 248 EXPECT_EQ(NetEq::kOK, neteq_->GetAudio(&output_frame_, &muted)); in RunTest() 317 std::unique_ptr<NetEq> neteq_;
|
D | default_neteq_factory.cc | 22 std::unique_ptr<NetEq> DefaultNetEqFactory::CreateNetEq( in CreateNetEq() 23 const NetEq::Config& config, in CreateNetEq()
|
D | default_neteq_factory.h | 31 std::unique_ptr<NetEq> CreateNetEq( 32 const NetEq::Config& config,
|
D | normal.cc | 29 NetEq::Mode last_mode, in Process() 55 if (last_mode == NetEq::Mode::kExpand) { in Process() 147 } else if (last_mode == NetEq::Mode::kRfc3389Cng) { in Process()
|
/external/webrtc/api/neteq/ |
D | neteq.cc | 17 NetEq::Config::Config() = default; 18 NetEq::Config::Config(const Config&) = default; 19 NetEq::Config::Config(Config&&) = default; 20 NetEq::Config::~Config() = default; 21 NetEq::Config& NetEq::Config::operator=(const Config&) = default; 22 NetEq::Config& NetEq::Config::operator=(Config&&) = default; 24 std::string NetEq::Config::ToString() const { in ToString()
|
D | neteq_controller.h | 93 NetEq::Mode last_mode; 117 virtual NetEq::Operation GetDecision(const NetEqStatus& status, 149 virtual void ExpandDecision(NetEq::Operation operation) = 0;
|
D | neteq.h | 119 class NetEq { 191 static NetEq* Create( 192 const NetEq::Config& config, 196 virtual ~NetEq() {} in ~NetEq()
|
D | neteq_factory.h | 30 virtual std::unique_ptr<NetEq> CreateNetEq( 31 const NetEq::Config& config,
|
D | custom_neteq_factory.cc | 25 std::unique_ptr<NetEq> CustomNetEqFactory::CreateNetEq( in CreateNetEq() 26 const NetEq::Config& config, in CreateNetEq()
|
D | custom_neteq_factory.h | 34 std::unique_ptr<NetEq> CreateNetEq( 35 const NetEq::Config& config,
|
/external/webrtc/modules/audio_coding/neteq/tools/ |
D | neteq_test.h | 48 NetEq* neteq) = 0; 54 virtual void BeforeGetAudio(NetEq* neteq) = 0; 58 NetEq* neteq) = 0; 64 virtual void SimulationEnded(int64_t simulation_time_ms, NetEq* neteq) = 0; 83 NetEqTest(const NetEq::Config& config, 115 std::unique_ptr<NetEq> neteq_;
|
D | neteq_test.cc | 24 absl::optional<NetEq::Operation> ActionToOperations( in ActionToOperations() 31 return absl::make_optional(NetEq::Operation::kAccelerate); in ActionToOperations() 33 return absl::make_optional(NetEq::Operation::kExpand); in ActionToOperations() 35 return absl::make_optional(NetEq::Operation::kNormal); in ActionToOperations() 37 return absl::make_optional(NetEq::Operation::kPreemptiveExpand); in ActionToOperations() 41 std::unique_ptr<NetEq> CreateNetEq( in CreateNetEq() 42 const NetEq::Config& config, in CreateNetEq() 62 NetEqTest::NetEqTest(const NetEq::Config& config, in NetEqTest() 121 if (error != NetEq::kOK && callbacks_.error_callback) { in RunToNextGetAudio() 179 if (error != NetEq::kOK) { in RunToNextGetAudio()
|
D | neteq_performance_test.cc | 24 using webrtc::NetEq; 41 NetEq::Config config; in Run() 91 if (error != NetEq::kOK) in Run() 110 if (error != NetEq::kOK) in Run()
|
D | neteq_delay_analyzer.h | 30 NetEq* neteq) override; 32 void BeforeGetAudio(NetEq* neteq) override; 37 NetEq* neteq) override;
|
D | neteq_quality_test.cc | 93 std::unique_ptr<NetEq> CreateNetEq( in CreateNetEq() 94 const NetEq::Config& config, in CreateNetEq() 241 NetEq::Config config; in NetEqQualityTest() 411 if (ret != NetEq::kOK) in Transmit() 427 if (ret != NetEq::kOK) { in DecodeBlock()
|
D | neteq_stats_getter.h | 63 void BeforeGetAudio(NetEq* neteq) override; 68 NetEq* neteq) override;
|
/external/webrtc/modules/audio_coding/neteq/test/ |
D | neteq_decoding_test.h | 72 std::unique_ptr<NetEq> neteq_; 73 NetEq::Config config_; 90 std::unique_ptr<NetEq> neteq2_; 91 NetEq::Config config2_;
|
/external/webrtc/modules/audio_coding/neteq/mock/ |
D | mock_neteq_controller.h | 26 MOCK_METHOD(NetEq::Operation, 42 MOCK_METHOD(void, ExpandDecision, (NetEq::Operation operation), (override));
|
/external/webrtc/modules/audio_coding/acm2/ |
D | acm_receiver.h | 35 class NetEq; variable 220 const std::unique_ptr<NetEq> neteq_; // NetEq is thread-safe; no lock needed.
|
D | acm_receiver.cc | 38 std::unique_ptr<NetEq> CreateNetEq( in CreateNetEq() 40 const NetEq::Config& config, in CreateNetEq() 152 if (neteq_->GetAudio(audio_frame, muted) != NetEq::kOK) { in GetAudio()
|