Home
last modified time | relevance | path

Searched refs:max_bitrate_bps (Results 1 – 25 of 28) sorted by relevance

12

/external/webrtc/webrtc/test/
Dencoder_settings.cc33 stream_settings[0].target_bitrate_bps = stream_settings[0].max_bitrate_bps = in CreateVideoStreams()
41 stream_settings[1].target_bitrate_bps = stream_settings[1].max_bitrate_bps = in CreateVideoStreams()
49 stream_settings[2].target_bitrate_bps = stream_settings[2].max_bitrate_bps = in CreateVideoStreams()
/external/webrtc/talk/media/webrtc/
Dsimulcast.cc183 total_max_bitrate_bps += streams.back().max_bitrate_bps; in GetTotalMaxBitrateBps()
191 int max_bitrate_bps, in GetSimulcastConfig() argument
220 streams[s].max_bitrate_bps = in GetSimulcastConfig()
236 int bitrate_left_bps = max_bitrate_bps - GetTotalMaxBitrateBps(streams); in GetSimulcastConfig()
238 streams.back().max_bitrate_bps += bitrate_left_bps; in GetSimulcastConfig()
Dwebrtcvideoengine2.cc351 int max_bitrate_bps, in CreateSimulcastVideoStreams() argument
357 num_streams, codec.width, codec.height, max_bitrate_bps, max_qp, in CreateSimulcastVideoStreams()
365 int max_bitrate_bps, in CreateVideoStreams() argument
369 max_bitrate_bps = codec_max_bitrate_kbps * 1000; in CreateVideoStreams()
372 return CreateSimulcastVideoStreams(codec, options, max_bitrate_bps, in CreateVideoStreams()
377 if (max_bitrate_bps <= 0) { in CreateVideoStreams()
378 max_bitrate_bps = in CreateVideoStreams()
389 stream.target_bitrate_bps = stream.max_bitrate_bps = max_bitrate_bps; in CreateVideoStreams()
874 bitrate_config_.max_bitrate_bps = bitrate_kbps * 1000; in SetSendCodecs()
876 bitrate_config_.max_bitrate_bps = -1; in SetSendCodecs()
[all …]
Dwebrtcvideoengine2.h245 int max_bitrate_bps,
274 void SetMaxBitrateBps(int max_bitrate_bps);
285 int max_bitrate_bps,
289 int max_bitrate_bps; member
329 int max_bitrate_bps,
334 int max_bitrate_bps,
Dsimulcast.h68 int max_bitrate_bps,
Dwebrtcvideoengine2_unittest.cc961 fake_call_->GetConfig().bitrate_config.max_bitrate_bps); in SetSendCodecsShouldWorkForBitrates()
2058 EXPECT_EQ(10000000, streams[0].max_bitrate_bps); in TEST_F()
2087 EXPECT_EQ(300000, fake_call_->GetConfig().bitrate_config.max_bitrate_bps); in TEST_F()
2093 EXPECT_EQ(300000, fake_call_->GetConfig().bitrate_config.max_bitrate_bps); in TEST_F()
2097 EXPECT_EQ(-1, fake_call_->GetConfig().bitrate_config.max_bitrate_bps) in TEST_F()
2110 int initial_max_bitrate_bps = streams[0].max_bitrate_bps; in TEST_F()
2116 EXPECT_EQ(initial_max_bitrate_bps * 2, streams[0].max_bitrate_bps); in TEST_F()
3254 EXPECT_GT(video_streams[i].max_bitrate_bps, 0); in VerifySimulcastSettings()
3255 EXPECT_EQ(expected_streams[i].max_bitrate_bps, in VerifySimulcastSettings()
3256 video_streams[i].max_bitrate_bps); in VerifySimulcastSettings()
[all …]
/external/webrtc/webrtc/call/
Dbitrate_allocator.cc66 uint32_t max_bitrate_bps) { in AddBitrateObserver() argument
76 max_bitrate_bps *= kTransmissionMaxBitrateMultiplier; in AddBitrateObserver()
80 it->second.max_bitrate = max_bitrate_bps; in AddBitrateObserver()
84 observer, BitrateConfiguration(min_bitrate_bps, max_bitrate_bps))); in AddBitrateObserver()
Dcall.cc208 if (config.bitrate_config.max_bitrate_bps != -1) { in Call()
209 RTC_DCHECK_GE(config.bitrate_config.max_bitrate_bps, in Call()
224 config_.bitrate_config.max_bitrate_bps); in Call()
527 if (bitrate_config.max_bitrate_bps != -1) in SetBitrateConfig()
528 RTC_DCHECK_GT(bitrate_config.max_bitrate_bps, 0); in SetBitrateConfig()
534 config_.bitrate_config.max_bitrate_bps == in SetBitrateConfig()
535 bitrate_config.max_bitrate_bps) { in SetBitrateConfig()
542 bitrate_config.max_bitrate_bps); in SetBitrateConfig()
Dcongestion_controller.cc212 int max_bitrate_bps) { in SetBweBitrates() argument
215 bitrate_controller_->SetMinMaxBitrate(min_bitrate_bps, max_bitrate_bps); in SetBweBitrates()
Dbitrate_allocator.h49 uint32_t max_bitrate_bps);
Dcongestion_controller.h48 int max_bitrate_bps);
/external/webrtc/webrtc/
Dconfig.cc60 max_bitrate_bps(-1), in VideoStream()
72 ss << ", max_bitrate_bps:" << max_bitrate_bps; in ToString()
Dconfig.h83 int max_bitrate_bps; member
Dcall.h80 int max_bitrate_bps = -1; member
/external/webrtc/webrtc/modules/bitrate_controller/
Dbitrate_controller_impl.cc116 int max_bitrate_bps) { in SetMinMaxBitrate() argument
119 bandwidth_estimation_.SetMinMaxBitrate(min_bitrate_bps, max_bitrate_bps); in SetMinMaxBitrate()
Dbitrate_controller_impl.h40 int max_bitrate_bps) override;
/external/webrtc/webrtc/modules/bitrate_controller/include/
Dbitrate_controller.h58 virtual void SetMinMaxBitrate(int min_bitrate_bps, int max_bitrate_bps) = 0;
/external/webrtc/webrtc/call/mock/
Dmock_congestion_controller.h31 int max_bitrate_bps));
/external/webrtc/talk/app/webrtc/
Dmediacontroller.cc73 config.bitrate_config.max_bitrate_bps = kMaxBandwidthBps; in Construct_w()
/external/webrtc/webrtc/video/
Dvideo_quality_test.h35 int max_bitrate_bps; member
Dvideo_send_stream_tests.cc850 ASSERT_GT(encoder_config->streams[0].max_bitrate_bps, in TEST_F()
1094 2 * video_encoder_config_.streams[0].max_bitrate_bps; in TEST_F()
1102 EXPECT_EQ(video_encoder_config_.streams[0].max_bitrate_bps / 1000, in TEST_F()
1105 video_encoder_config_.streams[0].max_bitrate_bps = in TEST_F()
1719 config.bitrate_config.max_bitrate_bps = kMaxBitrateKbps * 1000; in TEST_F()
1731 encoder_config->streams.front().max_bitrate_bps = kMaxBitrateKbps * 1000; in TEST_F()
1748 bitrate_config.max_bitrate_bps = kIncreasedMaxBitrateKbps * 1000; in TEST_F()
1753 encoder_config_.streams[0].max_bitrate_bps = kLowerMaxBitrateKbps * 1000; in TEST_F()
1759 encoder_config_.streams[0].max_bitrate_bps = in TEST_F()
Dvideo_quality_test.cc646 RTC_CHECK_GE(params_.common.max_bitrate_bps, in CheckParams()
655 RTC_CHECK_GE(stream.max_bitrate_bps, stream.target_bitrate_bps); in CheckParams()
710 stream.max_bitrate_bps = params.common.max_bitrate_bps; in DefaultVideoStream()
746 stream.max_bitrate_bps = v[5]; in FillScalabilitySettings()
Dvideo_send_stream.cc400 RTC_DCHECK_GE(streams[i].max_bitrate_bps, streams[i].target_bitrate_bps); in ReconfigureVideoEncoder()
407 sim_stream->maxBitrate = streams[i].max_bitrate_bps / 1000; in ReconfigureVideoEncoder()
419 video_codec.maxBitrate += streams[i].max_bitrate_bps / 1000; in ReconfigureVideoEncoder()
Dscreenshare_loopback.cc219 call_bitrate_config.max_bitrate_bps = flags::MaxBitrateKbps() * 1000; in Loopback()
Dvideo_loopback.cc208 call_bitrate_config.max_bitrate_bps = flags::MaxBitrateKbps() * 1000; in Loopback()

12