Home
last modified time | relevance | path

Searched refs:overhead_bytes_per_packet (Results 1 – 19 of 19) sorted by relevance

/external/webrtc/modules/audio_coding/audio_network_adaptor/
Dbitrate_controller_unittest.cc25 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 …]
Dframe_length_controller_v2.cc21 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()
Dframe_length_controller_v2_unittest.cc36 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()
Daudio_network_adaptor_impl.cc94 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()
Dbitrate_controller.cc46 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()
Dframe_length_controller.cc24 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()
Daudio_network_adaptor_impl_unittest.cc43 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()
Dframe_length_controller_unittest.cc129 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()
Dcontroller.h28 absl::optional<size_t> overhead_bytes_per_packet; member
Daudio_network_adaptor_impl.h55 void SetOverhead(size_t overhead_bytes_per_packet) override;
/external/webrtc/modules/audio_coding/audio_network_adaptor/include/
Daudio_network_adaptor.h36 virtual void SetOverhead(size_t overhead_bytes_per_packet) = 0;
/external/webrtc/modules/audio_coding/audio_network_adaptor/mock/
Dmock_audio_network_adaptor.h40 (size_t overhead_bytes_per_packet),
/external/webrtc/modules/audio_coding/codecs/isac/
Daudio_encoder_isac_t_impl.h125 size_t overhead_bytes_per_packet) { in OnReceivedOverhead() argument
126 overhead_per_packet_ = DataSize::Bytes(overhead_bytes_per_packet); in OnReceivedOverhead()
Daudio_encoder_isac_t.h58 void OnReceivedOverhead(size_t overhead_bytes_per_packet) override;
/external/webrtc/api/audio_codecs/
Daudio_encoder.cc104 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} in OnReceivedOverhead() argument
Daudio_encoder.h233 virtual void OnReceivedOverhead(size_t overhead_bytes_per_packet);
/external/webrtc/call/
Drtp_video_sender.cc755 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/
Daudio_encoder_opus.cc554 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()
Daudio_encoder_opus.h93 void OnReceivedOverhead(size_t overhead_bytes_per_packet) override;