/external/webrtc/modules/audio_coding/audio_network_adaptor/ |
D | bitrate_controller_unittest.cc | 42 const absl::optional<int>& frame_length_ms, in CheckDecision() argument 45 config.frame_length_ms = frame_length_ms; in CheckDecision() 202 int frame_length_ms = 20; in TEST() local 204 overall_bitrate - overhead_bytes_per_packet * 8 * 1000 / frame_length_ms); in TEST() 207 CheckDecision(&controller, frame_length_ms, current_bitrate); in TEST() 213 CheckDecision(&controller, frame_length_ms, current_bitrate); in TEST() 216 frame_length_ms = 60; in TEST() 221 CheckDecision(&controller, frame_length_ms, current_bitrate); in TEST() 225 current_bitrate += 30 * 8 * 1000 / frame_length_ms; in TEST() 227 CheckDecision(&controller, frame_length_ms, current_bitrate); in TEST() [all …]
|
D | frame_length_controller_v2.cc | 21 int OverheadBps(int overhead_bytes_per_packet, int frame_length_ms) { in OverheadBps() argument 22 return overhead_bytes_per_packet * 8 * 1000 / frame_length_ms; in OverheadBps() 59 absl::c_find_if(encoder_frame_lengths_ms_, [&](int frame_length_ms) { in MakeDecision() argument 63 OverheadBps(*overhead_bytes_per_packet_, frame_length_ms) > in MakeDecision() 68 config->frame_length_ms = it != encoder_frame_lengths_ms_.end() in MakeDecision()
|
D | frame_length_controller_v2_unittest.cc | 58 EXPECT_EQ(*config.frame_length_ms, expected_frame_length_ms); in ExpectFrameLengthDecision() 74 EXPECT_FALSE(config.frame_length_ms); in TEST_F() 78 EXPECT_FALSE(config.frame_length_ms); in TEST_F() 82 EXPECT_FALSE(config.frame_length_ms); in TEST_F() 86 EXPECT_TRUE(config.frame_length_ms); in TEST_F()
|
D | audio_network_adaptor_impl.cc | 123 if (config.frame_length_ms && prev_config_->frame_length_ms) { in GetEncoderRuntimeConfig() 124 if (*config.frame_length_ms > *prev_config_->frame_length_ms) { in GetEncoderRuntimeConfig() 126 } else if (*config.frame_length_ms < *prev_config_->frame_length_ms) { in GetEncoderRuntimeConfig()
|
D | frame_length_controller.cc | 24 int OverheadRateBps(size_t overhead_bytes_per_packet, int frame_length_ms) { in OverheadRateBps() argument 26 frame_length_ms); in OverheadRateBps() 75 RTC_DCHECK(!config->frame_length_ms); in MakeDecision() 83 config->frame_length_ms = *frame_length_ms_; in MakeDecision()
|
D | audio_network_adaptor_config.cc | 28 frame_length_ms == other.frame_length_ms && in operator ==()
|
D | bitrate_controller.cc | 61 if (config->frame_length_ms) in MakeDecision() 62 frame_length_ms_ = *config->frame_length_ms; in MakeDecision()
|
D | event_log_writer.cc | 49 if (last_logged_config_.frame_length_ms != config.frame_length_ms) in MaybeLogEncoderConfig()
|
D | audio_network_adaptor_impl_unittest.cc | 57 arg.frame_length_ms == config.frame_length_ms && 276 config1.frame_length_ms = 120; in TEST() 282 config2.frame_length_ms = 60; in TEST()
|
D | debug_dump_writer.cc | 124 if (config.frame_length_ms) in DumpEncoderRuntimeConfig() 125 dump_config->set_frame_length_ms(*config.frame_length_ms); in DumpEncoderRuntimeConfig()
|
D | event_log_writer_unittest.cc | 57 state.runtime_config.frame_length_ms = kFrameLengthMs; in CreateEventLogWriter() 132 state.runtime_config.frame_length_ms = 20; in TEST() 217 state.runtime_config.frame_length_ms = 20; in TEST()
|
D | frame_length_controller_unittest.cc | 44 int VeryLowBitrate(int frame_length_ms) { in VeryLowBitrate() argument 46 (kOverheadBytesPerPacket * 8 * 1000 / frame_length_ms); in VeryLowBitrate() 154 EXPECT_EQ(expected_frame_length_ms, config.frame_length_ms); in CheckDecision()
|
D | debug_dump.proto | 17 optional int32 frame_length_ms = 2; field
|
D | controller_manager_unittest.cc | 323 EXPECT_EQ(kInitialFrameLengthMs, encoder_config.frame_length_ms); in CheckControllersOrder()
|
/external/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_encoder_opus.cc | 153 [&](int frame_length_ms) { in FindSupportedFrameLengths() argument 154 return frame_length_ms >= min_frame_length_ms && in FindSupportedFrameLengths() 155 frame_length_ms <= max_frame_length_ms; in FindSupportedFrameLengths() 708 void AudioEncoderOpusImpl::SetFrameLength(int frame_length_ms) { in SetFrameLength() argument 709 next_frame_length_ms_ = frame_length_ms; in SetFrameLength() 761 if (config.frame_length_ms) in ApplyAudioNetworkAdaptor() 762 SetFrameLength(*config.frame_length_ms); in ApplyAudioNetworkAdaptor()
|
D | audio_encoder_multi_channel_opus_impl.h | 71 void SetFrameLength(int frame_length_ms);
|
D | audio_encoder_opus.h | 132 void SetFrameLength(int frame_length_ms);
|
D | audio_encoder_opus_unittest.cc | 100 config.frame_length_ms = kFrameLength; in CreateEncoderRuntimeConfig() 109 EXPECT_EQ(*config.frame_length_ms, encoder->next_frame_length_ms()); in CheckEncoderRuntimeConfig()
|
/external/webrtc/modules/audio_coding/audio_network_adaptor/include/ |
D | audio_network_adaptor_config.h | 27 absl::optional<int> frame_length_ms; member
|
/external/webrtc/rtc_tools/rtc_event_log_visualizer/ |
D | analyze_audio.cc | 60 if (ana_event.config.frame_length_ms) in CreateAudioEncoderFrameLengthGraph() 62 static_cast<float>(*ana_event.config.frame_length_ms)); in CreateAudioEncoderFrameLengthGraph()
|
/external/webrtc/logging/rtc_event_log/encoder/ |
D | rtc_event_log_encoder_new_format.cc | 920 if (base_event->config().frame_length_ms.has_value()) { in EncodeAudioNetworkAdaptation() 922 base_event->config().frame_length_ms.value()); in EncodeAudioNetworkAdaptation() 980 if (event->config().frame_length_ms.has_value()) { in EncodeAudioNetworkAdaptation() 981 values[i] = ToUnsigned(event->config().frame_length_ms.value()); in EncodeAudioNetworkAdaptation() 987 base_event->config().frame_length_ms.has_value() in EncodeAudioNetworkAdaptation() 988 ? ToUnsigned(base_event->config().frame_length_ms.value()) in EncodeAudioNetworkAdaptation()
|
D | rtc_event_log_encoder_unittest.cc | 288 const int frame_length_ms = prng_.Rand(1, 1000); in TEST_P() local 289 runtime_config->frame_length_ms = frame_length_ms; in TEST_P() 373 runtime_config->frame_length_ms = prng_.Rand(1, 1000); in TEST_P()
|
D | rtc_event_log_encoder_legacy.cc | 400 if (event.config().frame_length_ms) in EncodeAudioNetworkAdaptation() 402 *event.config().frame_length_ms); in EncodeAudioNetworkAdaptation()
|
/external/webrtc/logging/rtc_event_log/ |
D | rtc_event_log_unittest_helper.cc | 108 config->frame_length_ms = prng_.Rand(10, 120); in NewAudioNetworkAdaptation() 762 EXPECT_EQ(original_event.config().frame_length_ms, in VerifyLoggedAudioNetworkAdaptationEvent() 763 logged_event.config.frame_length_ms); in VerifyLoggedAudioNetworkAdaptationEvent()
|
D | rtc_event_log_parser.cc | 1877 res.config.frame_length_ms = ana_event.frame_length_ms(); in GetAudioNetworkAdaptation() 2977 runtime_config.frame_length_ms = proto.frame_length_ms(); in StoreAudioNetworkAdaptationEvent() 3023 ? absl::optional<uint64_t>(ToUnsigned(proto.frame_length_ms())) in StoreAudioNetworkAdaptationEvent() 3095 runtime_config.frame_length_ms = signed_frame_length_ms; in StoreAudioNetworkAdaptationEvent()
|