Add KSvc structure for 3 spatial and 3 temporal layers to allow to cover more scenarious Bug: webrtc:11999 Change-Id: Id16d1acfb4ca5f98d1b17d8f66d54b31d22d0745 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/188122 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32434}
96 lines
3.2 KiB
Plaintext
96 lines
3.2 KiB
Plaintext
# Copyright (c) 2020 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
import("../../../webrtc.gni")
|
|
|
|
rtc_source_set("scalable_video_controller") {
|
|
sources = [
|
|
"scalable_video_controller.h",
|
|
"scalable_video_controller_no_layering.cc",
|
|
"scalable_video_controller_no_layering.h",
|
|
]
|
|
deps = [
|
|
"../../../api/transport/rtp:dependency_descriptor",
|
|
"../../../api/video:video_bitrate_allocation",
|
|
"../../../common_video/generic_frame_descriptor",
|
|
"../../../rtc_base:checks",
|
|
]
|
|
absl_deps = [
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
]
|
|
}
|
|
|
|
rtc_source_set("scalability_structures") {
|
|
sources = [
|
|
"create_scalability_structure.cc",
|
|
"create_scalability_structure.h",
|
|
"scalability_structure_full_svc.cc",
|
|
"scalability_structure_full_svc.h",
|
|
"scalability_structure_key_svc.cc",
|
|
"scalability_structure_key_svc.h",
|
|
"scalability_structure_l1t2.cc",
|
|
"scalability_structure_l1t2.h",
|
|
"scalability_structure_l1t3.cc",
|
|
"scalability_structure_l1t3.h",
|
|
"scalability_structure_l2t1.cc",
|
|
"scalability_structure_l2t1.h",
|
|
"scalability_structure_l2t1h.cc",
|
|
"scalability_structure_l2t1h.h",
|
|
"scalability_structure_l2t2.cc",
|
|
"scalability_structure_l2t2.h",
|
|
"scalability_structure_l2t2_key_shift.cc",
|
|
"scalability_structure_l2t2_key_shift.h",
|
|
"scalability_structure_l3t1.cc",
|
|
"scalability_structure_l3t1.h",
|
|
"scalability_structure_l3t3.cc",
|
|
"scalability_structure_l3t3.h",
|
|
"scalability_structure_s2t1.cc",
|
|
"scalability_structure_s2t1.h",
|
|
]
|
|
deps = [
|
|
":scalable_video_controller",
|
|
"../../../api/transport/rtp:dependency_descriptor",
|
|
"../../../api/video:video_bitrate_allocation",
|
|
"../../../common_video/generic_frame_descriptor",
|
|
"../../../rtc_base:checks",
|
|
"../../../rtc_base:logging",
|
|
]
|
|
absl_deps = [
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
]
|
|
}
|
|
|
|
if (rtc_include_tests) {
|
|
rtc_library("scalability_structure_tests") {
|
|
testonly = true
|
|
sources = [
|
|
"scalability_structure_key_svc_unittest.cc",
|
|
"scalability_structure_l3t3_unittest.cc",
|
|
"scalability_structure_test_helpers.cc",
|
|
"scalability_structure_test_helpers.h",
|
|
"scalability_structure_unittest.cc",
|
|
]
|
|
deps = [
|
|
":scalability_structures",
|
|
":scalable_video_controller",
|
|
"..:chain_diff_calculator",
|
|
"..:frame_dependencies_calculator",
|
|
"../../../api:array_view",
|
|
"../../../api/transport/rtp:dependency_descriptor",
|
|
"../../../api/video:video_bitrate_allocation",
|
|
"../../../api/video:video_frame_type",
|
|
"../../../common_video/generic_frame_descriptor",
|
|
"../../../test:test_support",
|
|
]
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
|
}
|
|
}
|