Home
last modified time | relevance | path

Searched refs:overhead_bytes_per_packet_ (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/modules/audio_coding/audio_network_adaptor/
Dframe_length_controller.cc70 overhead_bytes_per_packet_ = network_metrics.overhead_bytes_per_packet; in UpdateNetworkMetrics()
127 !overhead_bytes_per_packet_ || in FrameLengthIncreasingDecision()
128 (overhead_bytes_per_packet_ && in FrameLengthIncreasingDecision()
130 *overhead_bytes_per_packet_ && in FrameLengthIncreasingDecision()
132 *overhead_bytes_per_packet_)); in FrameLengthIncreasingDecision()
134 if (uplink_bandwidth_bps_ && overhead_bytes_per_packet_ && in FrameLengthIncreasingDecision()
137 OverheadRateBps(*overhead_bytes_per_packet_ + in FrameLengthIncreasingDecision()
181 if (uplink_bandwidth_bps_ && overhead_bytes_per_packet_ && in FrameLengthDecreasingDecision()
184 OverheadRateBps(*overhead_bytes_per_packet_ + in FrameLengthDecreasingDecision()
Dbitrate_controller.cc48 overhead_bytes_per_packet_ = network_metrics.overhead_bytes_per_packet; in UpdateNetworkMetrics()
55 if (target_audio_bitrate_bps_ && overhead_bytes_per_packet_) { in MakeDecision()
68 RTC_DCHECK_GE(*overhead_bytes_per_packet_, -offset); in MakeDecision()
69 RTC_DCHECK_LE(offset, *overhead_bytes_per_packet_); in MakeDecision()
71 (*overhead_bytes_per_packet_ + offset) * 8 * 1000 / frame_length_ms_); in MakeDecision()
Dframe_length_controller_v2.cc45 overhead_bytes_per_packet_ = network_metrics.overhead_bytes_per_packet; in UpdateNetworkMetrics()
53 if (!target_bitrate_bps_ || !overhead_bytes_per_packet_ || in MakeDecision()
63 OverheadBps(*overhead_bytes_per_packet_, frame_length_ms) > in MakeDecision()
Dframe_length_controller_v2_unittest.cc37 overhead_bytes_per_packet_ = overhead_bytes_per_packet; in SetOverhead()
66 absl::optional<int> overhead_bytes_per_packet_; member in webrtc::FrameLengthControllerV2Test
Dframe_length_controller_v2.h39 absl::optional<int> overhead_bytes_per_packet_; variable
Dbitrate_controller.h51 absl::optional<size_t> overhead_bytes_per_packet_; variable
Dframe_length_controller.h82 absl::optional<size_t> overhead_bytes_per_packet_; variable
/external/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.cc517 if (!overhead_bytes_per_packet_) { in OnReceivedUplinkBandwidth()
524 *overhead_bytes_per_packet_ * 8 * 100 / Num10MsFramesInNextPacket()); in OnReceivedUplinkBandwidth()
559 overhead_bytes_per_packet_ = overhead_bytes_per_packet; in OnReceivedOverhead()
Daudio_encoder_opus.h172 absl::optional<size_t> overhead_bytes_per_packet_; variable