Home
last modified time | relevance | path

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

123

/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()
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/media/engine/
Dsimulcast.cc124 int num_temporal_layers = default_num_temporal_layers; in DefaultNumberOfTemporalLayers() local
125 if (sscanf(group_name.c_str(), "%d", &num_temporal_layers) == 1 && in DefaultNumberOfTemporalLayers()
126 num_temporal_layers > 0 && in DefaultNumberOfTemporalLayers()
127 num_temporal_layers <= webrtc::kMaxTemporalStreams) { in DefaultNumberOfTemporalLayers()
128 return num_temporal_layers; in DefaultNumberOfTemporalLayers()
302 layers[s].num_temporal_layers = in GetNormalSimulcastLayers()
307 int num_temporal_layers = DefaultNumberOfTemporalLayers(s, false); in GetNormalSimulcastLayers() local
315 if (num_temporal_layers == 3) { in GetNormalSimulcastLayers()
325 num_temporal_layers, 0, /*base_heavy_tl3_rate_alloc=*/false); in GetNormalSimulcastLayers()
375 layers[0].num_temporal_layers = temporal_layers_supported ? 2 : 1; in GetScreenshareLayers()
[all …]
Dfake_webrtc_call.cc232 const unsigned char num_temporal_layers = static_cast<unsigned char>( in ReconfigureVideoEncoder() local
233 video_streams_.back().num_temporal_layers.value_or(1)); in ReconfigureVideoEncoder()
239 num_temporal_layers; in ReconfigureVideoEncoder()
246 num_temporal_layers; in ReconfigureVideoEncoder()
252 num_temporal_layers; in ReconfigureVideoEncoder()
/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()
34 TemporalLayersChecker::TemporalLayersChecker(int num_temporal_layers) in TemporalLayersChecker() argument
35 : num_temporal_layers_(num_temporal_layers), in TemporalLayersChecker()
/external/webrtc/modules/video_coding/codecs/vp9/
Dsvc_config.cc67 size_t num_temporal_layers) { in ConfigureSvcNormalVideo() argument
101 spatial_layer.numberOfTemporalLayers = num_temporal_layers; in ConfigureSvcNormalVideo()
145 size_t num_temporal_layers, in GetSvcConfig() argument
150 RTC_DCHECK_GT(num_temporal_layers, 0); in GetSvcConfig()
158 num_temporal_layers); in GetSvcConfig()
Dsvc_rate_allocator.cc282 const size_t num_temporal_layers = codec_.VP9().numberOfTemporalLayers; in GetAllocationNormalVideo() local
285 SplitBitrate(num_temporal_layers, spatial_layer_rates[sl_idx], in GetAllocationNormalVideo()
291 if (num_temporal_layers == 1) { in GetAllocationNormalVideo()
294 } else if (num_temporal_layers == 2) { in GetAllocationNormalVideo()
300 RTC_CHECK_EQ(num_temporal_layers, 3); in GetAllocationNormalVideo()
Dsvc_config.h26 size_t num_temporal_layers,
/external/webrtc/modules/video_coding/utility/
Dsimulcast_utility.cc101 uint8_t num_temporal_layers = in NumberOfTemporalLayers() local
105 num_temporal_layers = in NumberOfTemporalLayers()
106 std::max(num_temporal_layers, in NumberOfTemporalLayers()
109 return num_temporal_layers; in NumberOfTemporalLayers()
Dsimulcast_rate_allocator.cc284 const size_t num_temporal_layers = NumTemporalStreams(simulcast_id); in DefaultTemporalLayerAllocation() local
286 for (size_t i = 0; i < num_temporal_layers; ++i) { in DefaultTemporalLayerAllocation()
290 num_temporal_layers, i, in DefaultTemporalLayerAllocation()
297 for (size_t i = 0; i < num_temporal_layers; ++i) { in DefaultTemporalLayerAllocation()
/external/webrtc/media/base/
Dmedia_engine.cc100 if (rtp_parameters.encodings[i].num_temporal_layers) { in CheckRtpParametersValues()
101 if (*rtp_parameters.encodings[i].num_temporal_layers < 1 || in CheckRtpParametersValues()
102 *rtp_parameters.encodings[i].num_temporal_layers > in CheckRtpParametersValues()
109 if (i > 0 && (rtp_parameters.encodings[i].num_temporal_layers != in CheckRtpParametersValues()
110 rtp_parameters.encodings[i - 1].num_temporal_layers)) { in CheckRtpParametersValues()
/external/webrtc/modules/video_coding/
Dvideo_codec_initializer_unittest.cc121 stream.num_temporal_layers = 1; in DefaultStream()
132 stream.num_temporal_layers = 2; in DefaultScreenshareStream()
245 video_stream.num_temporal_layers = 3; in TEST_F()
274 stream.num_temporal_layers = 3; in TEST_F()
285 stream.num_temporal_layers = 3; in TEST_F()
300 stream.num_temporal_layers = 3; in TEST_F()
312 stream.num_temporal_layers = 1; in TEST_F()
329 stream.num_temporal_layers = 3; in TEST_F()
Dvideo_codec_initializer.cc114 static_cast<unsigned char>(streams[i].num_temporal_layers.value_or(1)); in VideoEncoderConfigToVideoCodec()
152 streams.back().num_temporal_layers.value_or( in VideoEncoderConfigToVideoCodec()
169 streams.back().num_temporal_layers.value_or( in VideoEncoderConfigToVideoCodec()
251 streams.back().num_temporal_layers.value_or( in VideoEncoderConfigToVideoCodec()
Dfec_controller_default.cc54 size_t num_temporal_layers, in SetEncodingData() argument
58 loss_prot_logic_->UpdateNumLayers(num_temporal_layers); in SetEncodingData()
/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.cc74 static_cast<unsigned char>(*streams[i].num_temporal_layers); in ConfigureSimulcast()
156 size_t num_temporal_layers, in SetCodecSettings() argument
174 RTC_CHECK(num_temporal_layers >= 1 && in SetCodecSettings()
175 num_temporal_layers <= kMaxTemporalStreams); in SetCodecSettings()
192 static_cast<uint8_t>(num_temporal_layers); in SetCodecSettings()
200 static_cast<uint8_t>(num_temporal_layers); in SetCodecSettings()
659 const size_t num_temporal_layers = config_.NumberOfTemporalLayers(); in SetUpAndInitObjects() local
668 for (size_t temporal_idx = 0; temporal_idx < num_temporal_layers; in SetUpAndInitObjects()
/external/libvpx/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); 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.cc86 if (stream.num_temporal_layers) { in CreateVideoStreams()
87 RTC_DCHECK_GE(*stream.num_temporal_layers, 1); in CreateVideoStreams()
88 stream_settings[i].num_temporal_layers = stream.num_temporal_layers; in CreateVideoStreams()
/external/webrtc/modules/video_coding/codecs/av1/
Dlibaom_av1_encoder.cc290 svc_config.num_spatial_layers > 1 || svc_config.num_temporal_layers > 1; in SetSvcParams()
300 if (svc_config.num_temporal_layers < 1 || in SetSvcParams()
301 svc_config.num_temporal_layers > 8) { in SetSvcParams()
303 << svc_config.num_temporal_layers << " configured."; in SetSvcParams()
308 svc_params.number_temporal_layers = svc_config.num_temporal_layers; in SetSvcParams()
311 svc_config.num_spatial_layers * svc_config.num_temporal_layers; in SetSvcParams()
318 for (int tid = 0; tid < svc_config.num_temporal_layers; ++tid) { in SetSvcParams()
320 1 << (svc_config.num_temporal_layers - tid - 1); in SetSvcParams()
Dscalability_structure_l2t1h.cc28 result.num_temporal_layers = 1; in StreamConfig()
/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.mm50 if (nativeParameters.num_temporal_layers) {
51 _numTemporalLayers = [NSNumber numberWithInt:*nativeParameters.num_temporal_layers];
83 parameters.num_temporal_layers = absl::optional<int>(_numTemporalLayers.intValue);
/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc76 void ConfigureSvc(size_t num_spatial_layers, size_t num_temporal_layers = 1) { in ConfigureSvc() argument
79 codec_settings_.VP9()->numberOfTemporalLayers = num_temporal_layers; in ConfigureSvc()
85 num_spatial_layers, num_temporal_layers, false); in ConfigureSvc()
326 const size_t num_temporal_layers = 3; in TEST_F() local
330 ConfigureSvc(num_spatial_layers, num_temporal_layers); in TEST_F()
341 for (size_t tl_idx = 0; tl_idx < num_temporal_layers; ++tl_idx) { in TEST_F()
364 for (size_t tl_idx = 0; tl_idx < num_temporal_layers; ++tl_idx) { in TEST_F()
421 for (size_t tl_idx = 0; tl_idx < num_temporal_layers; ++tl_idx) { in TEST_F()
450 for (size_t tl_idx = 0; tl_idx < num_temporal_layers; ++tl_idx) { in TEST_F()
826 const size_t num_temporal_layers = 2; in TEST_F() local
[all …]
/external/webrtc/video/end_to_end_tests/
Dmulti_codec_receive_tests.cc165 size_t num_temporal_layers; member
204 GetVideoEncoderConfig()->simulcast_layers[0].num_temporal_layers = in ConfigureEncoder()
205 config.num_temporal_layers; in ConfigureEncoder()

123