blob: 178ac77fd5470ad698e73ba7c554dc17165ede55 [file] [log] [blame]
kjellander@webrtc.org1227ab82014-06-23 19:21:071# Copyright (c) 2014 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
mbonadei9aa3f0a2017-01-24 14:58:229import("../webrtc.gni")
kjellander@webrtc.org1227ab82014-06-23 19:21:0710
Mirko Bonadei86d053c2019-10-17 19:32:0411rtc_library("video") {
kjellander@webrtc.org788f0582014-08-28 13:51:0812 sources = [
Benjamin Wright00765292018-12-01 00:18:2613 "buffered_frame_decryptor.cc",
14 "buffered_frame_decryptor.h",
Tommi822a8742020-05-10 22:42:3015 "call_stats2.cc",
16 "call_stats2.h",
Elad Alon14d1c9d2019-04-08 12:16:1717 "encoder_rtcp_feedback.cc",
18 "encoder_rtcp_feedback.h",
Henrik Boströmce33b6a2019-05-28 15:42:3819 "quality_limitation_reason_tracker.cc",
20 "quality_limitation_reason_tracker.h",
palmkvist349092b2016-12-13 10:45:5721 "quality_threshold.cc",
22 "quality_threshold.h",
Tommi74fc5742020-04-27 08:43:0623 "receive_statistics_proxy2.cc",
24 "receive_statistics_proxy2.h",
Peter Boström7623ce42015-12-09 11:13:3025 "report_block_stats.cc",
26 "report_block_stats.h",
Tommiad84d022020-05-10 17:03:4327 "rtp_streams_synchronizer2.cc",
28 "rtp_streams_synchronizer2.h",
Tommid3807da2020-05-22 15:36:3629 "rtp_video_stream_receiver2.cc",
30 "rtp_video_stream_receiver2.h",
Marina Ciocea78964c12020-03-10 20:31:5231 "rtp_video_stream_receiver_frame_transformer_delegate.cc",
32 "rtp_video_stream_receiver_frame_transformer_delegate.h",
asapersson35151f32016-05-03 06:44:0133 "send_delay_stats.cc",
34 "send_delay_stats.h",
kjellander@webrtc.org788f0582014-08-28 13:51:0835 "send_statistics_proxy.cc",
36 "send_statistics_proxy.h",
asapersson0e9d6d92016-05-23 13:07:5537 "stats_counter.cc",
38 "stats_counter.h",
Peter Boström7623ce42015-12-09 11:13:3039 "stream_synchronization.cc",
40 "stream_synchronization.h",
charujainbf6a45b2016-11-03 11:21:4241 "transport_adapter.cc",
42 "transport_adapter.h",
Tommi74fc5742020-04-27 08:43:0643 "video_quality_observer2.cc",
44 "video_quality_observer2.h",
Tommi74fc5742020-04-27 08:43:0645 "video_receive_stream2.cc",
46 "video_receive_stream2.h",
kjellander@webrtc.org788f0582014-08-28 13:51:0847 "video_send_stream.cc",
48 "video_send_stream.h",
Sebastian Jansson8e0b15b2018-04-18 17:19:2249 "video_send_stream_impl.cc",
50 "video_send_stream_impl.h",
Tommi74fc5742020-04-27 08:43:0651 "video_stream_decoder2.cc",
52 "video_stream_decoder2.h",
kjellander@webrtc.org788f0582014-08-28 13:51:0853 ]
54
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:2255 deps = [
Evan Shrubsole9d290262021-12-15 13:33:4056 ":frame_buffer_proxy",
Markus Handellb4e96d42021-11-05 11:00:5557 ":frame_cadence_adapter",
Evan Shrubsole9a999052021-12-12 14:27:0058 ":frame_decode_scheduler",
Erik Språng96965ae2018-10-23 13:42:3759 ":frame_dumping_decoder",
Rasmus Brandtfbf66dd2022-05-23 07:53:3260 ":unique_timestamp_counter",
Evan Shrubsole9a999052021-12-12 14:27:0061 ":video_receive_stream_timeout_tracker",
Per Kjellanderb03b6c82021-01-03 09:26:0362 ":video_stream_encoder_impl",
Yves Gerey3e707812018-11-28 15:47:4963 "../api:array_view",
Ying Wang3b790f32018-01-19 16:58:5764 "../api:fec_controller_api",
Jonas Orelande62c2f22022-03-29 09:04:4865 "../api:field_trials_view",
Marina Ciocea412a31b2020-02-28 15:02:0666 "../api:frame_transformer_interface",
Patrik Höglundbe214a22018-01-04 11:14:3567 "../api:libjingle_peerconnection_api",
Niels Möller6dcd4dc2019-08-26 08:45:2868 "../api:rtp_parameters",
Mirko Bonadeid9708072019-01-25 19:26:4869 "../api:scoped_refptr",
Artem Titovd15a5752021-02-10 13:31:2470 "../api:sequence_checker",
aleloia8eb7562016-11-28 15:02:1371 "../api:transport_api",
Mirko Bonadeieaaaf412019-09-13 12:42:1572 "../api/crypto:frame_decryptor_interface",
73 "../api/crypto:options",
Danil Chapovalov83bbe912019-08-07 10:24:5374 "../api/rtc_event_log",
Sebastian Jansson74682c12019-03-01 10:50:2075 "../api/task_queue",
Evan Shrubsoled425f502022-04-28 08:18:1276 "../api/units:frequency",
Tommi28e96532021-06-03 09:52:1577 "../api/units:time_delta",
Tommid7e08c82020-05-10 09:24:4378 "../api/units:timestamp",
Yves Gerey3e707812018-11-28 15:47:4979 "../api/video:encoded_image",
philipel8615bf02022-05-05 13:12:1380 "../api/video:frame_buffer",
Markus Handell269ac812019-12-03 13:31:4581 "../api/video:recordable_encoded_frame",
Yves Gerey3e707812018-11-28 15:47:4982 "../api/video:video_bitrate_allocation",
Jiawei Ou4206a0a2018-07-20 22:49:4383 "../api/video:video_bitrate_allocator",
Evan Shrubsolecc62b162019-09-09 09:26:4584 "../api/video:video_codec_constants",
Niels Möllerc6ce9c52018-05-11 09:15:3085 "../api/video:video_frame",
Chen Xing5d24b162019-06-10 10:59:3886 "../api/video:video_rtp_headers",
Niels Möller0327c2d2018-05-21 12:09:3187 "../api/video:video_stream_encoder",
ilnikd60d06a2017-04-05 10:02:2088 "../api/video_codecs:video_codecs_api",
Mirko Bonadei245660a2017-10-10 12:38:1189 "../call:bitrate_allocator",
mbonadei9087d492017-04-25 07:35:3590 "../call:call_interfaces",
nissed76b7b22017-06-01 11:02:3591 "../call:rtp_interfaces",
Danil Chapovalov1aa75812019-03-05 10:11:3592 "../call:rtp_receiver", # For RtxReceiveStream.
Stefan Holmera2f15332018-07-11 15:11:3193 "../call:rtp_sender",
aleloi440b6d92017-08-22 12:43:2394 "../call:video_stream_api",
Danil Chapovalov1aa75812019-03-05 10:11:3595 "../common_video",
Danil Chapovalov1aa75812019-03-05 10:11:3596 "../modules:module_api",
Yves Gerey3e707812018-11-28 15:47:4997 "../modules:module_api_public",
Danil Chapovalov1aa75812019-03-05 10:11:3598 "../modules/pacing",
99 "../modules/remote_bitrate_estimator",
100 "../modules/rtp_rtcp",
Mirko Bonadeib5728d92017-12-06 06:51:33101 "../modules/rtp_rtcp:rtp_rtcp_format",
philipel1a4746a2018-07-09 13:52:29102 "../modules/rtp_rtcp:rtp_video_header",
Danil Chapovalov1aa75812019-03-05 10:11:35103 "../modules/video_coding",
Sergey Silkin86684962018-03-28 17:32:37104 "../modules/video_coding:codec_globals_headers",
Evan Shrubsole9a999052021-12-12 14:27:00105 "../modules/video_coding:frame_helpers",
Markus Handell06a2bf02021-07-22 13:09:39106 "../modules/video_coding:nack_requester",
philipel10dc1a62021-09-15 08:45:43107 "../modules/video_coding:packet_buffer",
Evan Shrubsole9a999052021-12-12 14:27:00108 "../modules/video_coding:timing",
Patrik Höglund99175c62018-01-08 10:05:10109 "../modules/video_coding:video_codec_interface",
Danil Chapovalov1aa75812019-03-05 10:11:35110 "../modules/video_coding:video_coding_utility",
Rasmus Brandt23772262022-05-23 07:53:15111 "../modules/video_coding/timing:inter_frame_delay",
Danil Chapovalov1aa75812019-03-05 10:11:35112 "../modules/video_processing",
Florent Castellibddfe022022-04-04 13:03:10113 "../rtc_base:atomicops",
Patrik Höglunda8005cf2017-12-13 15:05:42114 "../rtc_base:checks",
Florent Castellia30aef32022-04-19 15:47:13115 "../rtc_base:event_tracer",
Florent Castelli3629a5f2022-04-14 11:50:13116 "../rtc_base:histogram_percentile_counter",
Florent Castelliaa6d05d2022-04-14 11:13:56117 "../rtc_base:location",
Florent Castelli0af55ba2022-04-04 13:06:30118 "../rtc_base:logging",
Florent Castelli4467ad72022-04-04 13:18:46119 "../rtc_base:macromagic",
Florent Castelli31764092022-04-14 11:41:58120 "../rtc_base:mod_ops",
Florent Castelli83a36d42022-04-14 11:44:39121 "../rtc_base:moving_max_counter",
Florent Castelli45a05992022-04-14 10:18:28122 "../rtc_base:platform_thread",
Stefan Holmerdbdb3a02018-07-17 14:03:46123 "../rtc_base:rate_limiter",
Florent Castelli6bb1fd32022-04-19 13:58:39124 "../rtc_base:rate_statistics",
Florent Castelli58cc4682022-04-19 13:50:28125 "../rtc_base:rate_tracker",
Marina Ciocea78964c12020-03-10 20:31:52126 "../rtc_base:rtc_base",
Florent Castelli33d31fb2022-04-04 14:57:52127 "../rtc_base:rtc_event",
Danil Chapovalov1aa75812019-03-05 10:11:35128 "../rtc_base:rtc_numerics",
129 "../rtc_base:rtc_task_queue",
Florent Castellie10a9f62022-04-04 15:04:37130 "../rtc_base:safe_conversions",
Florent Castelli17296422022-04-14 11:48:10131 "../rtc_base:sample_counter",
Tommifef05002018-02-27 12:51:08132 "../rtc_base:stringutils",
Mirko Bonadeie5f4c6b2021-01-15 09:41:01133 "../rtc_base:threading",
Florent Castellidd837e22022-04-04 15:16:15134 "../rtc_base:timeutils",
Danil Chapovalov1aa75812019-03-05 10:11:35135 "../rtc_base:weak_ptr",
Sebastian Janssoncabe3832018-01-12 09:54:18136 "../rtc_base/experiments:alr_experiment",
Jonas Olsson0182a032019-07-09 10:31:20137 "../rtc_base/experiments:field_trial_parser",
Rasmus Brandt3dde4502019-03-21 10:46:17138 "../rtc_base/experiments:keyframe_interval_settings_experiment",
Elad Alon80f53b72019-10-11 14:19:43139 "../rtc_base/experiments:min_video_bitrate_experiment",
Åsa Perssona945aee2018-04-24 14:53:25140 "../rtc_base/experiments:quality_scaling_experiment",
Erik Språngcd76eab2019-01-21 17:06:46141 "../rtc_base/experiments:rate_control_settings",
Evan Shrubsole9a999052021-12-12 14:27:00142 "../rtc_base/experiments:rtt_mult_experiment",
Markus Handella3765182020-07-08 11:13:32143 "../rtc_base/synchronization:mutex",
Mirko Bonadei20e4c802020-11-23 10:07:42144 "../rtc_base/system:no_unique_address",
Tommi3c9bcc12020-04-15 14:45:47145 "../rtc_base/task_utils:pending_task_safety_flag",
Sebastian Janssonecb68972019-01-18 09:30:54146 "../rtc_base/task_utils:repeating_task",
Danil Chapovalov1aa75812019-03-05 10:11:35147 "../rtc_base/task_utils:to_queued_task",
148 "../rtc_base/time:timestamp_extrapolator",
149 "../system_wrappers",
Mirko Bonadei17f48782018-09-28 06:51:10150 "../system_wrappers:field_trial",
151 "../system_wrappers:metrics",
Per Kjellanderb03b6c82021-01-03 09:26:03152 "./adaptation:video_adaptation",
Mirko Bonadei2dcf3482020-06-05 12:30:41153 ]
154 absl_deps = [
Steve Antonbd631a02019-03-28 17:51:27155 "//third_party/abseil-cpp/absl/algorithm:container",
Danil Chapovalov64f1f3f2020-01-16 13:41:10156 "//third_party/abseil-cpp/absl/base:core_headers",
Evan Shrubsole9a999052021-12-12 14:27:00157 "//third_party/abseil-cpp/absl/container:inlined_vector",
158 "//third_party/abseil-cpp/absl/functional:bind_front",
Karl Wiberg918f50c2018-07-05 09:40:33159 "//third_party/abseil-cpp/absl/memory",
Mirko Bonadei06d35592020-04-01 11:43:08160 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalovb9b146c2018-06-15 10:28:07161 "//third_party/abseil-cpp/absl/types:optional",
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22162 ]
Dan Minor9c686132018-01-15 15:20:00163
164 if (!build_with_mozilla) {
165 deps += [ "../media:rtc_media_base" ]
166 }
kjellander@webrtc.org1227ab82014-06-23 19:21:07167}
Peter Boström02083222016-06-14 10:52:54168
Niels Möllerd73426d62020-12-16 14:57:49169rtc_source_set("video_legacy") {
Niels Möller3e9cb2c2021-01-14 11:00:57170 sources = [
171 "call_stats.cc",
172 "call_stats.h",
173 "receive_statistics_proxy.cc",
174 "receive_statistics_proxy.h",
Niels Möller3e9cb2c2021-01-14 11:00:57175 "rtp_video_stream_receiver.cc",
176 "rtp_video_stream_receiver.h",
177 "video_quality_observer.cc",
178 "video_quality_observer.h",
Niels Möller3e9cb2c2021-01-14 11:00:57179 ]
180 deps = [
181 ":frame_dumping_decoder",
Rasmus Brandtfbf66dd2022-05-23 07:53:32182 ":unique_timestamp_counter",
Niels Möller3e9cb2c2021-01-14 11:00:57183 ":video",
184 "../api:array_view",
Jonas Orelande62c2f22022-03-29 09:04:48185 "../api:field_trials_view",
Niels Möller3e9cb2c2021-01-14 11:00:57186 "../api:scoped_refptr",
Artem Titovd15a5752021-02-10 13:31:24187 "../api:sequence_checker",
Niels Möller3e9cb2c2021-01-14 11:00:57188 "../api/crypto:frame_decryptor_interface",
189 "../api/task_queue",
Jonas Oreland8ca06132022-03-14 11:52:48190 "../api/transport:field_trial_based_config",
philipelce423ce2021-04-12 11:42:03191 "../api/units:timestamp",
Niels Möller3e9cb2c2021-01-14 11:00:57192 "../api/video:encoded_image",
193 "../api/video:recordable_encoded_frame",
194 "../api/video:video_frame",
195 "../api/video:video_rtp_headers",
Niels Möller3e9cb2c2021-01-14 11:00:57196 "../call:call_interfaces",
197 "../call:rtp_interfaces",
198 "../call:rtp_receiver", # For RtxReceiveStream.
199 "../call:video_stream_api",
200 "../common_video",
Niels Möller3e9cb2c2021-01-14 11:00:57201 "../modules:module_api",
202 "../modules/pacing",
203 "../modules/remote_bitrate_estimator",
204 "../modules/rtp_rtcp",
205 "../modules/rtp_rtcp:rtp_rtcp_format",
206 "../modules/rtp_rtcp:rtp_rtcp_legacy",
207 "../modules/rtp_rtcp:rtp_video_header",
208 "../modules/utility",
209 "../modules/video_coding",
philipel10dc1a62021-09-15 08:45:43210 "../modules/video_coding:packet_buffer",
Niels Möller3e9cb2c2021-01-14 11:00:57211 "../modules/video_coding:video_codec_interface",
212 "../modules/video_coding:video_coding_utility",
213 "../modules/video_coding/deprecated:nack_module",
214 "../rtc_base:checks",
Florent Castelli3629a5f2022-04-14 11:50:13215 "../rtc_base:histogram_percentile_counter",
Florent Castelliaa6d05d2022-04-14 11:13:56216 "../rtc_base:location",
Florent Castelli0af55ba2022-04-04 13:06:30217 "../rtc_base:logging",
Florent Castelli4467ad72022-04-04 13:18:46218 "../rtc_base:macromagic",
Florent Castelli83a36d42022-04-14 11:44:39219 "../rtc_base:moving_max_counter",
Florent Castelli45a05992022-04-14 10:18:28220 "../rtc_base:platform_thread",
Florent Castelli6bb1fd32022-04-19 13:58:39221 "../rtc_base:rate_statistics",
Florent Castelli58cc4682022-04-19 13:50:28222 "../rtc_base:rate_tracker",
Niels Möller3e9cb2c2021-01-14 11:00:57223 "../rtc_base:rtc_numerics",
224 "../rtc_base:rtc_task_queue",
Florent Castelli17296422022-04-14 11:48:10225 "../rtc_base:sample_counter",
Florent Castelli57aa81b2022-04-04 15:14:02226 "../rtc_base:stringutils",
Florent Castellidd837e22022-04-04 15:16:15227 "../rtc_base:timeutils",
Niels Möller3e9cb2c2021-01-14 11:00:57228 "../rtc_base/experiments:field_trial_parser",
229 "../rtc_base/experiments:keyframe_interval_settings_experiment",
230 "../rtc_base/synchronization:mutex",
231 "../rtc_base/system:no_unique_address",
Niels Möller3e9cb2c2021-01-14 11:00:57232 "../rtc_base/task_utils:to_queued_task",
233 "../system_wrappers",
234 "../system_wrappers:field_trial",
235 "../system_wrappers:metrics",
236 ]
237 if (!build_with_mozilla) {
238 deps += [ "../media:rtc_media_base" ]
239 }
240 absl_deps = [
241 "//third_party/abseil-cpp/absl/algorithm:container",
242 "//third_party/abseil-cpp/absl/types:optional",
243 ]
Niels Möllerd73426d62020-12-16 14:57:49244}
245
Mirko Bonadei86d053c2019-10-17 19:32:04246rtc_library("video_stream_decoder_impl") {
philipel2fee4d62018-03-21 15:52:13247 visibility = [ "*" ]
Anders Carlsson51e23ae2018-05-24 11:31:30248
philipel2fee4d62018-03-21 15:52:13249 sources = [
250 "video_stream_decoder_impl.cc",
251 "video_stream_decoder_impl.h",
252 ]
253
254 deps = [
Jonas Orelande62c2f22022-03-29 09:04:48255 "../api:field_trials_view",
Artem Titovd15a5752021-02-10 13:31:24256 "../api:sequence_checker",
Danil Chapovalov471783f2019-03-11 13:26:02257 "../api/task_queue",
Jonas Orelande02f9ee2022-03-25 11:43:14258 "../api/transport:field_trial_based_config",
Niels Möllerc6ce9c52018-05-11 09:15:30259 "../api/video:encoded_frame",
260 "../api/video:video_frame",
Chen Xing5d24b162019-06-10 10:59:38261 "../api/video:video_rtp_headers",
Niels Möllerc6ce9c52018-05-11 09:15:30262 "../api/video:video_stream_decoder",
philipel2fee4d62018-03-21 15:52:13263 "../api/video_codecs:video_codecs_api",
Artem Titov94b57c02019-03-21 12:35:10264 "../modules/video_coding",
Evan Shrubsole9a999052021-12-12 14:27:00265 "../modules/video_coding:timing",
Florent Castelli0af55ba2022-04-04 13:06:30266 "../rtc_base:logging",
Florent Castelli31764092022-04-14 11:41:58267 "../rtc_base:mod_ops",
Florent Castelli45a05992022-04-14 10:18:28268 "../rtc_base:platform_thread",
Danil Chapovalov07a4f2b2019-03-05 18:58:28269 "../rtc_base:rtc_task_queue",
Florent Castellidd837e22022-04-04 15:16:15270 "../rtc_base:timeutils",
Jonas Orelande02f9ee2022-03-25 11:43:14271 "../rtc_base/memory:always_valid_pointer",
Markus Handell265931e2020-07-10 10:23:48272 "../rtc_base/synchronization:mutex",
Artem Titov94b57c02019-03-21 12:35:10273 "../system_wrappers",
philipel2fee4d62018-03-21 15:52:13274 ]
Mirko Bonadei2dcf3482020-06-05 12:30:41275 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
philipel2fee4d62018-03-21 15:52:13276}
277
Mirko Bonadei86d053c2019-10-17 19:32:04278rtc_library("frame_dumping_decoder") {
Erik Språng96965ae2018-10-23 13:42:37279 visibility = [ "*" ]
280
281 sources = [
282 "frame_dumping_decoder.cc",
283 "frame_dumping_decoder.h",
284 ]
285
286 deps = [
287 "../api/video:encoded_frame",
Yves Gerey3e707812018-11-28 15:47:49288 "../api/video:encoded_image",
Erik Språng96965ae2018-10-23 13:42:37289 "../api/video_codecs:video_codecs_api",
Artem Titov94b57c02019-03-21 12:35:10290 "../modules/video_coding",
Erik Språng96965ae2018-10-23 13:42:37291 "../modules/video_coding:video_codec_interface",
Erik Språng96965ae2018-10-23 13:42:37292 "../modules/video_coding:video_coding_utility",
Markus Handell1c2f6372019-08-20 18:21:37293 "../rtc_base/system:file_wrapper",
Erik Språng96965ae2018-10-23 13:42:37294 ]
295}
296
Markus Handellb4e96d42021-11-05 11:00:55297rtc_library("frame_cadence_adapter") {
298 visibility = [ "*" ]
299 sources = [
300 "frame_cadence_adapter.cc",
301 "frame_cadence_adapter.h",
302 ]
303
304 deps = [
Jonas Orelande62c2f22022-03-29 09:04:48305 "../api:field_trials_view",
Markus Handellb4e96d42021-11-05 11:00:55306 "../api:sequence_checker",
Markus Handell28c71802021-11-08 09:11:55307 "../api/task_queue",
Markus Handell29dd8d82021-12-15 11:19:15308 "../api/units:time_delta",
Markus Handell9d04a782022-05-12 16:38:57309 "../api/units:timestamp",
Markus Handellb4e96d42021-11-05 11:00:55310 "../api/video:video_frame",
Markus Handell8d87c462021-12-16 10:37:16311 "../rtc_base:checks",
Markus Handellb4e96d42021-11-05 11:00:55312 "../rtc_base:logging",
313 "../rtc_base:macromagic",
Florent Castellif4db3512022-04-14 11:38:05314 "../rtc_base:race_checker",
Florent Castelli6bb1fd32022-04-19 13:58:39315 "../rtc_base:rate_statistics",
Florent Castellidd837e22022-04-04 15:16:15316 "../rtc_base:timeutils",
Markus Handellb4e96d42021-11-05 11:00:55317 "../rtc_base/synchronization:mutex",
Markus Handellee225432021-11-29 11:35:12318 "../rtc_base/system:no_unique_address",
Markus Handell28c71802021-11-08 09:11:55319 "../rtc_base/task_utils:pending_task_safety_flag",
Markus Handellf7f0b212022-05-24 16:39:39320 "../rtc_base/task_utils:repeating_task",
Markus Handell28c71802021-11-08 09:11:55321 "../rtc_base/task_utils:to_queued_task",
Markus Handell9a478b52021-11-18 15:07:01322 "../system_wrappers",
Markus Handellb4e96d42021-11-05 11:00:55323 "../system_wrappers:field_trial",
324 "../system_wrappers:metrics",
325 ]
Markus Handell2e0f4f02021-12-21 18:14:58326 absl_deps = [
327 "//third_party/abseil-cpp/absl/algorithm:container",
328 "//third_party/abseil-cpp/absl/base:core_headers",
329 ]
Markus Handellb4e96d42021-11-05 11:00:55330}
331
Evan Shrubsole9d290262021-12-15 13:33:40332rtc_library("frame_buffer_proxy") {
333 sources = [
334 "frame_buffer_proxy.cc",
335 "frame_buffer_proxy.h",
336 ]
337 deps = [
Evan Shrubsole6cd6d8e2022-02-11 14:30:26338 ":decode_synchronizer",
Evan Shrubsole9a999052021-12-12 14:27:00339 ":frame_decode_timing",
Evan Shrubsole6cd6d8e2022-02-11 14:30:26340 ":task_queue_frame_decode_scheduler",
Evan Shrubsole9a999052021-12-12 14:27:00341 ":video_receive_stream_timeout_tracker",
Jonas Orelande62c2f22022-03-29 09:04:48342 "../api:field_trials_view",
Evan Shrubsole9a999052021-12-12 14:27:00343 "../api:sequence_checker",
Evan Shrubsole6cd6d8e2022-02-11 14:30:26344 "../api/metronome",
Evan Shrubsole9d290262021-12-15 13:33:40345 "../api/task_queue",
Evan Shrubsole13e42a82022-03-07 12:21:51346 "../api/units:data_size",
Evan Shrubsole9d290262021-12-15 13:33:40347 "../api/video:encoded_frame",
philipel8615bf02022-05-05 13:12:13348 "../api/video:frame_buffer",
Evan Shrubsoled4ff12f2022-03-01 09:16:11349 "../api/video:video_rtp_headers",
Evan Shrubsole9d290262021-12-15 13:33:40350 "../modules/video_coding",
Evan Shrubsole9a999052021-12-12 14:27:00351 "../modules/video_coding:frame_helpers",
352 "../modules/video_coding:timing",
Evan Shrubsole9d290262021-12-15 13:33:40353 "../modules/video_coding:video_codec_interface",
Rasmus Brandt23772262022-05-23 07:53:15354 "../modules/video_coding/timing:inter_frame_delay",
Rasmus Brandt10944e62022-05-25 08:12:42355 "../modules/video_coding/timing:jitter_estimator",
Evan Shrubsole6cd6d8e2022-02-11 14:30:26356 "../rtc_base:checks",
Evan Shrubsole9a999052021-12-12 14:27:00357 "../rtc_base:logging",
358 "../rtc_base:macromagic",
Evan Shrubsole9d290262021-12-15 13:33:40359 "../rtc_base:rtc_task_queue",
360 "../system_wrappers",
Evan Shrubsole9a999052021-12-12 14:27:00361 "../system_wrappers:field_trial",
362 ]
363 absl_deps = [
364 "//third_party/abseil-cpp/absl/functional:bind_front",
365 "//third_party/abseil-cpp/absl/types:optional",
366 ]
367}
368
Evan Shrubsole6cd6d8e2022-02-11 14:30:26369rtc_source_set("frame_decode_scheduler") {
370 sources = [ "frame_decode_scheduler.h" ]
371 deps = [
372 ":frame_decode_timing",
373 "../api/units:timestamp",
374 ]
375 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
376}
377
378rtc_library("task_queue_frame_decode_scheduler") {
Evan Shrubsole9a999052021-12-12 14:27:00379 sources = [
Evan Shrubsole6cd6d8e2022-02-11 14:30:26380 "task_queue_frame_decode_scheduler.cc",
381 "task_queue_frame_decode_scheduler.h",
Evan Shrubsole9a999052021-12-12 14:27:00382 ]
383 deps = [
Evan Shrubsole6cd6d8e2022-02-11 14:30:26384 ":frame_decode_scheduler",
Evan Shrubsole9a999052021-12-12 14:27:00385 ":frame_decode_timing",
386 "../api:sequence_checker",
387 "../api/task_queue",
388 "../api/units:timestamp",
Evan Shrubsole6cd6d8e2022-02-11 14:30:26389 "../rtc_base:checks",
Evan Shrubsole9a999052021-12-12 14:27:00390 "../rtc_base/task_utils:pending_task_safety_flag",
391 "../rtc_base/task_utils:to_queued_task",
392 "../system_wrappers",
Evan Shrubsole9d290262021-12-15 13:33:40393 ]
394 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
395}
396
Evan Shrubsole9a999052021-12-12 14:27:00397rtc_library("frame_decode_timing") {
398 sources = [
399 "frame_decode_timing.cc",
400 "frame_decode_timing.h",
401 ]
402 deps = [
403 "../api/task_queue",
Evan Shrubsolef7a19372022-02-14 13:05:10404 "../api/units:time_delta",
Evan Shrubsole9a999052021-12-12 14:27:00405 "../modules/video_coding:timing",
406 "../rtc_base:logging",
407 "../rtc_base/task_utils:pending_task_safety_flag",
408 "../system_wrappers",
409 ]
410 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
411}
412
413rtc_library("video_receive_stream_timeout_tracker") {
414 sources = [
415 "video_receive_stream_timeout_tracker.cc",
416 "video_receive_stream_timeout_tracker.h",
417 ]
418 deps = [
419 "../api/task_queue",
420 "../api/units:time_delta",
421 "../rtc_base/task_utils:repeating_task",
422 "../system_wrappers",
423 ]
424}
425
Evan Shrubsole6cd6d8e2022-02-11 14:30:26426rtc_library("decode_synchronizer") {
427 sources = [
428 "decode_synchronizer.cc",
429 "decode_synchronizer.h",
430 ]
431 deps = [
432 ":frame_decode_scheduler",
433 ":frame_decode_timing",
434 "../api:sequence_checker",
435 "../api/metronome",
436 "../api/task_queue",
437 "../api/units:time_delta",
438 "../api/units:timestamp",
439 "../rtc_base:checks",
440 "../rtc_base:logging",
441 "../rtc_base:macromagic",
442 ]
443 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
444}
445
Mirko Bonadei86d053c2019-10-17 19:32:04446rtc_library("video_stream_encoder_impl") {
Niels Möller213618e2018-07-24 07:29:58447 visibility = [ "*" ]
448
449 # visibility = [ "../api/video:video_stream_encoder_create" ]
Niels Möller213618e2018-07-24 07:29:58450 sources = [
Åsa Perssonc5a74ff2020-09-20 15:50:00451 "alignment_adjuster.cc",
452 "alignment_adjuster.h",
Erik Språng7ca375c2019-02-06 15:20:17453 "encoder_bitrate_adjuster.cc",
454 "encoder_bitrate_adjuster.h",
455 "encoder_overshoot_detector.cc",
456 "encoder_overshoot_detector.h",
Ilya Nikolaevskiy2ebf5232019-05-13 14:13:36457 "frame_encode_metadata_writer.cc",
458 "frame_encode_metadata_writer.h",
Henrik Boströmce0ea492020-01-13 10:27:18459 "video_source_sink_controller.cc",
460 "video_source_sink_controller.h",
Niels Möller213618e2018-07-24 07:29:58461 "video_stream_encoder.cc",
462 "video_stream_encoder.h",
463 ]
464
Niels Möller213618e2018-07-24 07:29:58465 deps = [
Markus Handellb4e96d42021-11-05 11:00:55466 ":frame_cadence_adapter",
Jonas Orelande62c2f22022-03-29 09:04:48467 "../api:field_trials_view",
Henrik Boströmb08882b2020-01-07 09:11:17468 "../api:rtp_parameters",
Artem Titovd15a5752021-02-10 13:31:24469 "../api:sequence_checker",
Henrik Boströme2e8c172020-06-03 07:24:06470 "../api/adaptation:resource_adaptation_api",
Henrik Boström07b17df2020-01-15 10:42:12471 "../api/task_queue:task_queue",
Erik Språng7ca375c2019-02-06 15:20:17472 "../api/units:data_rate",
Niels Möller4dc66c52018-10-05 12:17:58473 "../api/video:encoded_image",
philipel6daa3042022-04-11 08:48:28474 "../api/video:render_resolution",
Evan Shrubsolece0a11d2020-04-16 09:36:55475 "../api/video:video_adaptation",
Erik Språng7ca375c2019-02-06 15:20:17476 "../api/video:video_bitrate_allocation",
Niels Möller213618e2018-07-24 07:29:58477 "../api/video:video_bitrate_allocator",
Jiawei Ouc2ebe212018-11-08 18:02:56478 "../api/video:video_bitrate_allocator_factory",
Evan Shrubsolecc62b162019-09-09 09:26:45479 "../api/video:video_codec_constants",
Niels Möller213618e2018-07-24 07:29:58480 "../api/video:video_frame",
Per Kjellandera9434842020-10-15 15:53:22481 "../api/video:video_layers_allocation",
Chen Xing5d24b162019-06-10 10:59:38482 "../api/video:video_rtp_headers",
Niels Möller213618e2018-07-24 07:29:58483 "../api/video:video_stream_encoder",
484 "../api/video_codecs:video_codecs_api",
Henrik Boström382cc6d2020-01-07 09:15:04485 "../call/adaptation:resource_adaptation",
Artem Titov94b57c02019-03-21 12:35:10486 "../common_video",
Erik Språng6a7baa72019-02-26 17:31:00487 "../modules:module_api_public",
Niels Möller213618e2018-07-24 07:29:58488 "../modules/video_coding",
Erik Språng6a7baa72019-02-26 17:31:00489 "../modules/video_coding:video_codec_interface",
Niels Möller213618e2018-07-24 07:29:58490 "../modules/video_coding:video_coding_utility",
Sergey Silkin8b9b5f92018-12-10 08:28:53491 "../modules/video_coding:webrtc_vp9_helpers",
Zhaoliang Ma528e4892021-11-12 05:05:07492 "../modules/video_coding/svc:scalability_structures",
Danil Chapovalov5219c6f2021-07-27 10:48:50493 "../modules/video_coding/svc:svc_rate_allocator",
Niels Möller213618e2018-07-24 07:29:58494 "../rtc_base:checks",
495 "../rtc_base:criticalsection",
Florent Castellia30aef32022-04-19 15:47:13496 "../rtc_base:event_tracer",
Florent Castelliaa6d05d2022-04-14 11:13:56497 "../rtc_base:location",
Niels Möller213618e2018-07-24 07:29:58498 "../rtc_base:logging",
Florent Castelli4467ad72022-04-04 13:18:46499 "../rtc_base:macromagic",
Florent Castellif4db3512022-04-14 11:38:05500 "../rtc_base:race_checker",
Florent Castelli6bb1fd32022-04-19 13:58:39501 "../rtc_base:rate_statistics",
Florent Castellif86f6f92022-04-05 00:54:12502 "../rtc_base:refcount",
Niels Möller213618e2018-07-24 07:29:58503 "../rtc_base:rtc_event",
504 "../rtc_base:rtc_numerics",
505 "../rtc_base:rtc_task_queue",
Florent Castellie10a9f62022-04-04 15:04:37506 "../rtc_base:safe_conversions",
Florent Castelli57aa81b2022-04-04 15:14:02507 "../rtc_base:stringutils",
Niels Möller213618e2018-07-24 07:29:58508 "../rtc_base:timeutils",
Erik Språng6a7baa72019-02-26 17:31:00509 "../rtc_base/experiments:alr_experiment",
Åsa Perssonf3d828e2019-05-06 10:22:49510 "../rtc_base/experiments:balanced_degradation_settings",
Åsa Persson258e9892021-02-25 09:39:51511 "../rtc_base/experiments:encoder_info_settings",
Niels Möllereea92882019-04-25 06:44:04512 "../rtc_base/experiments:field_trial_parser",
Åsa Perssone644a032019-11-08 14:56:00513 "../rtc_base/experiments:quality_rampup_experiment",
Åsa Persson139f4dc2019-08-02 07:29:58514 "../rtc_base/experiments:quality_scaler_settings",
Niels Möller213618e2018-07-24 07:29:58515 "../rtc_base/experiments:quality_scaling_experiment",
Erik Språng7ca375c2019-02-06 15:20:17516 "../rtc_base/experiments:rate_control_settings",
Markus Handella3765182020-07-08 11:13:32517 "../rtc_base/synchronization:mutex",
Mirko Bonadei20e4c802020-11-23 10:07:42518 "../rtc_base/system:no_unique_address",
Tomas Gunnarsson612445e2020-09-21 12:31:23519 "../rtc_base/task_utils:pending_task_safety_flag",
Sebastian Janssonecb68972019-01-18 09:30:54520 "../rtc_base/task_utils:repeating_task",
Markus Handell8935a7e2021-10-19 11:12:36521 "../rtc_base/task_utils:to_queued_task",
Niels Möllerfe407b72019-09-10 08:48:48522 "../system_wrappers",
Mirko Bonadei17f48782018-09-28 06:51:10523 "../system_wrappers:field_trial",
Markus Handell8935a7e2021-10-19 11:12:36524 "../system_wrappers:metrics",
Henrik Boströmefbec9a2020-03-06 09:41:25525 "adaptation:video_adaptation",
Mirko Bonadei2dcf3482020-06-05 12:30:41526 ]
527 absl_deps = [
Steve Antonbd631a02019-03-28 17:51:27528 "//third_party/abseil-cpp/absl/algorithm:container",
Danil Chapovalov64f1f3f2020-01-16 13:41:10529 "//third_party/abseil-cpp/absl/base:core_headers",
Niels Möller213618e2018-07-24 07:29:58530 "//third_party/abseil-cpp/absl/types:optional",
531 ]
532}
533
Rasmus Brandtfbf66dd2022-05-23 07:53:32534rtc_library("unique_timestamp_counter") {
535 sources = [
536 "unique_timestamp_counter.cc",
537 "unique_timestamp_counter.h",
538 ]
539}
540
Peter Boström02083222016-06-14 10:52:54541if (rtc_include_tests) {
Mirko Bonadei86d053c2019-10-17 19:32:04542 rtc_library("video_mocks") {
Sebastian Jansson652dc912018-04-19 15:09:15543 testonly = true
Danil Chapovalov64f1f3f2020-01-16 13:41:10544 sources = [ "test/mock_video_stream_encoder.h" ]
Sebastian Jansson652dc912018-04-19 15:09:15545 deps = [
Niels Möller213618e2018-07-24 07:29:58546 "../api/video:video_stream_encoder",
Sebastian Jansson652dc912018-04-19 15:09:15547 "../test:test_support",
548 ]
549 }
Andrey Logvine7c79fd2021-02-01 09:56:37550 if (!build_with_chromium) {
551 rtc_library("video_quality_test") {
Kári Tristan Helgasonede7cb22019-03-06 09:34:09552 testonly = true
Andrey Logvine7c79fd2021-02-01 09:56:37553
554 # Only targets in this file and api/ can depend on this.
555 visibility = [
556 ":*",
557 "../api:create_video_quality_test_fixture_api",
558 ]
559 sources = [
560 "video_analyzer.cc",
561 "video_analyzer.h",
562 "video_quality_test.cc",
563 "video_quality_test.h",
564 ]
565 deps = [
566 ":frame_dumping_decoder",
567 "../api:create_frame_generator",
568 "../api:fec_controller_api",
569 "../api:frame_generator_api",
570 "../api:libjingle_peerconnection_api",
571 "../api:rtc_event_log_output_file",
572 "../api:test_dependency_factory",
573 "../api:video_quality_test_fixture_api",
574 "../api/numerics",
575 "../api/rtc_event_log:rtc_event_log_factory",
576 "../api/task_queue",
577 "../api/task_queue:default_task_queue_factory",
578 "../api/video:builtin_video_bitrate_allocator_factory",
579 "../api/video:video_bitrate_allocator_factory",
580 "../api/video:video_frame",
581 "../api/video:video_rtp_headers",
582 "../api/video_codecs:video_codecs_api",
583 "../call:fake_network",
584 "../call:simulated_network",
585 "../common_video",
586 "../media:rtc_audio_video",
587 "../media:rtc_encoder_simulcast_proxy",
588 "../media:rtc_internal_video_codecs",
589 "../media:rtc_media_base",
590 "../modules/audio_device:audio_device_api",
591 "../modules/audio_device:audio_device_module_from_input_and_output",
592 "../modules/audio_device:windows_core_audio_utility",
593 "../modules/audio_mixer:audio_mixer_impl",
594 "../modules/rtp_rtcp",
595 "../modules/rtp_rtcp:rtp_rtcp_format",
596 "../modules/video_coding",
597 "../modules/video_coding:video_coding_utility",
598 "../modules/video_coding:webrtc_h264",
599 "../modules/video_coding:webrtc_multiplex",
600 "../modules/video_coding:webrtc_vp8",
601 "../modules/video_coding:webrtc_vp9",
Florent Castelli4467ad72022-04-04 13:18:46602 "../rtc_base:macromagic",
Florent Castelli45a05992022-04-14 10:18:28603 "../rtc_base:platform_thread",
Andrey Logvine7c79fd2021-02-01 09:56:37604 "../rtc_base:rtc_base_tests_utils",
Florent Castelli33d31fb2022-04-04 14:57:52605 "../rtc_base:rtc_event",
Andrey Logvine7c79fd2021-02-01 09:56:37606 "../rtc_base:rtc_numerics",
Florent Castelli57aa81b2022-04-04 15:14:02607 "../rtc_base:stringutils",
Andrey Logvine7c79fd2021-02-01 09:56:37608 "../rtc_base:task_queue_for_test",
Florent Castellidd837e22022-04-04 15:16:15609 "../rtc_base:timeutils",
Andrey Logvine7c79fd2021-02-01 09:56:37610 "../rtc_base/synchronization:mutex",
611 "../rtc_base/task_utils:repeating_task",
612 "../system_wrappers",
613 "../test:fake_video_codecs",
614 "../test:fileutils",
615 "../test:perf_test",
616 "../test:platform_video_capturer",
617 "../test:rtp_test_utils",
618 "../test:test_common",
619 "../test:test_renderer",
620 "../test:test_support",
621 "../test:test_support_test_artifacts",
622 "../test:video_test_common",
623 "../test:video_test_support",
624 ]
625 absl_deps = [
626 "//third_party/abseil-cpp/absl/algorithm:container",
627 "//third_party/abseil-cpp/absl/flags:flag",
628 "//third_party/abseil-cpp/absl/flags:parse",
629 ]
630
631 if (is_mac || is_ios) {
632 deps += [ "../test:video_test_mac" ]
633 }
Florent Castelli15a3c3f2022-04-27 08:33:27634 if (is_win) {
635 deps += [ "../rtc_base/win:scoped_com_initializer" ]
636 }
Kári Tristan Helgasonede7cb22019-03-06 09:34:09637 }
Andrey Logvine7c79fd2021-02-01 09:56:37638
639 rtc_library("video_full_stack_tests") {
Kári Tristan Helgasonede7cb22019-03-06 09:34:09640 testonly = true
Andrey Logvine7c79fd2021-02-01 09:56:37641
642 sources = [ "full_stack_tests.cc" ]
643 deps = [
644 ":video_quality_test",
645 "../api:simulated_network_api",
646 "../api:test_dependency_factory",
647 "../api:video_quality_test_fixture_api",
648 "../api/video_codecs:video_codecs_api",
Andrey Logvine7c79fd2021-02-01 09:56:37649 "../modules/pacing",
650 "../modules/video_coding:webrtc_vp9",
651 "../rtc_base/experiments:alr_experiment",
652 "../system_wrappers:field_trial",
653 "../test:field_trial",
654 "../test:fileutils",
655 "../test:test_common",
656 "../test:test_support",
657 "//testing/gtest",
658 ]
659 absl_deps = [
660 "//third_party/abseil-cpp/absl/flags:flag",
661 "//third_party/abseil-cpp/absl/flags:parse",
662 "//third_party/abseil-cpp/absl/types:optional",
663 ]
Kári Tristan Helgasonede7cb22019-03-06 09:34:09664 }
Kári Tristan Helgasonede7cb22019-03-06 09:34:09665
Andrey Logvine7c79fd2021-02-01 09:56:37666 rtc_library("video_pc_full_stack_tests") {
667 testonly = true
kjellandera3cac052016-10-24 08:52:39668
Andrey Logvine7c79fd2021-02-01 09:56:37669 sources = [ "pc_full_stack_tests.cc" ]
670 deps = [
671 "../api:create_network_emulation_manager",
672 "../api:create_peer_connection_quality_test_frame_generator",
673 "../api:create_peerconnection_quality_test_fixture",
674 "../api:frame_generator_api",
675 "../api:media_stream_interface",
676 "../api:network_emulation_manager_api",
677 "../api:peer_connection_quality_test_fixture_api",
678 "../api:simulated_network_api",
679 "../api:time_controller",
Johannes Kronc3fcee72021-04-19 07:09:26680 "../api/video_codecs:video_codecs_api",
Andrey Logvine7c79fd2021-02-01 09:56:37681 "../call:simulated_network",
Andrey Logvine7c79fd2021-02-01 09:56:37682 "../modules/video_coding:webrtc_vp9",
683 "../system_wrappers:field_trial",
684 "../test:field_trial",
685 "../test:fileutils",
686 "../test:test_support",
687 "../test/pc/e2e:network_quality_metrics_reporter",
688 ]
689 }
kjellandera3cac052016-10-24 08:52:39690
Andrey Logvine7c79fd2021-02-01 09:56:37691 rtc_library("video_loopback_lib") {
692 testonly = true
693 sources = [
694 "video_loopback.cc",
695 "video_loopback.h",
696 ]
697 deps = [
698 ":video_quality_test",
699 "../api:libjingle_peerconnection_api",
700 "../api:simulated_network_api",
701 "../api:video_quality_test_fixture_api",
702 "../api/transport:bitrate_settings",
703 "../api/video_codecs:video_codecs_api",
704 "../rtc_base:checks",
705 "../rtc_base:logging",
706 "../system_wrappers:field_trial",
707 "../test:field_trial",
708 "../test:run_test",
709 "../test:run_test_interface",
710 "../test:test_common",
711 "../test:test_renderer",
712 "../test:test_support",
713 "//testing/gtest",
714 ]
715 absl_deps = [
716 "//third_party/abseil-cpp/absl/flags:flag",
717 "//third_party/abseil-cpp/absl/flags:parse",
718 "//third_party/abseil-cpp/absl/types:optional",
719 ]
720 }
721
722 if (is_mac) {
723 mac_app_bundle("video_loopback") {
724 testonly = true
725 sources = [ "video_loopback_main.mm" ]
726 info_plist = "../test/mac/Info.plist"
727 deps = [ ":video_loopback_lib" ]
728 }
729 } else {
730 rtc_executable("video_loopback") {
731 testonly = true
732 sources = [ "video_loopback_main.cc" ]
733 deps = [ ":video_loopback_lib" ]
734 }
735 }
736
737 rtc_executable("screenshare_loopback") {
738 testonly = true
739 sources = [ "screenshare_loopback.cc" ]
740
741 deps = [
742 ":video_quality_test",
743 "../api:libjingle_peerconnection_api",
744 "../api:simulated_network_api",
745 "../api:video_quality_test_fixture_api",
746 "../api/transport:bitrate_settings",
747 "../api/video_codecs:video_codecs_api",
748 "../rtc_base:checks",
749 "../rtc_base:logging",
750 "../rtc_base:stringutils",
751 "../system_wrappers:field_trial",
752 "../test:field_trial",
753 "../test:run_test",
754 "../test:run_test_interface",
755 "../test:test_common",
756 "../test:test_renderer",
757 "../test:test_support",
758 "//third_party/abseil-cpp/absl/flags:flag",
759 "//third_party/abseil-cpp/absl/flags:parse",
760 "//third_party/abseil-cpp/absl/types:optional",
761 ]
762 }
763
764 rtc_executable("sv_loopback") {
765 testonly = true
766 sources = [ "sv_loopback.cc" ]
767 deps = [
768 ":video_quality_test",
769 "../api:libjingle_peerconnection_api",
770 "../api:simulated_network_api",
771 "../api:video_quality_test_fixture_api",
772 "../api/transport:bitrate_settings",
773 "../api/video_codecs:video_codecs_api",
774 "../rtc_base:checks",
775 "../rtc_base:logging",
776 "../rtc_base:stringutils",
777 "../system_wrappers:field_trial",
778 "../test:field_trial",
779 "../test:run_test",
780 "../test:run_test_interface",
781 "../test:test_common",
782 "../test:test_renderer",
783 "../test:test_support",
784 "//testing/gtest",
785 "//third_party/abseil-cpp/absl/flags:flag",
786 "//third_party/abseil-cpp/absl/flags:parse",
787 "//third_party/abseil-cpp/absl/types:optional",
788 ]
789 }
Ilya Nikolaevskiy255d1cd2017-12-21 17:02:59790 }
791
Peter Boström02083222016-06-14 10:52:54792 # TODO(pbos): Rename test suite.
Mirko Bonadei86d053c2019-10-17 19:32:04793 rtc_library("video_tests") {
Peter Boström02083222016-06-14 10:52:54794 testonly = true
kjellandere0629c02017-04-25 11:04:50795
hta9aa96882016-12-06 13:36:03796 defines = []
Peter Boström02083222016-06-14 10:52:54797 sources = [
Åsa Perssonc5a74ff2020-09-20 15:50:00798 "alignment_adjuster_unittest.cc",
Benjamin Wright00765292018-12-01 00:18:26799 "buffered_frame_decryptor_unittest.cc",
Tommi822a8742020-05-10 22:42:30800 "call_stats2_unittest.cc",
Åsa Perssoncb7eddb2018-11-05 13:11:44801 "cpu_scaling_tests.cc",
Evan Shrubsole6cd6d8e2022-02-11 14:30:26802 "decode_synchronizer_unittest.cc",
Erik Språng7ca375c2019-02-06 15:20:17803 "encoder_bitrate_adjuster_unittest.cc",
Erik Språng7ca375c2019-02-06 15:20:17804 "encoder_overshoot_detector_unittest.cc",
Elad Alon14d1c9d2019-04-08 12:16:17805 "encoder_rtcp_feedback_unittest.cc",
Sebastian Janssonc5017132018-02-02 15:24:16806 "end_to_end_tests/bandwidth_tests.cc",
807 "end_to_end_tests/call_operation_tests.cc",
808 "end_to_end_tests/codec_tests.cc",
809 "end_to_end_tests/config_tests.cc",
810 "end_to_end_tests/extended_reports_tests.cc",
811 "end_to_end_tests/fec_tests.cc",
Benjamin Wright150a9072018-10-26 22:43:06812 "end_to_end_tests/frame_encryption_tests.cc",
Sebastian Janssonc5017132018-02-02 15:24:16813 "end_to_end_tests/histogram_tests.cc",
Åsa Persson96c9fc42018-05-23 10:47:20814 "end_to_end_tests/multi_codec_receive_tests.cc",
Sebastian Janssonc5017132018-02-02 15:24:16815 "end_to_end_tests/multi_stream_tester.cc",
816 "end_to_end_tests/multi_stream_tester.h",
817 "end_to_end_tests/multi_stream_tests.cc",
818 "end_to_end_tests/network_state_tests.cc",
Åsa Persson4a4273b2021-03-05 15:03:37819 "end_to_end_tests/resolution_bitrate_limits_tests.cc",
Sebastian Janssonc5017132018-02-02 15:24:16820 "end_to_end_tests/retransmission_tests.cc",
821 "end_to_end_tests/rtp_rtcp_tests.cc",
822 "end_to_end_tests/ssrc_tests.cc",
823 "end_to_end_tests/stats_tests.cc",
824 "end_to_end_tests/transport_feedback_tests.cc",
Evan Shrubsole9d290262021-12-15 13:33:40825 "frame_buffer_proxy_unittest.cc",
Markus Handellb4e96d42021-11-05 11:00:55826 "frame_cadence_adapter_unittest.cc",
Evan Shrubsole9a999052021-12-12 14:27:00827 "frame_decode_timing_unittest.cc",
Ilya Nikolaevskiy2ebf5232019-05-13 14:13:36828 "frame_encode_metadata_writer_unittest.cc",
Sebastian Janssone92f93f2017-06-22 12:44:04829 "picture_id_tests.cc",
Henrik Boströmce33b6a2019-05-28 15:42:38830 "quality_limitation_reason_tracker_unittest.cc",
Åsa Persson2027b662018-05-02 16:08:06831 "quality_scaling_tests.cc",
palmkvist349092b2016-12-13 10:45:57832 "quality_threshold_unittest.cc",
Tommi74fc5742020-04-27 08:43:06833 "receive_statistics_proxy2_unittest.cc",
Peter Boström02083222016-06-14 10:52:54834 "report_block_stats_unittest.cc",
Tommid3807da2020-05-22 15:36:36835 "rtp_video_stream_receiver2_unittest.cc",
Marina Ciocea78964c12020-03-10 20:31:52836 "rtp_video_stream_receiver_frame_transformer_delegate_unittest.cc",
Peter Boström02083222016-06-14 10:52:54837 "send_delay_stats_unittest.cc",
838 "send_statistics_proxy_unittest.cc",
839 "stats_counter_unittest.cc",
840 "stream_synchronization_unittest.cc",
Evan Shrubsole6cd6d8e2022-02-11 14:30:26841 "task_queue_frame_decode_scheduler_unittest.cc",
Rasmus Brandtfbf66dd2022-05-23 07:53:32842 "unique_timestamp_counter_unittest.cc",
Tommiae4d0972020-05-18 06:45:38843 "video_receive_stream2_unittest.cc",
Evan Shrubsole9a999052021-12-12 14:27:00844 "video_receive_stream_timeout_tracker_unittest.cc",
Sebastian Jansson652dc912018-04-19 15:09:15845 "video_send_stream_impl_unittest.cc",
Peter Boström02083222016-06-14 10:52:54846 "video_send_stream_tests.cc",
Henrik Boströmce0ea492020-01-13 10:27:18847 "video_source_sink_controller_unittest.cc",
philipel539f9b32020-01-09 15:12:25848 "video_stream_decoder_impl_unittest.cc",
mflodmancc3d4422017-08-03 15:27:51849 "video_stream_encoder_unittest.cc",
Peter Boström02083222016-06-14 10:52:54850 ]
851 deps = [
Evan Shrubsole6cd6d8e2022-02-11 14:30:26852 ":decode_synchronizer",
Evan Shrubsole9d290262021-12-15 13:33:40853 ":frame_buffer_proxy",
Markus Handellb4e96d42021-11-05 11:00:55854 ":frame_cadence_adapter",
Evan Shrubsole9a999052021-12-12 14:27:00855 ":frame_decode_scheduler",
856 ":frame_decode_timing",
Evan Shrubsole6cd6d8e2022-02-11 14:30:26857 ":task_queue_frame_decode_scheduler",
Rasmus Brandtfbf66dd2022-05-23 07:53:32858 ":unique_timestamp_counter",
Peter Boström02083222016-06-14 10:52:54859 ":video",
Sebastian Jansson652dc912018-04-19 15:09:15860 ":video_mocks",
Evan Shrubsole9a999052021-12-12 14:27:00861 ":video_receive_stream_timeout_tracker",
philipel539f9b32020-01-09 15:12:25862 ":video_stream_decoder_impl",
Niels Möller213618e2018-07-24 07:29:58863 ":video_stream_encoder_impl",
Artem Titov33f9d2b2019-12-05 14:59:00864 "../api:create_frame_generator",
Benjamin Wright150a9072018-10-26 22:43:06865 "../api:fake_frame_decryptor",
866 "../api:fake_frame_encryptor",
Artem Titov33f9d2b2019-12-05 14:59:00867 "../api:frame_generator_api",
Yves Gerey3e707812018-11-28 15:47:49868 "../api:libjingle_peerconnection_api",
Elad Alon45befc52019-07-02 09:20:09869 "../api:mock_fec_controller_override",
Benjamin Wright00765292018-12-01 00:18:26870 "../api:mock_frame_decryptor",
Henrik Boström56db9ff2021-03-24 08:06:45871 "../api:mock_video_codec_factory",
Danil Chapovalov9cd4d492021-08-03 12:59:00872 "../api:mock_video_decoder",
philipel9b058032020-02-10 10:30:00873 "../api:mock_video_encoder",
Niels Mölleref1052a2019-03-20 07:40:23874 "../api:rtp_headers",
Niels Möller6dcd4dc2019-08-26 08:45:28875 "../api:rtp_parameters",
Mirko Bonadeid9708072019-01-25 19:26:48876 "../api:scoped_refptr",
Artem Titovd15a5752021-02-10 13:31:24877 "../api:sequence_checker",
Artem Titov46c4e602018-08-17 12:26:54878 "../api:simulated_network_api",
Evan Shrubsole44be5792022-04-26 14:24:41879 "../api:time_controller",
Marina Ciocea78964c12020-03-10 20:31:52880 "../api:transport_api",
Henrik Boströme2e8c172020-06-03 07:24:06881 "../api/adaptation:resource_adaptation_api",
Mirko Bonadeieaaaf412019-09-13 12:42:15882 "../api/crypto:options",
Evan Shrubsole6cd6d8e2022-02-11 14:30:26883 "../api/metronome/test:fake_metronome",
Danil Chapovalov83bbe912019-08-07 10:24:53884 "../api/rtc_event_log",
Danil Chapovalov44db4362019-09-30 02:16:28885 "../api/task_queue",
Danil Chapovalov22ed3662019-03-19 18:39:49886 "../api/task_queue:default_task_queue_factory",
Danil Chapovalov99b71df2018-10-26 13:57:48887 "../api/test/video:function_video_factory",
Erik Språng7ca375c2019-02-06 15:20:17888 "../api/units:data_rate",
Evan Shrubsole9a999052021-12-12 14:27:00889 "../api/units:frequency",
Evan Shrubsole9d290262021-12-15 13:33:40890 "../api/units:time_delta",
Henrik Boström23aff9b2019-05-20 13:15:38891 "../api/units:timestamp",
Jiawei Ouc2ebe212018-11-08 18:02:56892 "../api/video:builtin_video_bitrate_allocator_factory",
Niels Möller4dc66c52018-10-05 12:17:58893 "../api/video:encoded_image",
Evan Shrubsole44be5792022-04-26 14:24:41894 "../api/video:recordable_encoded_frame",
Evan Shrubsolece0a11d2020-04-16 09:36:55895 "../api/video:video_adaptation",
Erik Språngf93eda12019-01-16 16:10:57896 "../api/video:video_bitrate_allocation",
Niels Möllerc6ce9c52018-05-11 09:15:30897 "../api/video:video_frame",
Johannes Krond51ec582019-04-15 11:32:41898 "../api/video:video_frame_type",
Chen Xing5d24b162019-06-10 10:59:38899 "../api/video:video_rtp_headers",
Evan Shrubsole44be5792022-04-26 14:24:41900 "../api/video/test:video_frame_matchers",
mbonadei9087d492017-04-25 07:35:35901 "../api/video_codecs:video_codecs_api",
Elad Aloncde8ab22019-03-20 10:56:20902 "../api/video_codecs:vp8_temporal_layers_factory",
mbonadei9087d492017-04-25 07:35:35903 "../call:call_interfaces",
Artem Titovdd2eebe2018-08-20 11:27:45904 "../call:fake_network",
Sebastian Jansson652dc912018-04-19 15:09:15905 "../call:mock_bitrate_allocator",
eladalone2173d92017-07-28 17:05:45906 "../call:mock_rtp_interfaces",
Yves Gerey3e707812018-11-28 15:47:49907 "../call:rtp_interfaces",
nisse0f15f922017-06-21 08:05:22908 "../call:rtp_receiver",
sprangdb2a9fc2017-08-09 13:42:32909 "../call:rtp_sender",
Artem Titovdd2eebe2018-08-20 11:27:45910 "../call:simulated_network",
Yves Gerey3e707812018-11-28 15:47:49911 "../call:simulated_packet_receiver",
aleloi440b6d92017-08-22 12:43:23912 "../call:video_stream_api",
Henrik Boströmce0ea492020-01-13 10:27:18913 "../call/adaptation:resource_adaptation",
Evan Shrubsoleaa6fbc12020-02-25 15:26:01914 "../call/adaptation:resource_adaptation_test_utilities",
mbonadei9087d492017-04-25 07:35:35915 "../common_video",
Johannes Kronf1ab9b92018-12-14 09:14:07916 "../common_video/test:utilities",
Mirko Bonadei75baa492018-01-11 16:07:30917 "../media:rtc_audio_video",
Anders Carlssona114c882018-01-04 14:10:22918 "../media:rtc_internal_video_codecs",
brandtr5e171752017-05-23 10:32:16919 "../media:rtc_media",
magjedceecea42016-11-28 15:20:21920 "../media:rtc_media_base",
mbonadei9087d492017-04-25 07:35:35921 "../media:rtc_media_tests_utils",
Jonathan Yu9a5da492018-10-19 07:51:18922 "../media:rtc_simulcast_encoder_adapter",
Danil Chapovalov7c067772019-10-07 10:56:24923 "../modules:module_api_public",
mbonadei9087d492017-04-25 07:35:35924 "../modules/pacing",
925 "../modules/rtp_rtcp",
kjellandere0629c02017-04-25 11:04:50926 "../modules/rtp_rtcp:mock_rtp_rtcp",
Mirko Bonadeib5728d92017-12-06 06:51:33927 "../modules/rtp_rtcp:rtp_rtcp_format",
mbonadei9087d492017-04-25 07:35:35928 "../modules/video_coding",
Sergey Silkin86684962018-03-28 17:32:37929 "../modules/video_coding:codec_globals_headers",
Markus Handell269ac812019-12-03 13:31:45930 "../modules/video_coding:encoded_frame",
philipel10dc1a62021-09-15 08:45:43931 "../modules/video_coding:packet_buffer",
Evan Shrubsole9a999052021-12-12 14:27:00932 "../modules/video_coding:timing",
Patrik Höglund99175c62018-01-08 10:05:10933 "../modules/video_coding:video_codec_interface",
mbonadei9087d492017-04-25 07:35:35934 "../modules/video_coding:video_coding_utility",
935 "../modules/video_coding:webrtc_h264",
Emircan Uysaleref76e5a2018-02-12 21:36:41936 "../modules/video_coding:webrtc_multiplex",
Sergio Garcia Murillo43800f92018-06-21 14:16:38937 "../modules/video_coding:webrtc_vp8",
mbonadei9087d492017-04-25 07:35:35938 "../modules/video_coding:webrtc_vp9",
Erik Språng7444b192021-06-02 12:02:13939 "../modules/video_coding:webrtc_vp9_helpers",
philipel95701502022-01-18 17:47:52940 "../modules/video_coding/codecs/av1:libaom_av1_encoder_if_supported",
Niels Möller79d566b2022-04-29 09:03:13941 "../modules/video_coding/svc:scalability_mode_util",
Asa Perssoncde992d2022-05-16 20:37:34942 "../modules/video_coding/svc:scalability_structures",
943 "../modules/video_coding/svc:scalable_video_controller",
Elad Alon157540a2019-02-08 22:37:52944 "../rtc_base",
Florent Castelliceb7b362022-04-19 15:35:04945 "../rtc_base:byte_buffer",
Patrik Höglunda8005cf2017-12-13 15:05:42946 "../rtc_base:checks",
Henrik Boström2671dac2020-05-19 14:29:09947 "../rtc_base:gunit_helpers",
Florent Castelliaa6d05d2022-04-14 11:13:56948 "../rtc_base:location",
Florent Castelli0af55ba2022-04-04 13:06:30949 "../rtc_base:logging",
Florent Castelli4467ad72022-04-04 13:18:46950 "../rtc_base:macromagic",
Florent Castelli45a05992022-04-14 10:18:28951 "../rtc_base:platform_thread",
Patrik Höglunda8005cf2017-12-13 15:05:42952 "../rtc_base:rate_limiter",
Florent Castelli6bb1fd32022-04-19 13:58:39953 "../rtc_base:rate_statistics",
Florent Castellif86f6f92022-04-05 00:54:12954 "../rtc_base:refcount",
ehmaldonadof6a861a2017-07-19 17:40:47955 "../rtc_base:rtc_base_tests_utils",
Florent Castelli33d31fb2022-04-04 14:57:52956 "../rtc_base:rtc_event",
Bjorn Tereliusa194e582017-10-25 11:07:09957 "../rtc_base:rtc_numerics",
Tommi38c5d932018-03-27 21:11:09958 "../rtc_base:rtc_task_queue",
Florent Castellie10a9f62022-04-04 15:04:37959 "../rtc_base:safe_conversions",
Florent Castelli57aa81b2022-04-04 15:14:02960 "../rtc_base:stringutils",
Danil Chapovalovd26a9162019-03-19 17:08:37961 "../rtc_base:task_queue_for_test",
Mirko Bonadeie5f4c6b2021-01-15 09:41:01962 "../rtc_base:threading",
Florent Castellidd837e22022-04-04 15:16:15963 "../rtc_base:timeutils",
Evan Shrubsole9a999052021-12-12 14:27:00964 "../rtc_base/containers:flat_map",
Sebastian Janssoncabe3832018-01-12 09:54:18965 "../rtc_base/experiments:alr_experiment",
Åsa Persson258e9892021-02-25 09:39:51966 "../rtc_base/experiments:encoder_info_settings",
Markus Handell9bbff072020-07-07 12:23:18967 "../rtc_base/synchronization:mutex",
Danil Chapovalov1aa75812019-03-05 10:11:35968 "../rtc_base/task_utils:to_queued_task",
mbonadei9087d492017-04-25 07:35:35969 "../system_wrappers",
Mirko Bonadei17f48782018-09-28 06:51:10970 "../system_wrappers:field_trial",
971 "../system_wrappers:metrics",
mbonadei9087d492017-04-25 07:35:35972 "../test:direct_transport",
Danil Chapovalovce928172019-04-24 16:17:42973 "../test:encoder_settings",
Evan Shrubsolea0ee64c2022-04-26 08:09:04974 "../test:fake_encoded_frame",
Ilya Nikolaevskiyb0588e62018-08-27 12:12:27975 "../test:fake_video_codecs",
mbonadei9087d492017-04-25 07:35:35976 "../test:field_trial",
Patrik Höglund7696bef2018-03-15 14:05:39977 "../test:fileutils",
Artem Titov33f9d2b2019-12-05 14:59:00978 "../test:frame_utils",
Marina Ciocea1148fd52020-04-29 20:39:13979 "../test:mock_frame_transformer",
Tim Na9526c552020-02-20 19:53:13980 "../test:mock_transport",
Danil Chapovalovce928172019-04-24 16:17:42981 "../test:null_transport",
Edward Lemure66572b2018-01-05 14:34:09982 "../test:perf_test",
mbonadei9087d492017-04-25 07:35:35983 "../test:rtp_test_utils",
Niels Möller65b2d8a2022-05-19 14:06:23984 "../test:run_loop",
Jonas Orelandc7f691a2022-03-09 14:12:07985 "../test:scoped_key_value_config",
mbonadei9087d492017-04-25 07:35:35986 "../test:test_common",
987 "../test:test_support",
988 "../test:video_test_common",
Markus Handell486cc552019-12-03 13:37:28989 "../test/time_controller",
Henrik Boströmefbec9a2020-03-06 09:41:25990 "adaptation:video_adaptation",
Mirko Bonadei2dcf3482020-06-05 12:30:41991 ]
992 absl_deps = [
Steve Antonbd631a02019-03-28 17:51:27993 "//third_party/abseil-cpp/absl/algorithm:container",
Evan Shrubsole6cd6d8e2022-02-11 14:30:26994 "//third_party/abseil-cpp/absl/functional:bind_front",
Karl Wiberg918f50c2018-07-05 09:40:33995 "//third_party/abseil-cpp/absl/memory",
Danil Chapovalovb9b146c2018-06-15 10:28:07996 "//third_party/abseil-cpp/absl/types:optional",
Evan Shrubsole9a999052021-12-12 14:27:00997 "//third_party/abseil-cpp/absl/types:variant",
Peter Boström02083222016-06-14 10:52:54998 ]
Dan Minor9c686132018-01-15 15:20:00999 if (!build_with_mozilla) {
1000 deps += [ "../media:rtc_media_base" ]
1001 }
Peter Boström02083222016-06-14 10:52:541002 }
Niels Möller679f1cb2021-12-21 14:45:301003 rtc_library("video_legacy_tests") {
1004 testonly = true
1005 sources = [
1006 "call_stats_unittest.cc",
1007 "receive_statistics_proxy_unittest.cc",
1008 "rtp_video_stream_receiver_unittest.cc",
1009 ]
1010 deps = [
1011 ":video_legacy",
1012 "../api:scoped_refptr",
1013 "../api/video:video_frame",
1014 "../api/video:video_frame_type",
1015 "../api/video:video_rtp_headers",
1016 "../call:mock_rtp_interfaces",
1017 "../common_video",
1018 "../media:rtc_media_base",
1019 "../modules/rtp_rtcp",
1020 "../modules/rtp_rtcp:rtp_rtcp_format",
1021 "../modules/utility",
1022 "../modules/video_coding",
1023 "../modules/video_coding:video_codec_interface",
Florent Castelliceb7b362022-04-19 15:35:041024 "../rtc_base:byte_buffer",
Florent Castelliaa6d05d2022-04-14 11:13:561025 "../rtc_base:location",
Florent Castelli0af55ba2022-04-04 13:06:301026 "../rtc_base:logging",
Florent Castelli33d31fb2022-04-04 14:57:521027 "../rtc_base:rtc_event",
Niels Möller679f1cb2021-12-21 14:45:301028 "../rtc_base/task_utils:to_queued_task",
1029 "../system_wrappers",
1030 "../system_wrappers:field_trial",
1031 "../system_wrappers:metrics",
1032 "../test:field_trial",
1033 "../test:mock_frame_transformer",
1034 "../test:mock_transport",
Jonas Oreland8ca06132022-03-14 11:52:481035 "../test:scoped_key_value_config",
Niels Möller679f1cb2021-12-21 14:45:301036 "../test:test_support",
1037 ]
1038 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
1039 }
Peter Boström02083222016-06-14 10:52:541040}