Home
last modified time | relevance | path

Searched refs:simulcast_layers (Results 1 – 25 of 27) sorted by relevance

12

/external/webrtc/test/
Dencoder_settings.cc64 if (i < encoder_config.simulcast_layers.size()) { in CreateVideoStreams()
65 const VideoStream& stream = encoder_config.simulcast_layers[i]; in CreateVideoStreams()
106 if (i < encoder_config.simulcast_layers.size()) { in CreateVideoStreams()
109 stream_settings[i].active = encoder_config.simulcast_layers[i].active; in CreateVideoStreams()
142 configuration->simulcast_layers = std::vector<VideoStream>(num_streams); in FillEncoderConfiguration()
/external/webrtc/modules/video_coding/
Dvideo_codec_initializer_unittest.cc342 config_.simulcast_layers.resize(3); in TEST_F()
345 config_.simulcast_layers[0].active = true; in TEST_F()
346 config_.simulcast_layers[1].active = true; in TEST_F()
347 config_.simulcast_layers[2].active = true; in TEST_F()
354 config_.simulcast_layers[2].active = false; in TEST_F()
361 config_.simulcast_layers[2].active = true; in TEST_F()
362 config_.simulcast_layers[1].active = false; in TEST_F()
Dvideo_codec_initializer.cc80 for (const VideoStream& stream : config.simulcast_layers) { in VideoEncoderConfigToVideoCodec()
186 spatial_idx < config.simulcast_layers.size(); ++spatial_idx) { in VideoEncoderConfigToVideoCodec()
187 if (config.simulcast_layers[spatial_idx].active) { in VideoEncoderConfigToVideoCodec()
211 spatial_idx < config.simulcast_layers.size() && in VideoEncoderConfigToVideoCodec()
215 config.simulcast_layers[spatial_idx].active; in VideoEncoderConfigToVideoCodec()
/external/webrtc/media/engine/
Dwebrtc_video_engine.cc336 if (encoder_config.simulcast_layers[i].active) { in FindRequiredActiveLayers()
2376 encoder_config.simulcast_layers.resize(rtp_parameters_.encodings.size()); in CreateVideoEncoderConfig()
2377 for (size_t i = 0; i < encoder_config.simulcast_layers.size(); ++i) { in CreateVideoEncoderConfig()
2378 encoder_config.simulcast_layers[i].active = in CreateVideoEncoderConfig()
2381 encoder_config.simulcast_layers[i].min_bitrate_bps = in CreateVideoEncoderConfig()
2385 encoder_config.simulcast_layers[i].max_bitrate_bps = in CreateVideoEncoderConfig()
2389 encoder_config.simulcast_layers[i].max_framerate = in CreateVideoEncoderConfig()
2393 encoder_config.simulcast_layers[i].scale_resolution_down_by = in CreateVideoEncoderConfig()
2397 encoder_config.simulcast_layers[i].num_temporal_layers = in CreateVideoEncoderConfig()
3387 RTC_DCHECK_GE(encoder_config.simulcast_layers.size(), in CreateEncoderStreams()
[all …]
Dsimulcast.h33 int NormalizeSimulcastSize(int size, size_t simulcast_layers);
Dsimulcast.cc154 int NormalizeSimulcastSize(int size, size_t simulcast_layers) { in NormalizeSimulcastSize() argument
155 int base2_exponent = static_cast<int>(simulcast_layers) - 1; in NormalizeSimulcastSize()
Dwebrtc_video_engine_unittest.cc3600 EXPECT_EQ(encoder_config.simulcast_layers.size(), kNumSpatialLayers); in TEST_F()
3601 EXPECT_TRUE(encoder_config.simulcast_layers[0].active); in TEST_F()
3602 EXPECT_FALSE(encoder_config.simulcast_layers[1].active); in TEST_F()
3603 EXPECT_TRUE(encoder_config.simulcast_layers[2].active); in TEST_F()
7277 EXPECT_EQ(kNumSimulcastStreams, encoder_config.simulcast_layers.size()); in TEST_F()
7278 EXPECT_EQ(2UL, encoder_config.simulcast_layers[0].num_temporal_layers); in TEST_F()
7279 EXPECT_EQ(2UL, encoder_config.simulcast_layers[1].num_temporal_layers); in TEST_F()
7280 EXPECT_EQ(2UL, encoder_config.simulcast_layers[2].num_temporal_layers); in TEST_F()
7318 EXPECT_EQ(kNumSimulcastStreams, encoder_config.simulcast_layers.size()); in TEST_F()
7319 EXPECT_FALSE(encoder_config.simulcast_layers[0].num_temporal_layers); in TEST_F()
[all …]
/external/webrtc/rtc_tools/rtp_generator/
Drtp_generator.cc211 encoder_config.simulcast_layers.resize(encoder_config.number_of_streams); in RtpGenerator()
213 encoder_config.simulcast_layers[i].active = true; in RtpGenerator()
214 encoder_config.simulcast_layers[i].min_bitrate_bps = kMinBitrateBps; in RtpGenerator()
215 encoder_config.simulcast_layers[i].max_bitrate_bps = kMaxBitrateBps; in RtpGenerator()
216 encoder_config.simulcast_layers[i].max_framerate = send_config.video_fps; in RtpGenerator()
/external/webrtc/video/
Dcpu_scaling_tests.cc107 EXPECT_FALSE(encoder_config->simulcast_layers.empty()); in RunTestAndCheckForAdaptation()
108 encoder_config->simulcast_layers[0].max_framerate = kFps; in RunTestAndCheckForAdaptation()
Dvideo_send_stream_tests.cc1223 EXPECT_EQ(1u, encoder_config->simulcast_layers.size()); in TestPacketFragmentationSize()
1224 encoder_config->simulcast_layers[0].num_temporal_layers = 2; in TestPacketFragmentationSize()
2446 GetVideoEncoderConfig()->simulcast_layers[0].active = true; in TEST_F()
2447 GetVideoEncoderConfig()->simulcast_layers[1].active = false; in TEST_F()
2462 GetVideoEncoderConfig()->simulcast_layers[0].active = false; in TEST_F()
2463 GetVideoEncoderConfig()->simulcast_layers[1].active = false; in TEST_F()
2630 EXPECT_EQ(1u, encoder_config->simulcast_layers.size()); in ModifyVideoConfigs()
2631 encoder_config->simulcast_layers[0].num_temporal_layers = in ModifyVideoConfigs()
2914 EXPECT_EQ(1u, encoder_config->simulcast_layers.size()); in TEST_F()
2915 encoder_config->simulcast_layers[0].num_temporal_layers = 2; in TEST_F()
[all …]
Dpicture_id_tests.cc277 VideoStream& stream = GetVideoEncoderConfig()->simulcast_layers[i]; in SetVideoEncoderConfig()
Dvideo_stream_encoder.cc658 if (encoder_config_.simulcast_layers.empty() || in ReconfigureEncoder()
659 encoder_config_.simulcast_layers[0].min_bitrate_bps <= 0) { in ReconfigureEncoder()
1790 encoder_config_.simulcast_layers.size() > 1; in DropDueToSize()
Dvideo_quality_test.cc629 encoder_config.simulcast_layers = std::vector<VideoStream>(num_streams); in FillScalabilitySettings()
798 video_encoder_configs_[video_idx].simulcast_layers = in SetupVideo()
801 video_encoder_configs_[video_idx].simulcast_layers = in SetupVideo()
/external/webrtc/video/end_to_end_tests/
Dbandwidth_tests.cc120 encoder_config->simulcast_layers[0].min_bitrate_bps = kMaxBitrateBps * 2; in ModifyVideoConfigs()
121 encoder_config->simulcast_layers[0].target_bitrate_bps = kMaxBitrateBps * 2; in ModifyVideoConfigs()
122 encoder_config->simulcast_layers[0].max_bitrate_bps = kMaxBitrateBps * 2; in ModifyVideoConfigs()
Dmulti_codec_receive_tests.cc203 EXPECT_EQ(1u, GetVideoEncoderConfig()->simulcast_layers.size()); in ConfigureEncoder()
204 GetVideoEncoderConfig()->simulcast_layers[0].num_temporal_layers = in ConfigureEncoder()
Dprobing_tests.cc281 encoder_config_->simulcast_layers[0].max_bitrate_bps = 1200000;
Dssrc_tests.cc300 for (auto& layer : encoder_config->simulcast_layers) { in TEST_F()
Dstats_tests.cc261 for (auto& layer : encoder_config->simulcast_layers) { in TEST_F()
/external/webrtc/pc/
Dmedia_session.h45 SimulcastLayerList simulcast_layers; member
65 const SimulcastLayerList& simulcast_layers,
88 const SimulcastLayerList& simulcast_layers,
Dpeer_connection_simulcast_unittest.cc349 auto simulcast_layers = simulcast.send_layers().GetAllLayers(); in TEST_F() local
351 for (const auto& layer : simulcast_layers) { in TEST_F()
430 auto simulcast_layers = removed_simulcast.send_layers().GetAllLayers(); in TEST_F() local
431 simulcast_layers.erase(simulcast_layers.begin()); in TEST_F()
433 for (const auto& layer : simulcast_layers) { in TEST_F()
Dsdp_serializer.cc83 const SimulcastLayerList& simulcast_layers) { in operator <<() argument
85 for (const auto& alternatives : simulcast_layers) { in operator <<()
Dmedia_session.cc351 const SimulcastLayerList& simulcast_layers) { in ValidateSimulcastLayers() argument
353 simulcast_layers.GetAllLayers(), [&rids](const SimulcastLayer& layer) { in ValidateSimulcastLayers()
366 RTC_DCHECK(ValidateSimulcastLayers(sender.rids, sender.simulcast_layers)); in CreateStreamParamsForNewSenderWithRids()
408 media_description_options.sender_options[0].simulcast_layers; in AddSimulcastToMediaDescription()
1356 const SimulcastLayerList& simulcast_layers, in AddVideoSender() argument
1361 RTC_DCHECK(ValidateSimulcastLayers(rids, simulcast_layers)); in AddVideoSender()
1362 AddSenderInternal(track_id, stream_ids, rids, simulcast_layers, in AddVideoSender()
1378 const SimulcastLayerList& simulcast_layers, in AddSenderInternal() argument
1385 options.simulcast_layers = simulcast_layers; in AddSenderInternal()
Dmedia_session_unittest.cc359 const SimulcastLayerList& simulcast_layers, in AttachSenderToMediaDescriptionOptions() argument
368 it->AddVideoSender(track_id, stream_ids, rids, simulcast_layers, in AttachSenderToMediaDescriptionOptions()
2630 SimulcastLayerList simulcast_layers; in TEST_F() local
2631 simulcast_layers.AddLayer(SimulcastLayer(send_rids[0].rid, false)); in TEST_F()
2632 simulcast_layers.AddLayer(SimulcastLayer(send_rids[1].rid, true)); in TEST_F()
2633 simulcast_layers.AddLayer(SimulcastLayer(send_rids[2].rid, false)); in TEST_F()
2636 simulcast_layers, 0, &opts); in TEST_F()
2640 simulcast_layers); in TEST_F()
2691 SimulcastLayerList simulcast_layers; in TEST_F() local
2692 simulcast_layers.AddLayer(SimulcastLayer(rid_descriptions[0].rid, false)); in TEST_F()
[all …]
/external/webrtc/test/scenario/
Dvideo_stream.cc242 encoder_config.simulcast_layers = in CreateVideoEncoderConfig()
266 for (auto& layer : encoder_config.simulcast_layers) { in CreateVideoEncoderConfig()
482 RTC_CHECK_EQ(encoder_config.simulcast_layers.size(), in UpdateActiveLayers()
484 for (size_t i = 0; i < encoder_config.simulcast_layers.size(); ++i) in UpdateActiveLayers()
485 encoder_config.simulcast_layers[i].active = active_layers[i]; in UpdateActiveLayers()
/external/webrtc/api/video_codecs/
Dvideo_encoder_config.h174 std::vector<VideoStream> simulcast_layers; variable

12