Home
last modified time | relevance | path

Searched refs:rate_settings (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/video/
Dvideo_stream_encoder.cc889 EncoderRateSettings rate_settings = *last_encoder_rate_settings_; in ReconfigureEncoder() local
891 rate_settings.rate_control.framerate_fps = GetInputFramerateFps(); in ReconfigureEncoder()
893 SetEncoderRates(UpdateBitrateAllocationAndNotifyObserver(rate_settings)); in ReconfigureEncoder()
1073 const EncoderRateSettings& rate_settings) { in UpdateBitrateAllocationAndNotifyObserver() argument
1077 if (rate_allocator_ && rate_settings.encoder_target > DataRate::Zero()) { in UpdateBitrateAllocationAndNotifyObserver()
1079 rate_settings.encoder_target, rate_settings.stable_encoder_target, in UpdateBitrateAllocationAndNotifyObserver()
1080 rate_settings.rate_control.framerate_fps)); in UpdateBitrateAllocationAndNotifyObserver()
1100 EncoderRateSettings new_rate_settings = rate_settings; in UpdateBitrateAllocationAndNotifyObserver()
1115 << rate_settings.rate_control.framerate_fps << ", from " in UpdateBitrateAllocationAndNotifyObserver()
1138 const EncoderRateSettings& rate_settings) { in SetEncoderRates() argument
[all …]
Dvideo_stream_encoder.h206 const EncoderRateSettings& rate_settings) RTC_RUN_ON(&encoder_queue_);
209 void SetEncoderRates(const EncoderRateSettings& rate_settings)
Dvideo_stream_encoder_unittest.cc5562 auto rate_settings = fake_encoder_.GetAndResetLastRateControlSettings(); in TEST_F() local
5563 ASSERT_TRUE(rate_settings.has_value()); in TEST_F()
5565 DataRate::BitsPerSec(rate_settings->bitrate.get_sum_bps()); in TEST_F()
5567 EXPECT_EQ(rate_settings->bandwidth_allocation, min_rate); in TEST_F()
/external/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc204 VideoEncoder::RateControlParameters rate_settings; in TEST_F() local
205 rate_settings.bitrate.SetBitrate(0, 0, kBitrateBps); in TEST_F()
206 rate_settings.framerate_fps = in TEST_F()
210 rate_settings.bandwidth_allocation = DataRate::BitsPerSec(kBitrateBps); in TEST_F()
222 encoder.SetRates(rate_settings); in TEST_F()
225 rate_settings.bandwidth_allocation = DataRate::BitsPerSec(kBitrateBps * 2); in TEST_F()
236 encoder.SetRates(rate_settings); in TEST_F()
239 rate_settings.bandwidth_allocation = in TEST_F()
252 encoder.SetRates(rate_settings); in TEST_F()
/external/webrtc/media/engine/
Dsimulcast_encoder_adapter_unittest.cc1440 const auto rate_settings = VideoEncoder::RateControlParameters( in TEST_F() local
1444 adapter_->SetRates(rate_settings); in TEST_F()
1474 adapter_->SetRates(rate_settings); in TEST_F()
1489 adapter_->SetRates(rate_settings); in TEST_F()
1503 adapter_->SetRates(rate_settings); in TEST_F()