/external/webrtc/test/ |
D | encoder_settings.cc | 64 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/ |
D | video_codec_initializer_unittest.cc | 342 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()
|
D | video_codec_initializer.cc | 80 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/ |
D | webrtc_video_engine.cc | 336 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 …]
|
D | simulcast.h | 33 int NormalizeSimulcastSize(int size, size_t simulcast_layers);
|
D | simulcast.cc | 154 int NormalizeSimulcastSize(int size, size_t simulcast_layers) { in NormalizeSimulcastSize() argument 155 int base2_exponent = static_cast<int>(simulcast_layers) - 1; in NormalizeSimulcastSize()
|
D | webrtc_video_engine_unittest.cc | 3600 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/ |
D | rtp_generator.cc | 211 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/ |
D | cpu_scaling_tests.cc | 107 EXPECT_FALSE(encoder_config->simulcast_layers.empty()); in RunTestAndCheckForAdaptation() 108 encoder_config->simulcast_layers[0].max_framerate = kFps; in RunTestAndCheckForAdaptation()
|
D | video_send_stream_tests.cc | 1223 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 …]
|
D | picture_id_tests.cc | 277 VideoStream& stream = GetVideoEncoderConfig()->simulcast_layers[i]; in SetVideoEncoderConfig()
|
D | video_stream_encoder.cc | 658 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()
|
D | video_quality_test.cc | 629 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/ |
D | bandwidth_tests.cc | 120 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()
|
D | multi_codec_receive_tests.cc | 203 EXPECT_EQ(1u, GetVideoEncoderConfig()->simulcast_layers.size()); in ConfigureEncoder() 204 GetVideoEncoderConfig()->simulcast_layers[0].num_temporal_layers = in ConfigureEncoder()
|
D | probing_tests.cc | 281 encoder_config_->simulcast_layers[0].max_bitrate_bps = 1200000;
|
D | ssrc_tests.cc | 300 for (auto& layer : encoder_config->simulcast_layers) { in TEST_F()
|
D | stats_tests.cc | 261 for (auto& layer : encoder_config->simulcast_layers) { in TEST_F()
|
/external/webrtc/pc/ |
D | media_session.h | 45 SimulcastLayerList simulcast_layers; member 65 const SimulcastLayerList& simulcast_layers, 88 const SimulcastLayerList& simulcast_layers,
|
D | peer_connection_simulcast_unittest.cc | 349 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()
|
D | sdp_serializer.cc | 83 const SimulcastLayerList& simulcast_layers) { in operator <<() argument 85 for (const auto& alternatives : simulcast_layers) { in operator <<()
|
D | media_session.cc | 351 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()
|
D | media_session_unittest.cc | 359 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/ |
D | video_stream.cc | 242 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/ |
D | video_encoder_config.h | 174 std::vector<VideoStream> simulcast_layers; variable
|