Lines Matching refs:simulcast_layers
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()
3424 if (encoder_config.simulcast_layers[0].min_bitrate_bps > 0) { in CreateDefaultVideoStreams()
3426 min_bitrate_bps = encoder_config.simulcast_layers[0].min_bitrate_bps; in CreateDefaultVideoStreams()
3431 int max_framerate = (encoder_config.simulcast_layers[0].max_framerate > 0) in CreateDefaultVideoStreams()
3432 ? encoder_config.simulcast_layers[0].max_framerate in CreateDefaultVideoStreams()
3440 if (encoder_config.simulcast_layers[0].scale_resolution_down_by > 1.) { in CreateDefaultVideoStreams()
3443 encoder_config.simulcast_layers[0].scale_resolution_down_by, in CreateDefaultVideoStreams()
3447 encoder_config.simulcast_layers[0].scale_resolution_down_by, in CreateDefaultVideoStreams()
3454 if (encoder_config.simulcast_layers[0].target_bitrate_bps <= 0) { in CreateDefaultVideoStreams()
3458 encoder_config.simulcast_layers[0].target_bitrate_bps; in CreateDefaultVideoStreams()
3475 if (encoder_config.simulcast_layers[0].num_temporal_layers) { in CreateDefaultVideoStreams()
3477 *encoder_config.simulcast_layers[0].num_temporal_layers; in CreateDefaultVideoStreams()
3512 encoder_config.simulcast_layers, [](const webrtc::VideoStream& layer) { in CreateSimulcastOrConfereceModeScreenshareStreams()
3520 layers[i].active = encoder_config.simulcast_layers[i].active; in CreateSimulcastOrConfereceModeScreenshareStreams()
3522 if (encoder_config.simulcast_layers[i].num_temporal_layers && in CreateSimulcastOrConfereceModeScreenshareStreams()
3525 *encoder_config.simulcast_layers[i].num_temporal_layers; in CreateSimulcastOrConfereceModeScreenshareStreams()
3527 if (encoder_config.simulcast_layers[i].max_framerate > 0) { in CreateSimulcastOrConfereceModeScreenshareStreams()
3529 encoder_config.simulcast_layers[i].max_framerate; in CreateSimulcastOrConfereceModeScreenshareStreams()
3533 encoder_config.simulcast_layers[i].scale_resolution_down_by, 1.0); in CreateSimulcastOrConfereceModeScreenshareStreams()
3542 if (encoder_config.simulcast_layers[i].min_bitrate_bps > 0) { in CreateSimulcastOrConfereceModeScreenshareStreams()
3544 encoder_config.simulcast_layers[i].min_bitrate_bps; in CreateSimulcastOrConfereceModeScreenshareStreams()
3546 if (encoder_config.simulcast_layers[i].max_bitrate_bps > 0) { in CreateSimulcastOrConfereceModeScreenshareStreams()
3548 encoder_config.simulcast_layers[i].max_bitrate_bps; in CreateSimulcastOrConfereceModeScreenshareStreams()
3550 if (encoder_config.simulcast_layers[i].target_bitrate_bps > 0) { in CreateSimulcastOrConfereceModeScreenshareStreams()
3552 encoder_config.simulcast_layers[i].target_bitrate_bps; in CreateSimulcastOrConfereceModeScreenshareStreams()
3554 if (encoder_config.simulcast_layers[i].min_bitrate_bps > 0 && in CreateSimulcastOrConfereceModeScreenshareStreams()
3555 encoder_config.simulcast_layers[i].max_bitrate_bps > 0) { in CreateSimulcastOrConfereceModeScreenshareStreams()
3558 if (encoder_config.simulcast_layers[i].target_bitrate_bps <= 0) in CreateSimulcastOrConfereceModeScreenshareStreams()
3562 } else if (encoder_config.simulcast_layers[i].min_bitrate_bps > 0) { in CreateSimulcastOrConfereceModeScreenshareStreams()
3568 } else if (encoder_config.simulcast_layers[i].max_bitrate_bps > 0) { in CreateSimulcastOrConfereceModeScreenshareStreams()
3577 encoder_config.simulcast_layers[i].max_bitrate_bps > 0; in CreateSimulcastOrConfereceModeScreenshareStreams()