Searched refs:layer_bitrate (Results 1 – 3 of 3) sorted by relevance
30 absl::optional<uint32_t>& layer_bitrate = in SetBitrate() local32 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() local116 layer_bitrate = VideoBitrateAllocation(); in GetSimulcastAllocations()119 layer_bitrate->SetBitrate(0, tl, GetBitrate(si, tl)); in GetSimulcastAllocations()122 bitrates.push_back(layer_bitrate); in GetSimulcastAllocations()
287 float layer_bitrate = in DefaultTemporalLayerAllocation() local292 bitrates.push_back(static_cast<uint32_t>(layer_bitrate + 0.5)); in DefaultTemporalLayerAllocation()298 uint32_t layer_bitrate = bitrates[i]; in DefaultTemporalLayerAllocation() local301 sum = layer_bitrate; in DefaultTemporalLayerAllocation()
80 uint32_t layer_bitrate = actual.GetSpatialLayerSum(i); in ExpectEqual() local81 if (layer_bitrate == 0) { in ExpectEqual()84 EXPECT_EQ(expected[i] * 1000U, layer_bitrate) in ExpectEqual()86 sum += layer_bitrate; in ExpectEqual()