Home
last modified time | relevance | path

Searched refs:spatialLayers (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/modules/video_coding/codecs/vp9/
Dsvc_rate_allocator.cc34 if (codec.spatialLayers[layer].active) { in GetFirstActiveLayer()
49 if (!codec.spatialLayers[last_active_layer].active) { in GetNumActiveSpatialLayers()
66 codec.spatialLayers[first_active_layer + sl_idx].minBitrate); in AdjustAndVerify()
68 codec.spatialLayers[first_active_layer + sl_idx].maxBitrate); in AdjustAndVerify()
128 return DataRate::KilobitsPerSec(codec.spatialLayers[0].minBitrate); in FindLayerTogglingThreshold()
137 codec.spatialLayers[first_active_layer + i].minBitrate); in FindLayerTogglingThreshold()
139 codec.spatialLayers[first_active_layer + i].maxBitrate); in FindLayerTogglingThreshold()
143 codec.spatialLayers[first_active_layer + num_active_layers - 1] in FindLayerTogglingThreshold()
165 codec.spatialLayers[first_active_layer + i].targetBitrate); in FindLayerTogglingThreshold()
168 codec.spatialLayers[first_active_layer + num_active_layers - 1] in FindLayerTogglingThreshold()
[all …]
Dsvc_rate_allocator_unittest.cc47 codec.spatialLayers[sl_idx] = spatial_layers[sl_idx]; in Configure()
95 const SpatialLayer* layers = codec.spatialLayers; in TEST()
109 const SpatialLayer* layers = codec.spatialLayers; in TEST()
126 const SpatialLayer* layers = codec.spatialLayers; in TEST()
144 const SpatialLayer* layers = codec.spatialLayers; in TEST()
161 const SpatialLayer* layers = codec.spatialLayers; in TEST()
182 codec.spatialLayers[i].active = false; in TEST()
207 codec.spatialLayers[i].active = false; in TEST()
249 codec.spatialLayers[0].active = false; in TEST()
250 codec.spatialLayers[1].active = false; in TEST()
[all …]
Dvp9_impl.cc304 return codec_.spatialLayers[0].targetBitrate > 0; in ExplicitlyConfiguredSpatialLayers()
350 codec_.spatialLayers[sl_idx].maxFramerate); in SetSvcRates()
689 const auto& layer = codec_.spatialLayers[i]; in InitAndSetControlSettings()
713 RTC_DCHECK_GT(codec_.spatialLayers[i].maxFramerate, 0); in InitAndSetControlSettings()
714 RTC_DCHECK_LE(codec_.spatialLayers[i].maxFramerate, codec_.maxFramerate); in InitAndSetControlSettings()
718 RTC_DCHECK_GE(codec_.spatialLayers[i].maxFramerate, in InitAndSetControlSettings()
719 codec_.spatialLayers[i - 1].maxFramerate); in InitAndSetControlSettings()
1593 if (codec_.spatialLayers[si].active && in GetEncoderInfo()
1594 codec_.spatialLayers[si].maxFramerate > max_fps) { in GetEncoderInfo()
1595 max_fps = codec_.spatialLayers[si].maxFramerate; in GetEncoderInfo()
[all …]
/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc87 codec_settings_.spatialLayers[i] = layers[i]; in ConfigureSvc()
221 codec_settings_.spatialLayers[0].minBitrate = 200; in TEST_F()
222 codec_settings_.spatialLayers[0].maxBitrate = 500; in TEST_F()
223 codec_settings_.spatialLayers[0].targetBitrate = in TEST_F()
224 (codec_settings_.spatialLayers[0].minBitrate + in TEST_F()
225 codec_settings_.spatialLayers[0].maxBitrate) / in TEST_F()
227 codec_settings_.spatialLayers[0].active = true; in TEST_F()
229 codec_settings_.spatialLayers[1].minBitrate = 400; in TEST_F()
230 codec_settings_.spatialLayers[1].maxBitrate = 1500; in TEST_F()
231 codec_settings_.spatialLayers[1].targetBitrate = in TEST_F()
[all …]
/external/webrtc/modules/video_coding/
Dvideo_codec_initializer_unittest.cc304 EXPECT_EQ(codec_out_.spatialLayers[0].maxBitrate, in TEST_F()
316 EXPECT_EQ(codec_out_.spatialLayers[0].targetBitrate, in TEST_F()
333 EXPECT_LT(codec_out_.spatialLayers[0].maxBitrate, in TEST_F()
349 EXPECT_TRUE(codec_out_.spatialLayers[0].active); in TEST_F()
350 EXPECT_TRUE(codec_out_.spatialLayers[1].active); in TEST_F()
351 EXPECT_TRUE(codec_out_.spatialLayers[2].active); in TEST_F()
356 EXPECT_TRUE(codec_out_.spatialLayers[0].active); in TEST_F()
357 EXPECT_TRUE(codec_out_.spatialLayers[1].active); in TEST_F()
358 EXPECT_FALSE(codec_out_.spatialLayers[2].active); in TEST_F()
364 EXPECT_TRUE(codec_out_.spatialLayers[0].active); in TEST_F()
[all …]
Dvideo_codec_initializer.cc221 video_codec.spatialLayers[i] = spatial_layers[i]; in VideoEncoderConfigToVideoCodec()
273 video_codec.spatialLayers[0].minBitrate = experimental_min_bitrate_kbps; in VideoEncoderConfigToVideoCodec()
/external/webrtc/video/
Dencoder_bitrate_adjuster_unittest.cc54 codec_.spatialLayers[si].minBitrate = 100 * (1 << si); in SetUpAdjuster()
55 codec_.spatialLayers[si].targetBitrate = 200 * (1 << si); in SetUpAdjuster()
56 codec_.spatialLayers[si].maxBitrate = 300 * (1 << si); in SetUpAdjuster()
57 codec_.spatialLayers[si].active = true; in SetUpAdjuster()
58 codec_.spatialLayers[si].numberOfTemporalLayers = num_temporal_layers; in SetUpAdjuster()
189 return codec_.spatialLayers[spatial_index].numberOfTemporalLayers; in NumTemporalLayers()
Dvideo_stream_encoder.cc729 log_stream << i << ": " << codec.spatialLayers[i].width << "x" in ReconfigureEncoder()
730 << codec.spatialLayers[i].height in ReconfigureEncoder()
731 << " fps: " << codec.spatialLayers[i].maxFramerate in ReconfigureEncoder()
732 << " min_kbps: " << codec.spatialLayers[i].minBitrate in ReconfigureEncoder()
733 << " target_kbps: " << codec.spatialLayers[i].targetBitrate in ReconfigureEncoder()
734 << " max_kbps: " << codec.spatialLayers[i].maxBitrate in ReconfigureEncoder()
735 << " max_qp: " << codec.spatialLayers[i].qpMax in ReconfigureEncoder()
736 << " num_tl: " << codec.spatialLayers[i].numberOfTemporalLayers in ReconfigureEncoder()
738 << (codec.spatialLayers[i].active ? "true" : "false") << "\n"; in ReconfigureEncoder()
908 streams[0].min_bitrate_bps = codec.spatialLayers[0].minBitrate * 1000; in ReconfigureEncoder()
[all …]
Dencoder_bitrate_adjuster.cc54 if (codec_settings.spatialLayers[si].active) {
57 codec_settings.spatialLayers[si].minBitrate * 1000);
Dsend_statistics_proxy_unittest.cc1385 codec.spatialLayers[0].active = true; in TEST_F()
1386 codec.spatialLayers[1].active = true; in TEST_F()
1387 codec.spatialLayers[2].active = true; in TEST_F()
1397 codec.spatialLayers[1].active = false; in TEST_F()
1398 codec.spatialLayers[2].active = false; in TEST_F()
1405 codec.spatialLayers[1].active = true; in TEST_F()
1406 codec.spatialLayers[2].active = true; in TEST_F()
Dvideo_quality_test.cc94 std::max(min_bitrate, codec.spatialLayers[spatial_idx].minBitrate); in GetMinMaxBitratesBps()
96 std::min(max_bitrate, codec.spatialLayers[spatial_idx].maxBitrate); in GetMinMaxBitratesBps()
Dsend_statistics_proxy.cc1195 if (codec.spatialLayers[i].active) { in OnBitrateAllocationUpdated()
/external/webrtc/api/video_codecs/
Dvideo_codec.h125 SpatialLayer spatialLayers[kMaxSpatialLayers]; variable
Dvideo_codec.cc82 spatialLayers(), in VideoCodec()
/external/webrtc/test/pc/e2e/analyzer/video/
Dquality_analyzing_video_encoder.cc45 std::max(min_bitrate, codec.spatialLayers[spatial_idx].minBitrate); in GetMinMaxBitratesBps()
47 std::min(max_bitrate, codec.spatialLayers[spatial_idx].maxBitrate); in GetMinMaxBitratesBps()
/external/webrtc/modules/video_coding/codecs/test/
Dvideocodec_test_fixture_impl.cc95 codec_settings->spatialLayers[i] = layers[i]; in ConfigureSvc()