blob: dacde525e5fc299873ee8fc4b48086753fd21e36 [file] [log] [blame]
Rasmus Brandt34d339f2023-03-02 10:34:531# Copyright (c) 2023 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9import("../../../webrtc.gni")
10
Rasmus Brandt78e13882023-03-06 10:10:2611visibility = [
12 ":*",
13 "../:video_coding_legacy",
14 "../:video_coding_unittests",
15]
16
Rasmus Brandtbc3a41e2023-03-09 12:12:2917rtc_library("deprecated_decoding_state") {
18 sources = [
19 "decoding_state.cc",
20 "decoding_state.h",
21 ]
22 deps = [
23 ":deprecated_frame_buffer",
24 ":deprecated_jitter_buffer_common",
25 ":deprecated_packet",
26 "../../../common_video",
27 "../../../modules:module_api_public",
28 "../../../rtc_base:logging",
29 ]
30}
31
Rasmus Brandteec4fd12023-03-10 07:15:0832rtc_library("deprecated_event_wrapper") {
33 sources = [
34 "event_wrapper.cc",
35 "event_wrapper.h",
36 ]
37 deps = [ "../../../rtc_base:rtc_event" ]
38}
39
Rasmus Brandt78e13882023-03-06 10:10:2640rtc_library("deprecated_jitter_buffer_common") {
41 sources = [ "jitter_buffer_common.h" ]
42}
43
Rasmus Brandt59d09ae2023-04-17 12:02:4944rtc_library("deprecated_jitter_buffer") {
45 sources = [
46 "jitter_buffer.cc",
47 "jitter_buffer.h",
48 ]
49 deps = [
50 ":deprecated_decoding_state",
51 ":deprecated_event_wrapper",
52 ":deprecated_frame_buffer",
53 ":deprecated_jitter_buffer_common",
54 ":deprecated_packet",
55 "../../../api:field_trials_view",
56 "../../../api/units:timestamp",
57 "../../../modules:module_api",
58 "../../../modules:module_api_public",
59 "../../../modules/video_coding:video_codec_interface",
60 "../../../modules/video_coding/timing:inter_frame_delay_variation_calculator",
61 "../../../modules/video_coding/timing:jitter_estimator",
62 "../../../rtc_base:checks",
63 "../../../rtc_base:logging",
64 "../../../rtc_base:macromagic",
65 "../../../rtc_base/synchronization:mutex",
66 "../../../system_wrappers",
67 ]
Rasmus Brandt59d09ae2023-04-17 12:02:4968}
69
Rasmus Brandt5a548002023-03-07 10:20:4670rtc_library("deprecated_frame_buffer") {
71 sources = [
72 "frame_buffer.cc",
73 "frame_buffer.h",
74 ]
75 deps = [
76 ":deprecated_jitter_buffer_common",
77 ":deprecated_packet",
78 ":deprecated_session_info",
79 "../../../api/video:encoded_image",
80 "../../../api/video:video_rtp_headers",
81 "../../../modules/video_coding:codec_globals_headers",
82 "../../../modules/video_coding:encoded_frame",
83 "../../../rtc_base:checks",
84 "../../../rtc_base:event_tracer",
85 "../../../rtc_base:logging",
86 ]
87}
88
Rasmus Brandt34d339f2023-03-02 10:34:5389rtc_library("deprecated_packet") {
Rasmus Brandt34d339f2023-03-02 10:34:5390 sources = [
91 "packet.cc",
92 "packet.h",
93 ]
94 deps = [
95 "../../../api:rtp_headers",
96 "../../../api:rtp_packet_info",
97 "../../../api/units:timestamp",
98 "../../../api/video:video_frame_type",
99 "../../../modules/rtp_rtcp:rtp_rtcp_format",
100 "../../../modules/rtp_rtcp:rtp_video_header",
Florent Castelli99c519b2024-05-23 11:21:53101 "//third_party/abseil-cpp/absl/types:optional",
Rasmus Brandt34d339f2023-03-02 10:34:53102 ]
Rasmus Brandt34d339f2023-03-02 10:34:53103}
Rasmus Brandt78e13882023-03-06 10:10:26104
Rasmus Brandt9dfb5312023-05-03 09:08:11105rtc_library("deprecated_receiver") {
106 sources = [
107 "receiver.cc",
108 "receiver.h",
109 ]
110 deps = [
111 ":deprecated_event_wrapper",
112 ":deprecated_jitter_buffer",
113 ":deprecated_jitter_buffer_common",
114 ":deprecated_packet",
115 "../../../api:field_trials_view",
116 "../../../api/video:encoded_image",
117 "../../../modules/video_coding",
118 "../../../modules/video_coding:encoded_frame",
119 "../../../modules/video_coding:video_codec_interface",
120 "../../../modules/video_coding/timing:timing_module",
121 "../../../rtc_base:event_tracer",
122 "../../../rtc_base:logging",
123 "../../../rtc_base:safe_conversions",
124 "../../../system_wrappers",
Florent Castelli99c519b2024-05-23 11:21:53125 "//third_party/abseil-cpp/absl/memory",
Rasmus Brandt9dfb5312023-05-03 09:08:11126 ]
Rasmus Brandt9dfb5312023-05-03 09:08:11127}
128
Rasmus Brandt78e13882023-03-06 10:10:26129rtc_library("deprecated_session_info") {
130 deps = [
131 ":deprecated_jitter_buffer_common",
132 ":deprecated_packet",
133 "../../../modules:module_api",
134 "../../../modules:module_api_public",
135 "../../../modules/video_coding:codec_globals_headers",
136 "../../../rtc_base:logging",
Sergio Garcia Murillo469e6982024-06-14 12:10:50137 "//third_party/abseil-cpp/absl/algorithm:container",
Florent Castelli99c519b2024-05-23 11:21:53138 "//third_party/abseil-cpp/absl/types:variant",
Rasmus Brandt78e13882023-03-06 10:10:26139 ]
140 sources = [
141 "session_info.cc",
142 "session_info.h",
143 ]
Rasmus Brandt78e13882023-03-06 10:10:26144}
145
Rasmus Brandt59d09ae2023-04-17 12:02:49146rtc_library("deprecated_stream_generator") {
147 deps = [
148 ":deprecated_packet",
149 "../../../rtc_base:checks",
150 ]
151 sources = [
152 "stream_generator.cc",
153 "stream_generator.h",
154 ]
155}
156
Rasmus Brandt78e13882023-03-06 10:10:26157rtc_library("deprecated_unittests") {
158 testonly = true
Rasmus Brandtbc3a41e2023-03-09 12:12:29159 sources = [
160 "decoding_state_unittest.cc",
Rasmus Brandt59d09ae2023-04-17 12:02:49161 "jitter_buffer_unittest.cc",
Rasmus Brandt9dfb5312023-05-03 09:08:11162 "receiver_unittest.cc",
Rasmus Brandtbc3a41e2023-03-09 12:12:29163 "session_info_unittest.cc",
164 ]
Rasmus Brandt78e13882023-03-06 10:10:26165 visibility += [ "../../../modules/*" ]
166 deps = [
Rasmus Brandtbc3a41e2023-03-09 12:12:29167 ":deprecated_decoding_state",
168 ":deprecated_frame_buffer",
Rasmus Brandt59d09ae2023-04-17 12:02:49169 ":deprecated_jitter_buffer",
Rasmus Brandt9dfb5312023-05-03 09:08:11170 ":deprecated_jitter_buffer_common",
Rasmus Brandt78e13882023-03-06 10:10:26171 ":deprecated_packet",
Rasmus Brandt9dfb5312023-05-03 09:08:11172 ":deprecated_receiver",
Rasmus Brandt78e13882023-03-06 10:10:26173 ":deprecated_session_info",
Rasmus Brandt59d09ae2023-04-17 12:02:49174 ":deprecated_stream_generator",
175 "../../../common_video",
Rasmus Brandtbc3a41e2023-03-09 12:12:29176 "../../../modules/rtp_rtcp:rtp_video_header",
177 "../../../modules/video_coding:codec_globals_headers",
Rasmus Brandt9dfb5312023-05-03 09:08:11178 "../../../modules/video_coding:encoded_frame",
179 "../../../modules/video_coding/timing:timing_module",
180 "../../../rtc_base:checks",
Rasmus Brandt59d09ae2023-04-17 12:02:49181 "../../../system_wrappers",
182 "../../../test:scoped_key_value_config",
Rasmus Brandt78e13882023-03-06 10:10:26183 "../../../test:test_support",
Florent Castelli99c519b2024-05-23 11:21:53184 "//third_party/abseil-cpp/absl/memory",
Rasmus Brandt78e13882023-03-06 10:10:26185 ]
186}