Home
last modified time | relevance | path

Searched refs:num_temporal_layers (Results 1 – 25 of 100) sorted by relevance

1234

/external/webrtc/api/video_codecs/
Dvp8_temporal_layers_factory.cc36 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/
Dtemporal_layers_checker.cc23 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/
Dav1_svc_config.cc26 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()
Dlibaom_av1_encoder.cc403 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/
Dsimulcast.cc140 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 …]
Dencoder_stream_factory.cc218 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()
Dvideo_encoder_config.cc27 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/
Dsimulcast_utility.cc93 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()
Dsimulcast_rate_allocator.cc282 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/
Dsvc_config.cc85 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/
Drtp_payload_params.cc137 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/
Dvideo_codec_initializer.cc120 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()
Dvideo_codec_initializer_unittest.cc121 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/
Dvideocodec_test_stats_impl.cc84 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()
Dvideocodec_test_fixture_impl.cc88 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/
Dvp8_multi_resolution_encoder.c166 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/
Dencoder_settings.cc82 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/
Dtemporal_layers_checker.h28 explicit TemporalLayersChecker(int num_temporal_layers);
36 int num_temporal_layers);
/external/webrtc/video/
Dencoder_bitrate_adjuster_unittest.cc44 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/
DRTCRtpEncodingParameters.mm52 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/
Dscalability_structure_simulcast.cc46 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()
Dscalability_structure_key_svc.cc30 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/
Dmedia_engine.cc138 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/
Dradeon_uvd_enc.c37 …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/
Dvp9_encoder_references_fuzzer.cc210 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()

1234