Home
last modified time | relevance | path

Searched refs:total_bitrate (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/api/video/
Dvideo_bitrate_allocator.cc18 : total_bitrate(DataRate::BitsPerSec(total_bitrate_bps)), in VideoBitrateAllocationParameters()
23 DataRate total_bitrate, in VideoBitrateAllocationParameters() argument
25 : total_bitrate(total_bitrate), in VideoBitrateAllocationParameters()
26 stable_bitrate(total_bitrate), in VideoBitrateAllocationParameters()
30 DataRate total_bitrate, in VideoBitrateAllocationParameters() argument
33 : total_bitrate(total_bitrate), in VideoBitrateAllocationParameters()
49 return GetAllocation(parameters.total_bitrate.bps(), parameters.framerate); in Allocate()
Dvideo_bitrate_allocator.h22 VideoBitrateAllocationParameters(DataRate total_bitrate, double framerate);
23 VideoBitrateAllocationParameters(DataRate total_bitrate,
28 DataRate total_bitrate; member
/external/webrtc/modules/video_coding/codecs/vp9/
Dsvc_rate_allocator.cc93 DataRate total_bitrate, in SplitBitrate() argument
104 bitrates.push_back(numerator * total_bitrate / denominator); in SplitBitrate()
113 if (total_bitrate > sum) { in SplitBitrate()
114 bitrates.back() += total_bitrate - sum; in SplitBitrate()
115 } else if (total_bitrate < sum) { in SplitBitrate()
116 bitrates.back() -= sum - total_bitrate; in SplitBitrate()
201 DataRate total_bitrate = parameters.total_bitrate; in Allocate() local
203 total_bitrate = in Allocate()
204 std::min(total_bitrate, DataRate::KilobitsPerSec(codec_.maxBitrate)); in Allocate()
211 bitrate_allocation.SetBitrate(0, 0, total_bitrate.bps()); in Allocate()
[all …]
Dsvc_rate_allocator.h40 DataRate total_bitrate,
45 DataRate total_bitrate,
/external/webrtc/modules/video_coding/utility/
Dsimulcast_rate_allocator.cc71 DataRate stable_rate = parameters.total_bitrate; in Allocate()
74 stable_rate = std::min(parameters.stable_bitrate, parameters.total_bitrate); in Allocate()
76 DistributeAllocationToSimulcastLayers(parameters.total_bitrate, stable_rate, in Allocate()
83 DataRate total_bitrate, in DistributeAllocationToSimulcastLayers() argument
86 DataRate left_in_total_allocation = total_bitrate; in DistributeAllocationToSimulcastLayers()
Dsimulcast_rate_allocator.h43 DataRate total_bitrate,
/external/libvpx/libvpx/examples/
Dsvc_encodeframe.c293 unsigned int total_bitrate = 0; in assign_layer_bitrates() local
295 total_bitrate += si->bitrates[sl * svc_ctx->temporal_layers + in assign_layer_bitrates()
307 if (total_bitrate != enc_cfg->rc_target_bitrate) in assign_layer_bitrates()
345 unsigned int total_bitrate = 0; in assign_layer_bitrates() local
349 total_bitrate += si->bitrates[i]; in assign_layer_bitrates()
351 if (total_bitrate != enc_cfg->rc_target_bitrate) in assign_layer_bitrates()
/external/webrtc/media/engine/
Dsimulcast.cc208 const webrtc::DataRate total_bitrate = GetTotalMaxBitrate(*layers); in BoostMaxSimulcastLayer() local
211 if (total_bitrate < max_bitrate) { in BoostMaxSimulcastLayer()
213 const webrtc::DataRate bitrate_left = max_bitrate - total_bitrate; in BoostMaxSimulcastLayer()
/external/webrtc/modules/congestion_controller/goog_cc/
Dgoog_cc_network_control.cc188 absl::optional<DataRate> total_bitrate = in OnProcessInterval() local
190 if (total_bitrate) { in OnProcessInterval()
192 total_bitrate->bps(), msg.at_time.ms()); in OnProcessInterval()
196 max_total_allocated_bitrate_ = *total_bitrate; in OnProcessInterval()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_sender_unittest.cc1835 void Notify(uint32_t total_bitrate, in TEST_P() argument
1840 total_bitrate_ = total_bitrate; in TEST_P()