/external/webrtc/modules/audio_coding/audio_network_adaptor/ |
D | bitrate_controller_unittest.cc | 25 const absl::optional<size_t>& overhead_bytes_per_packet) { in UpdateNetworkMetrics() argument 34 if (overhead_bytes_per_packet) { in UpdateNetworkMetrics() 36 network_metrics.overhead_bytes_per_packet = overhead_bytes_per_packet; in UpdateNetworkMetrics() 113 network_metrics.overhead_bytes_per_packet = kOverheadBytesPerPacket; in TEST() 201 size_t overhead_bytes_per_packet = 64; in TEST() local 204 overall_bitrate - overhead_bytes_per_packet * 8 * 1000 / frame_length_ms); in TEST() 206 UpdateNetworkMetrics(&controller, overall_bitrate, overhead_bytes_per_packet); in TEST() 212 UpdateNetworkMetrics(&controller, overall_bitrate, overhead_bytes_per_packet); in TEST() 218 rtc::checked_cast<int>(overhead_bytes_per_packet * 8 * 1000 / 20 - in TEST() 219 overhead_bytes_per_packet * 8 * 1000 / 60); 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() 44 if (network_metrics.overhead_bytes_per_packet) { in UpdateNetworkMetrics() 45 overhead_bytes_per_packet_ = network_metrics.overhead_bytes_per_packet; in UpdateNetworkMetrics()
|
D | frame_length_controller_v2_unittest.cc | 36 void SetOverhead(int overhead_bytes_per_packet) { in SetOverhead() argument 37 overhead_bytes_per_packet_ = overhead_bytes_per_packet; in SetOverhead() 39 metrics.overhead_bytes_per_packet = overhead_bytes_per_packet; in SetOverhead()
|
D | audio_network_adaptor_impl.cc | 94 void AudioNetworkAdaptorImpl::SetOverhead(size_t overhead_bytes_per_packet) { in SetOverhead() argument 95 last_metrics_.overhead_bytes_per_packet = overhead_bytes_per_packet; in SetOverhead() 99 network_metrics.overhead_bytes_per_packet = overhead_bytes_per_packet; in SetOverhead()
|
D | bitrate_controller.cc | 46 if (network_metrics.overhead_bytes_per_packet) { in UpdateNetworkMetrics() 47 RTC_DCHECK_GT(*network_metrics.overhead_bytes_per_packet, 0); in UpdateNetworkMetrics() 48 overhead_bytes_per_packet_ = network_metrics.overhead_bytes_per_packet; in UpdateNetworkMetrics()
|
D | frame_length_controller.cc | 24 int OverheadRateBps(size_t overhead_bytes_per_packet, int frame_length_ms) { in OverheadRateBps() argument 25 return static_cast<int>(overhead_bytes_per_packet * 8 * 1000 / in OverheadRateBps() 69 if (network_metrics.overhead_bytes_per_packet) in UpdateNetworkMetrics() 70 overhead_bytes_per_packet_ = network_metrics.overhead_bytes_per_packet; in UpdateNetworkMetrics()
|
D | audio_network_adaptor_impl_unittest.cc | 43 arg.overhead_bytes_per_packet == metric.overhead_bytes_per_packet && 162 check.overhead_bytes_per_packet = kOverhead; in TEST() 243 check.overhead_bytes_per_packet = kOverhead; in TEST()
|
D | frame_length_controller_unittest.cc | 129 const absl::optional<size_t>& overhead_bytes_per_packet) { in UpdateNetworkMetrics() argument 143 if (overhead_bytes_per_packet) { in UpdateNetworkMetrics() 145 network_metrics.overhead_bytes_per_packet = overhead_bytes_per_packet; in UpdateNetworkMetrics()
|
D | controller.h | 28 absl::optional<size_t> overhead_bytes_per_packet; member
|
D | audio_network_adaptor_impl.h | 55 void SetOverhead(size_t overhead_bytes_per_packet) override;
|
/external/webrtc/modules/audio_coding/audio_network_adaptor/include/ |
D | audio_network_adaptor.h | 36 virtual void SetOverhead(size_t overhead_bytes_per_packet) = 0;
|
/external/webrtc/modules/audio_coding/audio_network_adaptor/mock/ |
D | mock_audio_network_adaptor.h | 40 (size_t overhead_bytes_per_packet),
|
/external/webrtc/modules/audio_coding/codecs/isac/ |
D | audio_encoder_isac_t_impl.h | 125 size_t overhead_bytes_per_packet) { in OnReceivedOverhead() argument 126 overhead_per_packet_ = DataSize::Bytes(overhead_bytes_per_packet); in OnReceivedOverhead()
|
D | audio_encoder_isac_t.h | 58 void OnReceivedOverhead(size_t overhead_bytes_per_packet) override;
|
/external/webrtc/api/audio_codecs/ |
D | audio_encoder.cc | 104 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} in OnReceivedOverhead() argument
|
D | audio_encoder.h | 233 virtual void OnReceivedOverhead(size_t overhead_bytes_per_packet);
|
/external/webrtc/call/ |
D | rtp_video_sender.cc | 755 size_t overhead_bytes_per_packet = 0; in OnBitrateUpdated() local 758 overhead_bytes_per_packet += stream.rtp_rtcp->ExpectedPerPacketOverhead(); in OnBitrateUpdated() 763 overhead_bytes_per_packet /= num_active_streams; in OnBitrateUpdated() 767 overhead_bytes_per_packet + transport_overhead_bytes_per_packet_); in OnBitrateUpdated() 814 max_total_packet_size - DataSize::Bytes(overhead_bytes_per_packet), in OnBitrateUpdated()
|
/external/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_encoder_opus.cc | 554 size_t overhead_bytes_per_packet) { in OnReceivedOverhead() argument 556 audio_network_adaptor_->SetOverhead(overhead_bytes_per_packet); in OnReceivedOverhead() 559 overhead_bytes_per_packet_ = overhead_bytes_per_packet; in OnReceivedOverhead()
|
D | audio_encoder_opus.h | 93 void OnReceivedOverhead(size_t overhead_bytes_per_packet) override;
|