Home
last modified time | relevance | path

Searched refs:layer_bitrate (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/api/video/
Dvideo_bitrate_allocation.cc30 absl::optional<uint32_t>& layer_bitrate = in SetBitrate() local
32 if (layer_bitrate) { in SetBitrate()
33 RTC_DCHECK_LE(*layer_bitrate, sum_); in SetBitrate()
34 new_bitrate_sum_bps -= *layer_bitrate; in SetBitrate()
40 layer_bitrate = bitrate_bps; in SetBitrate()
114 absl::optional<VideoBitrateAllocation> layer_bitrate; in GetSimulcastAllocations() local
116 layer_bitrate = VideoBitrateAllocation(); in GetSimulcastAllocations()
119 layer_bitrate->SetBitrate(0, tl, GetBitrate(si, tl)); in GetSimulcastAllocations()
122 bitrates.push_back(layer_bitrate); in GetSimulcastAllocations()
/external/webrtc/modules/video_coding/utility/
Dsimulcast_rate_allocator.cc287 float layer_bitrate = in DefaultTemporalLayerAllocation() local
292 bitrates.push_back(static_cast<uint32_t>(layer_bitrate + 0.5)); in DefaultTemporalLayerAllocation()
298 uint32_t layer_bitrate = bitrates[i]; in DefaultTemporalLayerAllocation() local
301 sum = layer_bitrate; in DefaultTemporalLayerAllocation()
Dsimulcast_rate_allocator_unittest.cc80 uint32_t layer_bitrate = actual.GetSpatialLayerSum(i); in ExpectEqual() local
81 if (layer_bitrate == 0) { in ExpectEqual()
84 EXPECT_EQ(expected[i] * 1000U, layer_bitrate) in ExpectEqual()
86 sum += layer_bitrate; in ExpectEqual()