mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00

This move further clarifies that the file and its class are deprecated. It also cleans up the modules/video_coding root folder a bit. No functional changes are intended. Bug: webrtc:14876 Change-Id: Ie6820a820f22635fe7a970db70b9c28d37499848 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/296443 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Commit-Queue: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39518}
103 lines
2.7 KiB
Text
103 lines
2.7 KiB
Text
# Copyright (c) 2023 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")
|
|
|
|
visibility = [
|
|
":*",
|
|
"../:video_coding_legacy",
|
|
"../:video_coding_unittests",
|
|
]
|
|
|
|
rtc_library("deprecated_decoding_state") {
|
|
sources = [
|
|
"decoding_state.cc",
|
|
"decoding_state.h",
|
|
]
|
|
deps = [
|
|
":deprecated_frame_buffer",
|
|
":deprecated_jitter_buffer_common",
|
|
":deprecated_packet",
|
|
"../../../common_video",
|
|
"../../../modules:module_api_public",
|
|
"../../../rtc_base:logging",
|
|
]
|
|
}
|
|
|
|
rtc_library("deprecated_jitter_buffer_common") {
|
|
sources = [ "jitter_buffer_common.h" ]
|
|
}
|
|
|
|
rtc_library("deprecated_frame_buffer") {
|
|
sources = [
|
|
"frame_buffer.cc",
|
|
"frame_buffer.h",
|
|
]
|
|
deps = [
|
|
":deprecated_jitter_buffer_common",
|
|
":deprecated_packet",
|
|
":deprecated_session_info",
|
|
"../../../api/video:encoded_image",
|
|
"../../../api/video:video_rtp_headers",
|
|
"../../../modules/video_coding:codec_globals_headers",
|
|
"../../../modules/video_coding:encoded_frame",
|
|
"../../../rtc_base:checks",
|
|
"../../../rtc_base:event_tracer",
|
|
"../../../rtc_base:logging",
|
|
]
|
|
}
|
|
|
|
rtc_library("deprecated_packet") {
|
|
sources = [
|
|
"packet.cc",
|
|
"packet.h",
|
|
]
|
|
deps = [
|
|
"../../../api:rtp_headers",
|
|
"../../../api:rtp_packet_info",
|
|
"../../../api/units:timestamp",
|
|
"../../../api/video:video_frame_type",
|
|
"../../../modules/rtp_rtcp:rtp_rtcp_format",
|
|
"../../../modules/rtp_rtcp:rtp_video_header",
|
|
]
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
|
}
|
|
|
|
rtc_library("deprecated_session_info") {
|
|
deps = [
|
|
":deprecated_jitter_buffer_common",
|
|
":deprecated_packet",
|
|
"../../../modules:module_api",
|
|
"../../../modules:module_api_public",
|
|
"../../../modules/video_coding:codec_globals_headers",
|
|
"../../../rtc_base:logging",
|
|
]
|
|
sources = [
|
|
"session_info.cc",
|
|
"session_info.h",
|
|
]
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:variant" ]
|
|
}
|
|
|
|
rtc_library("deprecated_unittests") {
|
|
testonly = true
|
|
sources = [
|
|
"decoding_state_unittest.cc",
|
|
"session_info_unittest.cc",
|
|
]
|
|
visibility += [ "../../../modules/*" ]
|
|
deps = [
|
|
":deprecated_decoding_state",
|
|
":deprecated_frame_buffer",
|
|
":deprecated_packet",
|
|
":deprecated_session_info",
|
|
"../../../modules/rtp_rtcp:rtp_video_header",
|
|
"../../../modules/video_coding:codec_globals_headers",
|
|
"../../../test:test_support",
|
|
]
|
|
}
|