/external/webrtc/api/video_codecs/ |
D | vp8_temporal_layers_factory.cc | 36 int num_temporal_layers = in Create() local 38 RTC_DCHECK_GE(num_temporal_layers, 1); in Create() 41 num_temporal_layers = std::max(2, num_temporal_layers); in Create() 43 std::make_unique<ScreenshareLayers>(num_temporal_layers)); in Create() 46 std::make_unique<DefaultTemporalLayers>(num_temporal_layers)); in Create()
|
/external/webrtc/modules/video_coding/codecs/vp8/ |
D | temporal_layers_checker.cc | 23 int num_temporal_layers) { in CreateTemporalLayersChecker() argument 27 num_temporal_layers); in CreateTemporalLayersChecker() 30 return std::make_unique<TemporalLayersChecker>(num_temporal_layers); in CreateTemporalLayersChecker() 35 TemporalLayersChecker::TemporalLayersChecker(int num_temporal_layers) in TemporalLayersChecker() argument 36 : num_temporal_layers_(num_temporal_layers), in TemporalLayersChecker()
|
/external/webrtc/modules/video_coding/codecs/av1/ |
D | av1_svc_config.cc | 26 absl::optional<ScalabilityMode> BuildScalabilityMode(int num_temporal_layers, in BuildScalabilityMode() argument 30 ss << "L" << num_spatial_layers << "T" << num_temporal_layers; in BuildScalabilityMode() 57 int num_temporal_layers, in SetAv1SvcConfig() argument 65 BuildScalabilityMode(num_temporal_layers, num_spatial_layers); in SetAv1SvcConfig() 91 spatial_layer.numberOfTemporalLayers = info.num_temporal_layers; in SetAv1SvcConfig()
|
D | libaom_av1_encoder.cc | 403 svc_config.num_spatial_layers > 1 || svc_config.num_temporal_layers > 1; in SetSvcParams() 413 if (svc_config.num_temporal_layers < 1 || in SetSvcParams() 414 svc_config.num_temporal_layers > 8) { in SetSvcParams() 416 << svc_config.num_temporal_layers << " configured."; in SetSvcParams() 421 svc_params.number_temporal_layers = svc_config.num_temporal_layers; in SetSvcParams() 424 svc_config.num_spatial_layers * svc_config.num_temporal_layers; in SetSvcParams() 431 for (int tid = 0; tid < svc_config.num_temporal_layers; ++tid) { in SetSvcParams() 433 1 << (svc_config.num_temporal_layers - tid - 1); in SetSvcParams()
|
/external/webrtc/video/config/ |
D | simulcast.cc | 140 int num_temporal_layers = kDefaultNumTemporalLayers; in DefaultNumberOfTemporalLayers() local 141 if (sscanf(group_name.c_str(), "%d", &num_temporal_layers) == 1 && in DefaultNumberOfTemporalLayers() 142 num_temporal_layers > 0 && in DefaultNumberOfTemporalLayers() 143 num_temporal_layers <= webrtc::kMaxTemporalStreams) { in DefaultNumberOfTemporalLayers() 144 return num_temporal_layers; in DefaultNumberOfTemporalLayers() 368 layers[s].num_temporal_layers = in GetNormalSimulcastLayers() 378 int num_temporal_layers = DefaultNumberOfTemporalLayers(trials); in GetNormalSimulcastLayers() local 386 if (num_temporal_layers == 3) { in GetNormalSimulcastLayers() 396 num_temporal_layers, 0, /*base_heavy_tl3_rate_alloc=*/false); in GetNormalSimulcastLayers() 456 layers[0].num_temporal_layers = temporal_layers_supported ? 2 : 1; in GetScreenshareLayers() [all …]
|
D | encoder_stream_factory.cc | 218 layer.num_temporal_layers = vp9_settings.numberOfTemporalLayers; in CreateDefaultVideoStreams() 228 (layer.num_temporal_layers > 1u || num_spatial_layers > 1)) { in CreateDefaultVideoStreams() 234 *layer.num_temporal_layers, is_screenshare_); in CreateDefaultVideoStreams() 265 if (encoder_config.simulcast_layers[0].num_temporal_layers) { in CreateDefaultVideoStreams() 266 layer.num_temporal_layers = in CreateDefaultVideoStreams() 267 *encoder_config.simulcast_layers[0].num_temporal_layers; in CreateDefaultVideoStreams() 329 if (encoder_config.simulcast_layers[i].num_temporal_layers && in CreateSimulcastOrConferenceModeScreenshareStreams() 331 layers[i].num_temporal_layers = in CreateSimulcastOrConferenceModeScreenshareStreams() 332 *encoder_config.simulcast_layers[i].num_temporal_layers; in CreateSimulcastOrConferenceModeScreenshareStreams()
|
D | video_encoder_config.cc | 27 num_temporal_layers(absl::nullopt), in VideoStream() 43 ss << ", num_temporal_layers: " << num_temporal_layers.value_or(1); in ToString()
|
/external/webrtc/modules/video_coding/utility/ |
D | simulcast_utility.cc | 93 uint8_t num_temporal_layers = in NumberOfTemporalLayers() local 97 num_temporal_layers = in NumberOfTemporalLayers() 98 std::max(num_temporal_layers, in NumberOfTemporalLayers() 101 return num_temporal_layers; in NumberOfTemporalLayers()
|
D | simulcast_rate_allocator.cc | 282 const size_t num_temporal_layers = NumTemporalStreams(simulcast_id); in DefaultTemporalLayerAllocation() local 284 for (size_t i = 0; i < num_temporal_layers; ++i) { in DefaultTemporalLayerAllocation() 288 num_temporal_layers, i, in DefaultTemporalLayerAllocation() 295 for (size_t i = 0; i < num_temporal_layers; ++i) { in DefaultTemporalLayerAllocation()
|
/external/webrtc/modules/video_coding/codecs/vp9/ |
D | svc_config.cc | 85 size_t num_temporal_layers, in ConfigureSvcNormalVideo() argument 122 spatial_layer.numberOfTemporalLayers = num_temporal_layers; in ConfigureSvcNormalVideo() 202 info->num_temporal_layers, /*is_screen_sharing=*/false, in GetVp9SvcConfig() 222 size_t num_temporal_layers, in GetSvcConfig() argument 228 RTC_DCHECK_GT(num_temporal_layers, 0); in GetSvcConfig() 236 num_temporal_layers, config); in GetSvcConfig()
|
/external/webrtc/call/ |
D | rtp_payload_params.cc | 137 int num_temporal_layers) { in MinimalisticStructure() argument 139 RTC_DCHECK_LE(num_temporal_layers, DependencyDescriptor::kMaxTemporalIds); in MinimalisticStructure() 140 RTC_DCHECK_LE(num_spatial_layers * num_temporal_layers, 32); in MinimalisticStructure() 142 structure.num_decode_targets = num_spatial_layers * num_temporal_layers; in MinimalisticStructure() 144 structure.templates.reserve(num_spatial_layers * num_temporal_layers); in MinimalisticStructure() 146 for (int tid = 0; tid < num_temporal_layers; ++tid) { in MinimalisticStructure() 151 for (int t = 0; t < num_temporal_layers; ++t) { in MinimalisticStructure() 162 num_temporal_layers in MinimalisticStructure() 548 const int num_temporal_layers = kMaxTemporalStreams; in Vp9ToGeneric() local 551 static_assert(num_temporal_layers <= in Vp9ToGeneric() [all …]
|
/external/webrtc/modules/video_coding/ |
D | video_codec_initializer.cc | 120 int num_temporal_layers = in VideoEncoderConfigToVideoCodec() local 123 : streams[i].num_temporal_layers.value_or(1); in VideoEncoderConfigToVideoCodec() 126 static_cast<unsigned char>(num_temporal_layers); in VideoEncoderConfigToVideoCodec() 175 : streams[0].num_temporal_layers.value_or(1); in VideoEncoderConfigToVideoCodec() 204 : streams.back().num_temporal_layers.value_or( in VideoEncoderConfigToVideoCodec() 222 streams.back().num_temporal_layers.value_or( in VideoEncoderConfigToVideoCodec() 308 streams.back().num_temporal_layers.value_or(1), in VideoEncoderConfigToVideoCodec() 323 streams.back().num_temporal_layers.value_or( in VideoEncoderConfigToVideoCodec()
|
D | video_codec_initializer_unittest.cc | 121 stream.num_temporal_layers = 1; in DefaultStream() 132 stream.num_temporal_layers = 2; in DefaultScreenshareStream() 262 video_stream.num_temporal_layers = 3; in TEST_F() 291 stream.num_temporal_layers = 3; in TEST_F() 302 stream.num_temporal_layers = 3; in TEST_F() 317 stream.num_temporal_layers = 3; in TEST_F() 329 stream.num_temporal_layers = 1; in TEST_F() 346 stream.num_temporal_layers = 3; in TEST_F()
|
/external/webrtc/modules/video_coding/codecs/test/ |
D | videocodec_test_stats_impl.cc | 84 size_t num_temporal_layers = 0; in SliceAndCalcLayerVideoStatistic() local 86 &num_temporal_layers); in SliceAndCalcLayerVideoStatistic() 88 RTC_CHECK_GT(num_temporal_layers, 0); in SliceAndCalcLayerVideoStatistic() 92 for (size_t temporal_idx = 0; temporal_idx < num_temporal_layers; in SliceAndCalcLayerVideoStatistic() 107 size_t num_temporal_layers = 0; in SliceAndCalcAggregatedVideoStatistic() local 109 &num_temporal_layers); in SliceAndCalcAggregatedVideoStatistic() 111 RTC_CHECK_GT(num_temporal_layers, 0); in SliceAndCalcAggregatedVideoStatistic() 115 num_temporal_layers - 1, true); in SliceAndCalcAggregatedVideoStatistic()
|
D | videocodec_test_fixture_impl.cc | 88 static_cast<unsigned char>(*streams[i].num_temporal_layers); in ConfigureSimulcast() 190 size_t num_temporal_layers, in SetCodecSettings() argument 208 RTC_CHECK(num_temporal_layers >= 1 && in SetCodecSettings() 209 num_temporal_layers <= kMaxTemporalStreams); in SetCodecSettings() 227 static_cast<uint8_t>(num_temporal_layers); in SetCodecSettings() 234 static_cast<uint8_t>(num_temporal_layers); in SetCodecSettings() 247 static_cast<uint8_t>(num_temporal_layers); in SetCodecSettings() 770 const size_t num_temporal_layers = config_.NumberOfTemporalLayers(); in SetUpAndInitObjects() local 780 for (size_t temporal_idx = 0; temporal_idx < num_temporal_layers; in SetUpAndInitObjects()
|
/external/libvpx/examples/ |
D | vp8_multi_resolution_encoder.c | 166 static void set_temporal_layer_pattern(int num_temporal_layers, in set_temporal_layer_pattern() argument 169 assert(num_temporal_layers <= MAX_NUM_TEMPORAL_LAYERS); in set_temporal_layer_pattern() 170 switch (num_temporal_layers) { in set_temporal_layer_pattern() 340 unsigned int num_temporal_layers[NUM_ENCODERS] = { 3, 3, 3 }; in main() local 379 num_temporal_layers[i] = in main() 381 if (num_temporal_layers[i] < 1 || num_temporal_layers[i] > 3) in main() 383 num_temporal_layers[i]); in main() 483 set_temporal_layer_pattern(num_temporal_layers[i], &cfg[i], in main() 573 flag_periodicity = periodicity_to_num_layers[num_temporal_layers[i] - 1]; in main()
|
/external/webrtc/test/ |
D | encoder_settings.cc | 82 if (stream.num_temporal_layers) { in CreateVideoStreams() 83 RTC_DCHECK_GE(*stream.num_temporal_layers, 1); in CreateVideoStreams() 84 stream_settings[i].num_temporal_layers = stream.num_temporal_layers; in CreateVideoStreams()
|
/external/webrtc/modules/video_coding/codecs/vp8/include/ |
D | temporal_layers_checker.h | 28 explicit TemporalLayersChecker(int num_temporal_layers); 36 int num_temporal_layers);
|
/external/webrtc/video/ |
D | encoder_bitrate_adjuster_unittest.cc | 44 size_t num_temporal_layers, in SetUpAdjuster() argument 52 codec_.VP9()->numberOfTemporalLayers = num_temporal_layers; in SetUpAdjuster() 58 codec_.spatialLayers[si].numberOfTemporalLayers = num_temporal_layers; in SetUpAdjuster() 63 codec_.VP8()->numberOfTemporalLayers = num_temporal_layers; in SetUpAdjuster() 69 codec_.simulcastStream[si].numberOfTemporalLayers = num_temporal_layers; in SetUpAdjuster() 74 encoder_info_.fps_allocation[si].resize(num_temporal_layers); in SetUpAdjuster() 76 for (int ti = num_temporal_layers - 1; ti >= 0; --ti) { in SetUpAdjuster()
|
/external/webrtc/sdk/objc/api/peerconnection/ |
D | RTCRtpEncodingParameters.mm | 52 if (nativeParameters.num_temporal_layers) { 53 _numTemporalLayers = [NSNumber numberWithInt:*nativeParameters.num_temporal_layers]; 86 parameters.num_temporal_layers = absl::optional<int>(_numTemporalLayers.intValue);
|
/external/webrtc/modules/video_coding/svc/ |
D | scalability_structure_simulcast.cc | 46 int num_temporal_layers, in ScalabilityStructureSimulcast() argument 49 num_temporal_layers_(num_temporal_layers), in ScalabilityStructureSimulcast() 52 (uint32_t{1} << (num_spatial_layers * num_temporal_layers)) - 1) { in ScalabilityStructureSimulcast() 54 RTC_DCHECK_LE(num_temporal_layers, kMaxNumTemporalLayers); 63 result.num_temporal_layers = num_temporal_layers_; in StreamConfig()
|
D | scalability_structure_key_svc.cc | 30 int num_temporal_layers) in ScalabilityStructureKeySvc() argument 32 num_temporal_layers_(num_temporal_layers), in ScalabilityStructureKeySvc() 34 (uint32_t{1} << (num_spatial_layers * num_temporal_layers)) - 1) { in ScalabilityStructureKeySvc() 38 RTC_DCHECK_LE(num_temporal_layers, kMaxNumTemporalLayers); 47 result.num_temporal_layers = num_temporal_layers_; in StreamConfig()
|
/external/webrtc/media/base/ |
D | media_engine.cc | 138 if (rtp_parameters.encodings[i].num_temporal_layers) { in CheckRtpParametersValues() 139 if (*rtp_parameters.encodings[i].num_temporal_layers < 1 || in CheckRtpParametersValues() 140 *rtp_parameters.encodings[i].num_temporal_layers > in CheckRtpParametersValues()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | radeon_uvd_enc.c | 37 …enc->enc_pic.layer_ctrl.num_temporal_layers = pic->seq.num_temporal_layers ? pic->seq.num_temporal… in radeon_uvd_enc_get_param() 38 enc->enc_pic.layer_ctrl.max_num_temporal_layers = enc->enc_pic.layer_ctrl.num_temporal_layers; in radeon_uvd_enc_get_param() 39 …>enc_pic.temporal_id = MIN2(pic->pic.temporal_id, enc->enc_pic.layer_ctrl.num_temporal_layers - 1); in radeon_uvd_enc_get_param() 41 for (uint32_t i = 0; i < enc->enc_pic.layer_ctrl.num_temporal_layers; i++) { in radeon_uvd_enc_get_param()
|
/external/webrtc/test/fuzzers/ |
D | vp9_encoder_references_fuzzer.cc | 210 int num_temporal_layers = 1 + ((config >> 2) & 0b11); in CodecSettings() local 224 spatial_layer.targetBitrate = kBitrateEnabledBps * num_temporal_layers; in CodecSettings() 226 spatial_layer.numberOfTemporalLayers = num_temporal_layers; in CodecSettings() 230 codec_settings.VP9()->numberOfTemporalLayers = num_temporal_layers; in CodecSettings() 248 int num_temporal_layers, in IsSupported() argument 258 for (int tid = 0; tid < num_temporal_layers; ++tid) { in IsSupported()
|