/external/webrtc/modules/video_coding/codecs/vp9/ |
D | svc_rate_allocator.cc | 34 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 …]
|
D | svc_rate_allocator_unittest.cc | 47 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 …]
|
D | vp9_impl.cc | 304 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/ |
D | vp9_impl_unittest.cc | 87 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/ |
D | video_codec_initializer_unittest.cc | 304 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 …]
|
D | video_codec_initializer.cc | 221 video_codec.spatialLayers[i] = spatial_layers[i]; in VideoEncoderConfigToVideoCodec() 273 video_codec.spatialLayers[0].minBitrate = experimental_min_bitrate_kbps; in VideoEncoderConfigToVideoCodec()
|
/external/webrtc/video/ |
D | encoder_bitrate_adjuster_unittest.cc | 54 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()
|
D | video_stream_encoder.cc | 729 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 …]
|
D | encoder_bitrate_adjuster.cc | 54 if (codec_settings.spatialLayers[si].active) { 57 codec_settings.spatialLayers[si].minBitrate * 1000);
|
D | send_statistics_proxy_unittest.cc | 1385 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()
|
D | video_quality_test.cc | 94 std::max(min_bitrate, codec.spatialLayers[spatial_idx].minBitrate); in GetMinMaxBitratesBps() 96 std::min(max_bitrate, codec.spatialLayers[spatial_idx].maxBitrate); in GetMinMaxBitratesBps()
|
D | send_statistics_proxy.cc | 1195 if (codec.spatialLayers[i].active) { in OnBitrateAllocationUpdated()
|
/external/webrtc/api/video_codecs/ |
D | video_codec.h | 125 SpatialLayer spatialLayers[kMaxSpatialLayers]; variable
|
D | video_codec.cc | 82 spatialLayers(), in VideoCodec()
|
/external/webrtc/test/pc/e2e/analyzer/video/ |
D | quality_analyzing_video_encoder.cc | 45 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/ |
D | videocodec_test_fixture_impl.cc | 95 codec_settings->spatialLayers[i] = layers[i]; in ConfigureSvc()
|