kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 1 | # 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 | |
mbonadei | 9aa3f0a | 2017-01-24 06:58:22 -0800 | [diff] [blame] | 9 | import("../../webrtc.gni") |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 10 | |
philipel | d5a272f | 2018-02-21 14:30:34 +0100 | [diff] [blame] | 11 | rtc_static_library("encoded_frame") { |
| 12 | visibility = [ "*" ] |
| 13 | sources = [ |
| 14 | "encoded_frame.cc", |
| 15 | "encoded_frame.h", |
| 16 | ] |
| 17 | deps = [ |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 18 | ":codec_globals_headers", |
philipel | d5a272f | 2018-02-21 14:30:34 +0100 | [diff] [blame] | 19 | ":video_codec_interface", |
| 20 | "../../:webrtc_common", |
Niels Möller | 4dc66c5 | 2018-10-05 14:17:58 +0200 | [diff] [blame] | 21 | "../../api/video:encoded_image", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 22 | "../../api/video:video_frame", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 23 | "../../api/video:video_frame_i420", |
philipel | d5a272f | 2018-02-21 14:30:34 +0100 | [diff] [blame] | 24 | "../../modules:module_api", |
| 25 | "../../modules:module_api_public", |
philipel | d5a272f | 2018-02-21 14:30:34 +0100 | [diff] [blame] | 26 | "../../rtc_base:checks", |
| 27 | "../../rtc_base:rtc_base_approved", |
| 28 | "../../rtc_base/experiments:alr_experiment", |
“Michael | f9fc171 | 2018-08-27 10:08:58 -0500 | [diff] [blame] | 29 | "../../rtc_base/experiments:rtt_mult_experiment", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 30 | "../../system_wrappers", |
Danil Chapovalov | 0040b66 | 2018-06-18 10:48:16 +0200 | [diff] [blame] | 31 | "//third_party/abseil-cpp/absl/types:optional", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 32 | "//third_party/abseil-cpp/absl/types:variant", |
philipel | d5a272f | 2018-02-21 14:30:34 +0100 | [diff] [blame] | 33 | ] |
philipel | d5a272f | 2018-02-21 14:30:34 +0100 | [diff] [blame] | 34 | } |
| 35 | |
Ilya Nikolaevskiy | 8643b78 | 2018-06-07 16:15:40 +0200 | [diff] [blame] | 36 | rtc_static_library("nack_module") { |
| 37 | visibility = [ "*" ] |
| 38 | sources = [ |
| 39 | "histogram.cc", |
| 40 | "histogram.h", |
| 41 | "nack_module.cc", |
| 42 | "nack_module.h", |
| 43 | ] |
| 44 | |
Ilya Nikolaevskiy | 8643b78 | 2018-06-07 16:15:40 +0200 | [diff] [blame] | 45 | deps = [ |
| 46 | ":packet", |
| 47 | "..:module_api", |
| 48 | "../../rtc_base:checks", |
| 49 | "../../rtc_base:rtc_base_approved", |
| 50 | "../../rtc_base:rtc_numerics", |
| 51 | "../../system_wrappers", |
Ying Wang | 0367d1a | 2018-11-02 14:51:15 +0100 | [diff] [blame] | 52 | "../../system_wrappers:field_trial", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 53 | "../utility", |
Ilya Nikolaevskiy | 8643b78 | 2018-06-07 16:15:40 +0200 | [diff] [blame] | 54 | ] |
| 55 | } |
| 56 | |
| 57 | rtc_static_library("packet") { |
| 58 | visibility = [ "*" ] |
| 59 | sources = [ |
| 60 | "packet.cc", |
| 61 | "packet.h", |
| 62 | ] |
| 63 | deps = [ |
| 64 | "..:module_api", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 65 | "../../:webrtc_common", |
Niels Möller | ef1052a | 2019-03-20 08:40:23 +0100 | [diff] [blame] | 66 | "../../api:rtp_headers", |
Niels Möller | 8f7ce22 | 2019-03-21 15:43:58 +0100 | [diff] [blame^] | 67 | "../../api/video:video_frame_type", |
philipel | 2837edc | 2018-10-02 13:55:47 +0200 | [diff] [blame] | 68 | "../rtp_rtcp:rtp_rtcp_format", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 69 | "../rtp_rtcp:rtp_video_header", |
| 70 | "//third_party/abseil-cpp/absl/types:optional", |
Ilya Nikolaevskiy | 8643b78 | 2018-06-07 16:15:40 +0200 | [diff] [blame] | 71 | ] |
| 72 | } |
| 73 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 74 | rtc_static_library("video_coding") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 +0000 | [diff] [blame] | 75 | visibility = [ "*" ] |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 76 | deps = [ |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 77 | "..:module_fec_api", |
Mirko Bonadei | d970807 | 2019-01-25 20:26:48 +0100 | [diff] [blame] | 78 | "../../api:scoped_refptr", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 79 | "../../api/video:encoded_image", |
| 80 | "../../api/video:video_bitrate_allocation", |
| 81 | "../../api/video:video_bitrate_allocator_factory", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 82 | "../../system_wrappers:field_trial", |
| 83 | "../../system_wrappers:metrics", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 84 | "../rtp_rtcp:rtp_video_header", |
| 85 | "//third_party/abseil-cpp/absl/memory", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 86 | ] |
Anders Carlsson | dd8c165 | 2018-01-30 10:32:13 +0100 | [diff] [blame] | 87 | |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 88 | sources = [ |
Henrik Kjellander | 2557b86 | 2015-11-18 22:00:21 +0100 | [diff] [blame] | 89 | "codec_timer.cc", |
| 90 | "codec_timer.h", |
Niels Möller | f906378 | 2018-02-20 16:09:48 +0100 | [diff] [blame] | 91 | "decoder_database.cc", |
| 92 | "decoder_database.h", |
Henrik Kjellander | 2557b86 | 2015-11-18 22:00:21 +0100 | [diff] [blame] | 93 | "decoding_state.cc", |
| 94 | "decoding_state.h", |
Ying Wang | 3b790f3 | 2018-01-19 17:58:57 +0100 | [diff] [blame] | 95 | "fec_controller_default.cc", |
| 96 | "fec_controller_default.h", |
brandtr | 71b1c1f | 2017-01-12 06:16:24 -0800 | [diff] [blame] | 97 | "fec_rate_table.h", |
Henrik Kjellander | 2557b86 | 2015-11-18 22:00:21 +0100 | [diff] [blame] | 98 | "frame_buffer.cc", |
| 99 | "frame_buffer.h", |
philipel | be7a9e5 | 2016-05-19 12:19:35 +0200 | [diff] [blame] | 100 | "frame_buffer2.cc", |
| 101 | "frame_buffer2.h", |
philipel | c707ab7 | 2016-04-01 02:01:54 -0700 | [diff] [blame] | 102 | "frame_object.cc", |
| 103 | "frame_object.h", |
Lu Liu | 352314a | 2018-02-21 19:38:59 +0000 | [diff] [blame] | 104 | "generic_decoder.cc", |
Henrik Kjellander | 2557b86 | 2015-11-18 22:00:21 +0100 | [diff] [blame] | 105 | "generic_decoder.h", |
johan | b0a1111 | 2016-12-08 03:57:17 -0800 | [diff] [blame] | 106 | "h264_sprop_parameter_sets.cc", |
| 107 | "h264_sprop_parameter_sets.h", |
philipel | 34852cf | 2016-11-03 04:03:01 -0700 | [diff] [blame] | 108 | "h264_sps_pps_tracker.cc", |
| 109 | "h264_sps_pps_tracker.h", |
Erik Språng | 08127a9 | 2016-11-16 16:41:30 +0100 | [diff] [blame] | 110 | "include/video_codec_initializer.h", |
Ying Wang | 3b790f3 | 2018-01-19 17:58:57 +0100 | [diff] [blame] | 111 | "include/video_coding.h", |
Henrik Kjellander | 2557b86 | 2015-11-18 22:00:21 +0100 | [diff] [blame] | 112 | "inter_frame_delay.cc", |
| 113 | "inter_frame_delay.h", |
| 114 | "internal_defines.h", |
| 115 | "jitter_buffer.cc", |
| 116 | "jitter_buffer.h", |
| 117 | "jitter_buffer_common.h", |
| 118 | "jitter_estimator.cc", |
| 119 | "jitter_estimator.h", |
Elad Alon | 10874b2 | 2019-02-21 16:25:40 +0100 | [diff] [blame] | 120 | "loss_notification_controller.cc", |
| 121 | "loss_notification_controller.h", |
Henrik Kjellander | 2557b86 | 2015-11-18 22:00:21 +0100 | [diff] [blame] | 122 | "media_opt_util.cc", |
| 123 | "media_opt_util.h", |
philipel | c707ab7 | 2016-04-01 02:01:54 -0700 | [diff] [blame] | 124 | "packet_buffer.cc", |
| 125 | "packet_buffer.h", |
Henrik Kjellander | 2557b86 | 2015-11-18 22:00:21 +0100 | [diff] [blame] | 126 | "receiver.cc", |
| 127 | "receiver.h", |
philipel | 02447bc | 2016-05-13 06:01:03 -0700 | [diff] [blame] | 128 | "rtp_frame_reference_finder.cc", |
| 129 | "rtp_frame_reference_finder.h", |
Henrik Kjellander | 2557b86 | 2015-11-18 22:00:21 +0100 | [diff] [blame] | 130 | "rtt_filter.cc", |
| 131 | "rtt_filter.h", |
| 132 | "session_info.cc", |
| 133 | "session_info.h", |
| 134 | "timestamp_map.cc", |
| 135 | "timestamp_map.h", |
| 136 | "timing.cc", |
| 137 | "timing.h", |
Erik Språng | 08127a9 | 2016-11-16 16:41:30 +0100 | [diff] [blame] | 138 | "video_codec_initializer.cc", |
Henrik Kjellander | 2557b86 | 2015-11-18 22:00:21 +0100 | [diff] [blame] | 139 | "video_coding_impl.cc", |
| 140 | "video_coding_impl.h", |
| 141 | "video_receiver.cc", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 142 | ] |
| 143 | |
Anders Carlsson | dd8c165 | 2018-01-30 10:32:13 +0100 | [diff] [blame] | 144 | deps += [ |
Rasmus Brandt | 88f080a | 2017-11-02 14:28:06 +0100 | [diff] [blame] | 145 | ":codec_globals_headers", |
philipel | d5a272f | 2018-02-21 14:30:34 +0100 | [diff] [blame] | 146 | ":encoded_frame", |
Ilya Nikolaevskiy | 8643b78 | 2018-06-07 16:15:40 +0200 | [diff] [blame] | 147 | ":packet", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 148 | ":video_codec_interface", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 149 | ":video_coding_utility", |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 150 | ":webrtc_vp9_helpers", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 151 | "..:module_api", |
Ilya Nikolaevskiy | 76f2a85 | 2017-11-16 14:33:53 +0100 | [diff] [blame] | 152 | "..:module_api_public", |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 153 | "../..:webrtc_common", |
Ying Wang | 3b790f3 | 2018-01-19 17:58:57 +0100 | [diff] [blame] | 154 | "../../api:fec_controller_api", |
Niels Möller | ef1052a | 2019-03-20 08:40:23 +0100 | [diff] [blame] | 155 | "../../api:rtp_headers", |
Erik Språng | d96b275 | 2018-12-13 11:23:27 +0100 | [diff] [blame] | 156 | "../../api/units:data_rate", |
Jiawei Ou | c2ebe21 | 2018-11-08 10:02:56 -0800 | [diff] [blame] | 157 | "../../api/video:builtin_video_bitrate_allocator_factory", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 158 | "../../api/video:encoded_frame", |
Jiawei Ou | 4206a0a | 2018-07-20 15:49:43 -0700 | [diff] [blame] | 159 | "../../api/video:video_bitrate_allocator", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 160 | "../../api/video:video_frame", |
| 161 | "../../api/video:video_frame_i420", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 162 | "../../api/video_codecs:video_codecs_api", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 163 | "../../common_video", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 164 | "../../rtc_base", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 165 | "../../rtc_base:checks", |
Niels Möller | 689983f | 2018-11-07 16:36:22 +0100 | [diff] [blame] | 166 | "../../rtc_base:deprecation", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 167 | "../../rtc_base:rtc_base_approved", |
| 168 | "../../rtc_base:rtc_numerics", |
| 169 | "../../rtc_base:rtc_task_queue", |
| 170 | "../../rtc_base:sequenced_task_checker", |
Sebastian Jansson | cabe383 | 2018-01-12 10:54:18 +0100 | [diff] [blame] | 171 | "../../rtc_base/experiments:alr_experiment", |
Erik Språng | b1e031a | 2018-11-01 11:20:49 +0100 | [diff] [blame] | 172 | "../../rtc_base/experiments:jitter_upper_bound_experiment", |
“Michael | f9fc171 | 2018-08-27 10:08:58 -0500 | [diff] [blame] | 173 | "../../rtc_base/experiments:rtt_mult_experiment", |
Karl Wiberg | 80ba333 | 2018-02-05 10:33:35 +0100 | [diff] [blame] | 174 | "../../rtc_base/system:fallthrough", |
Artem Titov | a76af0c | 2018-07-23 17:38:12 +0200 | [diff] [blame] | 175 | "../../rtc_base/third_party/base64", |
Karl Wiberg | 76b7f51 | 2018-03-22 15:29:03 +0100 | [diff] [blame] | 176 | "../../rtc_base/time:timestamp_extrapolator", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 177 | "../../system_wrappers", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 178 | "../rtp_rtcp:rtp_rtcp_format", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 179 | "../utility", |
Elad Alon | 69321dd | 2019-01-10 15:02:54 +0100 | [diff] [blame] | 180 | "//third_party/abseil-cpp/absl/container:inlined_vector", |
Danil Chapovalov | 0040b66 | 2018-06-18 10:48:16 +0200 | [diff] [blame] | 181 | "//third_party/abseil-cpp/absl/types:optional", |
philipel | 1a4746a | 2018-07-09 15:52:29 +0200 | [diff] [blame] | 182 | "//third_party/abseil-cpp/absl/types:variant", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 183 | ] |
| 184 | } |
| 185 | |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 186 | rtc_source_set("video_codec_interface") { |
Patrik Höglund | a2ac1b4 | 2018-01-15 16:01:43 +0100 | [diff] [blame] | 187 | visibility = [ "*" ] |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 188 | sources = [ |
philipel | 9df3353 | 2019-03-04 16:37:50 +0100 | [diff] [blame] | 189 | "include/video_codec_interface.cc", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 190 | "include/video_codec_interface.h", |
| 191 | "include/video_coding_defines.h", |
| 192 | "include/video_error_codes.h", |
Niels Möller | be682d4 | 2018-03-27 08:31:45 +0200 | [diff] [blame] | 193 | "video_coding_defines.cc", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 194 | ] |
| 195 | deps = [ |
| 196 | "..:module_api", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 197 | "../..:webrtc_common", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 198 | "../../api/video:video_frame", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 199 | "../../api/video_codecs:video_codecs_api", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 200 | "../../common_video", |
| 201 | "../../common_video/generic_frame_descriptor", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 202 | "//third_party/abseil-cpp/absl/types:optional", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 203 | ] |
| 204 | } |
| 205 | |
charujain | cb728ea | 2017-09-18 03:08:08 -0700 | [diff] [blame] | 206 | rtc_source_set("codec_globals_headers") { |
Danil Chapovalov | 5c25010 | 2018-10-03 14:54:43 +0200 | [diff] [blame] | 207 | visibility = [ "*" ] |
charujain | cb728ea | 2017-09-18 03:08:08 -0700 | [diff] [blame] | 208 | sources = [ |
| 209 | "codecs/h264/include/h264_globals.h", |
| 210 | "codecs/interface/common_constants.h", |
| 211 | "codecs/vp8/include/vp8_globals.h", |
| 212 | "codecs/vp9/include/vp9_globals.h", |
| 213 | ] |
philipel | 1a4746a | 2018-07-09 15:52:29 +0200 | [diff] [blame] | 214 | |
| 215 | deps = [ |
| 216 | "../../rtc_base:checks", |
| 217 | ] |
charujain | cb728ea | 2017-09-18 03:08:08 -0700 | [diff] [blame] | 218 | } |
| 219 | |
| 220 | rtc_source_set("video_coding_utility") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 +0000 | [diff] [blame] | 221 | visibility = [ "*" ] |
charujain | cb728ea | 2017-09-18 03:08:08 -0700 | [diff] [blame] | 222 | sources = [ |
Ilya Nikolaevskiy | 1371784 | 2019-01-14 13:24:22 +0100 | [diff] [blame] | 223 | "utility/decoded_frames_history.cc", |
| 224 | "utility/decoded_frames_history.h", |
Erik Språng | 08127a9 | 2016-11-16 16:41:30 +0100 | [diff] [blame] | 225 | "utility/default_video_bitrate_allocator.cc", |
| 226 | "utility/default_video_bitrate_allocator.h", |
stefan@webrtc.org | 73823ca | 2014-07-07 11:46:43 +0000 | [diff] [blame] | 227 | "utility/frame_dropper.cc", |
kjellander@webrtc.org | b7ce964 | 2015-11-18 23:04:10 +0100 | [diff] [blame] | 228 | "utility/frame_dropper.h", |
Sergey Silkin | ae3144c | 2018-08-29 01:05:26 +0200 | [diff] [blame] | 229 | "utility/framerate_controller.cc", |
| 230 | "utility/framerate_controller.h", |
sprang | 3911c26 | 2016-04-15 01:24:14 -0700 | [diff] [blame] | 231 | "utility/ivf_file_writer.cc", |
| 232 | "utility/ivf_file_writer.h", |
kjellander@webrtc.org | b8caf6a | 2014-09-30 18:05:02 +0000 | [diff] [blame] | 233 | "utility/quality_scaler.cc", |
kjellander@webrtc.org | b7ce964 | 2015-11-18 23:04:10 +0100 | [diff] [blame] | 234 | "utility/quality_scaler.h", |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 235 | "utility/simulcast_rate_allocator.cc", |
| 236 | "utility/simulcast_rate_allocator.h", |
| 237 | "utility/simulcast_utility.cc", |
| 238 | "utility/simulcast_utility.h", |
jackychen | 98d8cf5 | 2015-05-21 11:12:02 -0700 | [diff] [blame] | 239 | "utility/vp8_header_parser.cc", |
kjellander@webrtc.org | b7ce964 | 2015-11-18 23:04:10 +0100 | [diff] [blame] | 240 | "utility/vp8_header_parser.h", |
jianj | 20acdf2 | 2017-05-24 10:00:16 -0700 | [diff] [blame] | 241 | "utility/vp9_uncompressed_header_parser.cc", |
| 242 | "utility/vp9_uncompressed_header_parser.h", |
stefan@webrtc.org | 73823ca | 2014-07-07 11:46:43 +0000 | [diff] [blame] | 243 | ] |
| 244 | |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 245 | deps = [ |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 246 | ":video_codec_interface", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 247 | "..:module_api", |
ehmaldonado | 36df2d7 | 2016-12-08 09:56:16 -0800 | [diff] [blame] | 248 | "../..:webrtc_common", |
Ilya Nikolaevskiy | 1371784 | 2019-01-14 13:24:22 +0100 | [diff] [blame] | 249 | "../../api/video:encoded_frame", |
Niels Möller | 4dc66c5 | 2018-10-05 14:17:58 +0200 | [diff] [blame] | 250 | "../../api/video:encoded_image", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 251 | "../../api/video:video_bitrate_allocation", |
Jiawei Ou | 4206a0a | 2018-07-20 15:49:43 -0700 | [diff] [blame] | 252 | "../../api/video:video_bitrate_allocator", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 253 | "../../api/video_codecs:video_codecs_api", |
perkj | 4e417b2 | 2016-07-14 23:35:55 -0700 | [diff] [blame] | 254 | "../../common_video", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 255 | "../../modules/rtp_rtcp", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 256 | "../../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 257 | "../../rtc_base:rtc_base_approved", |
| 258 | "../../rtc_base:rtc_numerics", |
| 259 | "../../rtc_base:rtc_task_queue", |
| 260 | "../../rtc_base:sequenced_task_checker", |
Åsa Persson | a945aee | 2018-04-24 16:53:25 +0200 | [diff] [blame] | 261 | "../../rtc_base/experiments:quality_scaling_experiment", |
Erik Språng | 2c58ba1 | 2019-01-23 16:53:18 +0100 | [diff] [blame] | 262 | "../../rtc_base/experiments:rate_control_settings", |
Niels Möller | a12c42a | 2018-07-25 16:05:48 +0200 | [diff] [blame] | 263 | "../../rtc_base/system:arch", |
Niels Möller | b7edf69 | 2019-02-08 16:40:53 +0100 | [diff] [blame] | 264 | "../../rtc_base/system:file_wrapper", |
Sebastian Jansson | ecb6897 | 2019-01-18 10:30:54 +0100 | [diff] [blame] | 265 | "../../rtc_base/task_utils:repeating_task", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 266 | "../../system_wrappers", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 267 | "../../system_wrappers:field_trial", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 268 | "../rtp_rtcp:rtp_rtcp_format", |
Danil Chapovalov | 0040b66 | 2018-06-18 10:48:16 +0200 | [diff] [blame] | 269 | "//third_party/abseil-cpp/absl/types:optional", |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 270 | ] |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 271 | } |
| 272 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 273 | rtc_static_library("webrtc_h264") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 +0000 | [diff] [blame] | 274 | visibility = [ "*" ] |
Zeke Chin | 71f6f44 | 2015-06-29 14:34:58 -0700 | [diff] [blame] | 275 | sources = [ |
| 276 | "codecs/h264/h264.cc", |
| 277 | "codecs/h264/include/h264.h", |
| 278 | ] |
| 279 | |
hbos | bab934b | 2016-01-27 01:36:03 -0800 | [diff] [blame] | 280 | defines = [] |
Zeke Chin | 71f6f44 | 2015-06-29 14:34:58 -0700 | [diff] [blame] | 281 | deps = [ |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 282 | ":video_codec_interface", |
ehmaldonado | 36df2d7 | 2016-12-08 09:56:16 -0800 | [diff] [blame] | 283 | ":video_coding_utility", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 284 | "../../:webrtc_common", |
Emircan Uysaler | d4c16b1 | 2018-07-23 17:55:25 -0700 | [diff] [blame] | 285 | "../../api/video:video_frame", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 286 | "../../api/video:video_frame_i420", |
Magnus Jedvert | 849b3ae | 2017-09-29 17:54:09 +0200 | [diff] [blame] | 287 | "../../api/video_codecs:video_codecs_api", |
Mirko Bonadei | 75baa49 | 2018-01-11 17:07:30 +0100 | [diff] [blame] | 288 | "../../media:rtc_h264_profile_id", |
magjed | 21d110f | 2017-02-28 00:28:04 -0800 | [diff] [blame] | 289 | "../../media:rtc_media_base", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 290 | "../../rtc_base", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 291 | "../../rtc_base:checks", |
Mirko Bonadei | 276827c | 2018-10-16 14:13:50 +0200 | [diff] [blame] | 292 | "../../rtc_base/system:rtc_export", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 293 | "../../system_wrappers:metrics", |
Karl Wiberg | 918f50c | 2018-07-05 11:40:33 +0200 | [diff] [blame] | 294 | "//third_party/abseil-cpp/absl/memory", |
Niels Möller | 039743e | 2018-10-23 10:07:25 +0200 | [diff] [blame] | 295 | "//third_party/abseil-cpp/absl/strings", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 296 | "//third_party/abseil-cpp/absl/types:optional", |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 297 | "//third_party/libyuv", |
Zeke Chin | 71f6f44 | 2015-06-29 14:34:58 -0700 | [diff] [blame] | 298 | ] |
hbos | a9a1d2a | 2016-01-11 10:19:02 -0800 | [diff] [blame] | 299 | |
hbos | 902c03e | 2016-01-21 03:34:40 -0800 | [diff] [blame] | 300 | if (rtc_use_h264) { |
Mirko Bonadei | ee0a85c | 2019-01-15 10:47:18 +0100 | [diff] [blame] | 301 | assert(!(is_win && !is_clang), "See: bugs.webrtc.org/9213#c13.") |
hbos | bab934b | 2016-01-27 01:36:03 -0800 | [diff] [blame] | 302 | sources += [ |
Emircan Uysaler | d4c16b1 | 2018-07-23 17:55:25 -0700 | [diff] [blame] | 303 | "codecs/h264/h264_color_space.cc", |
| 304 | "codecs/h264/h264_color_space.h", |
hbos | bab934b | 2016-01-27 01:36:03 -0800 | [diff] [blame] | 305 | "codecs/h264/h264_decoder_impl.cc", |
| 306 | "codecs/h264/h264_decoder_impl.h", |
| 307 | "codecs/h264/h264_encoder_impl.cc", |
| 308 | "codecs/h264/h264_encoder_impl.h", |
| 309 | ] |
hbos | a9a1d2a | 2016-01-11 10:19:02 -0800 | [diff] [blame] | 310 | deps += [ |
kjellander | f6b5509 | 2016-02-07 23:04:26 -0800 | [diff] [blame] | 311 | "../../common_video", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 312 | "//third_party/ffmpeg", |
hbos | a9a1d2a | 2016-01-11 10:19:02 -0800 | [diff] [blame] | 313 | "//third_party/openh264:encoder", |
| 314 | ] |
Oleh Prypin | 2b82ee7 | 2018-01-15 09:44:18 +0100 | [diff] [blame] | 315 | |
Dan Minor | 9c68613 | 2018-01-15 10:20:00 -0500 | [diff] [blame] | 316 | if (!build_with_mozilla) { |
| 317 | deps += [ "../../media:rtc_media_base" ] |
| 318 | } |
hbos | a9a1d2a | 2016-01-11 10:19:02 -0800 | [diff] [blame] | 319 | } |
Zeke Chin | 71f6f44 | 2015-06-29 14:34:58 -0700 | [diff] [blame] | 320 | } |
| 321 | |
Emircan Uysaler | d7ae3c3 | 2018-01-25 13:01:09 -0800 | [diff] [blame] | 322 | rtc_static_library("webrtc_multiplex") { |
Emircan Uysaler | dbcac7f | 2017-10-30 23:10:12 -0700 | [diff] [blame] | 323 | sources = [ |
Tarek Hefny | 77c8e65 | 2018-08-15 10:19:32 -0700 | [diff] [blame] | 324 | "codecs/multiplex/augmented_video_frame_buffer.cc", |
| 325 | "codecs/multiplex/include/augmented_video_frame_buffer.h", |
Emircan Uysaler | d7ae3c3 | 2018-01-25 13:01:09 -0800 | [diff] [blame] | 326 | "codecs/multiplex/include/multiplex_decoder_adapter.h", |
Emircan Uysaler | d7ae3c3 | 2018-01-25 13:01:09 -0800 | [diff] [blame] | 327 | "codecs/multiplex/include/multiplex_encoder_adapter.h", |
| 328 | "codecs/multiplex/multiplex_decoder_adapter.cc", |
| 329 | "codecs/multiplex/multiplex_encoded_image_packer.cc", |
Emircan Uysaler | ed425d1 | 2018-09-06 15:35:55 -0700 | [diff] [blame] | 330 | "codecs/multiplex/multiplex_encoded_image_packer.h", |
Emircan Uysaler | d7ae3c3 | 2018-01-25 13:01:09 -0800 | [diff] [blame] | 331 | "codecs/multiplex/multiplex_encoder_adapter.cc", |
Emircan Uysaler | dbcac7f | 2017-10-30 23:10:12 -0700 | [diff] [blame] | 332 | ] |
| 333 | |
Emircan Uysaler | dbcac7f | 2017-10-30 23:10:12 -0700 | [diff] [blame] | 334 | deps = [ |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 335 | ":video_codec_interface", |
Emircan Uysaler | dbcac7f | 2017-10-30 23:10:12 -0700 | [diff] [blame] | 336 | ":video_coding_utility", |
| 337 | "..:module_api", |
| 338 | "../..:webrtc_common", |
Mirko Bonadei | d970807 | 2019-01-25 20:26:48 +0100 | [diff] [blame] | 339 | "../../api:scoped_refptr", |
Niels Möller | 4dc66c5 | 2018-10-05 14:17:58 +0200 | [diff] [blame] | 340 | "../../api/video:encoded_image", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 341 | "../../api/video:video_frame", |
| 342 | "../../api/video:video_frame_i420", |
Emircan Uysaler | dbcac7f | 2017-10-30 23:10:12 -0700 | [diff] [blame] | 343 | "../../api/video_codecs:video_codecs_api", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 344 | "../../common_video", |
| 345 | "../../rtc_base", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 346 | "../../rtc_base:checks", |
Emircan Uysaler | dbcac7f | 2017-10-30 23:10:12 -0700 | [diff] [blame] | 347 | "../../system_wrappers", |
Qiang Chen | a7c7a19 | 2018-01-24 13:36:41 -0800 | [diff] [blame] | 348 | "../rtp_rtcp:rtp_rtcp_format", |
Emircan Uysaler | dbcac7f | 2017-10-30 23:10:12 -0700 | [diff] [blame] | 349 | ] |
| 350 | } |
| 351 | |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 352 | # This target includes the internal SW codec. |
| 353 | rtc_static_library("webrtc_vp8") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 +0000 | [diff] [blame] | 354 | visibility = [ "*" ] |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 355 | poisonous = [ "software_video_codecs" ] |
stefan@webrtc.org | 73823ca | 2014-07-07 11:46:43 +0000 | [diff] [blame] | 356 | sources = [ |
Lu Liu | 6552695 | 2017-12-20 18:08:36 +0000 | [diff] [blame] | 357 | "codecs/vp8/include/vp8.h", |
Erik Språng | 5fbc0e0 | 2018-10-04 17:52:36 +0200 | [diff] [blame] | 358 | "codecs/vp8/libvpx_interface.cc", |
| 359 | "codecs/vp8/libvpx_interface.h", |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 360 | "codecs/vp8/libvpx_vp8_decoder.cc", |
| 361 | "codecs/vp8/libvpx_vp8_decoder.h", |
| 362 | "codecs/vp8/libvpx_vp8_encoder.cc", |
| 363 | "codecs/vp8/libvpx_vp8_encoder.h", |
Anders Carlsson | dd8c165 | 2018-01-30 10:32:13 +0100 | [diff] [blame] | 364 | ] |
| 365 | |
Anders Carlsson | dd8c165 | 2018-01-30 10:32:13 +0100 | [diff] [blame] | 366 | deps = [ |
Erik Språng | 8abd56c | 2018-10-01 18:47:03 +0200 | [diff] [blame] | 367 | ":codec_globals_headers", |
Anders Carlsson | dd8c165 | 2018-01-30 10:32:13 +0100 | [diff] [blame] | 368 | ":video_codec_interface", |
| 369 | ":video_coding_utility", |
Erik Språng | 4529fbc | 2018-10-12 10:30:31 +0200 | [diff] [blame] | 370 | ":webrtc_vp8_temporal_layers", |
Anders Carlsson | dd8c165 | 2018-01-30 10:32:13 +0100 | [diff] [blame] | 371 | "..:module_api", |
| 372 | "../..:webrtc_common", |
Mirko Bonadei | d970807 | 2019-01-25 20:26:48 +0100 | [diff] [blame] | 373 | "../../api:scoped_refptr", |
Niels Möller | 4dc66c5 | 2018-10-05 14:17:58 +0200 | [diff] [blame] | 374 | "../../api/video:encoded_image", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 375 | "../../api/video:video_frame", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 376 | "../../api/video:video_frame_i420", |
Anders Carlsson | dd8c165 | 2018-01-30 10:32:13 +0100 | [diff] [blame] | 377 | "../../api/video_codecs:video_codecs_api", |
Elad Alon | cde8ab2 | 2019-03-20 11:56:20 +0100 | [diff] [blame] | 378 | "../../api/video_codecs:vp8_temporal_layers_factory", |
Anders Carlsson | dd8c165 | 2018-01-30 10:32:13 +0100 | [diff] [blame] | 379 | "../../common_video", |
| 380 | "../../rtc_base:checks", |
| 381 | "../../rtc_base:rtc_base_approved", |
| 382 | "../../rtc_base:rtc_numerics", |
Åsa Persson | f8ba95e | 2018-11-02 11:38:46 +0100 | [diff] [blame] | 383 | "../../rtc_base/experiments:cpu_speed_experiment", |
Jiawei Ou | aa7bc7e | 2018-12-11 14:25:25 -0800 | [diff] [blame] | 384 | "../../rtc_base/experiments:field_trial_parser", |
Erik Språng | 4b4266f | 2019-01-23 12:48:13 +0100 | [diff] [blame] | 385 | "../../rtc_base/experiments:rate_control_settings", |
Anders Carlsson | dd8c165 | 2018-01-30 10:32:13 +0100 | [diff] [blame] | 386 | "../../system_wrappers", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 387 | "../../system_wrappers:field_trial", |
| 388 | "../../system_wrappers:metrics", |
Karl Wiberg | 918f50c | 2018-07-05 11:40:33 +0200 | [diff] [blame] | 389 | "//third_party/abseil-cpp/absl/memory", |
Danil Chapovalov | 0040b66 | 2018-06-18 10:48:16 +0200 | [diff] [blame] | 390 | "//third_party/abseil-cpp/absl/types:optional", |
Anders Carlsson | dd8c165 | 2018-01-30 10:32:13 +0100 | [diff] [blame] | 391 | "//third_party/libyuv", |
| 392 | ] |
kjellander@webrtc.org | b8caf6a | 2014-09-30 18:05:02 +0000 | [diff] [blame] | 393 | if (rtc_build_libvpx) { |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 394 | deps += [ rtc_libvpx_dir ] |
kjellander@webrtc.org | b8caf6a | 2014-09-30 18:05:02 +0000 | [diff] [blame] | 395 | } |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 396 | } |
marpan@webrtc.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 397 | |
Erik Språng | 4529fbc | 2018-10-12 10:30:31 +0200 | [diff] [blame] | 398 | rtc_static_library("webrtc_vp8_temporal_layers") { |
| 399 | visibility = [ "*" ] |
| 400 | sources = [ |
| 401 | "codecs/vp8/default_temporal_layers.cc", |
| 402 | "codecs/vp8/default_temporal_layers.h", |
| 403 | "codecs/vp8/include/temporal_layers_checker.h", |
| 404 | "codecs/vp8/screenshare_layers.cc", |
| 405 | "codecs/vp8/screenshare_layers.h", |
| 406 | "codecs/vp8/temporal_layers.h", |
| 407 | "codecs/vp8/temporal_layers_checker.cc", |
| 408 | ] |
| 409 | |
Erik Språng | 4529fbc | 2018-10-12 10:30:31 +0200 | [diff] [blame] | 410 | deps = [ |
| 411 | ":codec_globals_headers", |
| 412 | ":video_codec_interface", |
| 413 | ":video_coding_utility", |
| 414 | "..:module_api", |
| 415 | "../..:webrtc_common", |
| 416 | "../../api/video_codecs:video_codecs_api", |
| 417 | "../../rtc_base:checks", |
| 418 | "../../rtc_base:rtc_base_approved", |
| 419 | "../../rtc_base:rtc_numerics", |
| 420 | "../../system_wrappers", |
| 421 | "../../system_wrappers:field_trial", |
| 422 | "../../system_wrappers:metrics", |
| 423 | "//third_party/abseil-cpp/absl/memory", |
| 424 | "//third_party/abseil-cpp/absl/types:optional", |
| 425 | ] |
| 426 | } |
| 427 | |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 428 | # This target includes VP9 files that may be used for any VP9 codec, internal SW or external HW. |
| 429 | rtc_static_library("webrtc_vp9_helpers") { |
| 430 | sources = [ |
| 431 | "codecs/vp9/svc_config.cc", |
| 432 | "codecs/vp9/svc_config.h", |
| 433 | "codecs/vp9/svc_rate_allocator.cc", |
| 434 | "codecs/vp9/svc_rate_allocator.h", |
| 435 | ] |
| 436 | |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 437 | deps = [ |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 438 | ":codec_globals_headers", |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 439 | ":video_codec_interface", |
| 440 | "../..:webrtc_common", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 441 | "../../api/video:video_bitrate_allocation", |
Jiawei Ou | 4206a0a | 2018-07-20 15:49:43 -0700 | [diff] [blame] | 442 | "../../api/video:video_bitrate_allocator", |
Niels Möller | a46bd4b | 2018-06-08 14:03:44 +0200 | [diff] [blame] | 443 | "../../api/video_codecs:video_codecs_api", |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 444 | "../../common_video", |
| 445 | "../../rtc_base:checks", |
| 446 | ] |
| 447 | } |
| 448 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 449 | rtc_static_library("webrtc_vp9") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 +0000 | [diff] [blame] | 450 | visibility = [ "*" ] |
Anders Carlsson | 1f433e4 | 2018-04-24 16:39:05 +0200 | [diff] [blame] | 451 | poisonous = [ "software_video_codecs" ] |
Mirko Bonadei | 95adedb | 2018-11-19 09:52:37 +0100 | [diff] [blame] | 452 | sources = [ |
| 453 | "codecs/vp9/include/vp9.h", |
| 454 | "codecs/vp9/vp9.cc", |
| 455 | "codecs/vp9/vp9_frame_buffer_pool.cc", |
| 456 | "codecs/vp9/vp9_frame_buffer_pool.h", |
| 457 | "codecs/vp9/vp9_impl.cc", |
| 458 | "codecs/vp9/vp9_impl.h", |
| 459 | ] |
marpan@webrtc.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 460 | |
marpan@webrtc.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 461 | deps = [ |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 462 | ":video_codec_interface", |
marpan@webrtc.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 463 | ":video_coding_utility", |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 464 | ":webrtc_vp9_helpers", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 465 | "..:module_api", |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 466 | "../..:webrtc_common", |
Mirko Bonadei | d970807 | 2019-01-25 20:26:48 +0100 | [diff] [blame] | 467 | "../../api:scoped_refptr", |
Emircan Uysaler | 800787f | 2018-07-16 10:01:49 -0700 | [diff] [blame] | 468 | "../../api/video:video_frame", |
Emircan Uysaler | 0823eec | 2018-07-13 17:10:00 -0700 | [diff] [blame] | 469 | "../../api/video:video_frame_i010", |
Emircan Uysaler | 98badbc | 2018-06-28 10:59:02 -0700 | [diff] [blame] | 470 | "../../api/video_codecs:video_codecs_api", |
marpan@webrtc.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 471 | "../../common_video", |
Emircan Uysaler | 98badbc | 2018-06-28 10:59:02 -0700 | [diff] [blame] | 472 | "../../media:rtc_media_base", |
| 473 | "../../media:rtc_vp9_profile", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 474 | "../../rtc_base", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 475 | "../../rtc_base:checks", |
Erik Språng | 4b4266f | 2019-01-23 12:48:13 +0100 | [diff] [blame] | 476 | "../../rtc_base/experiments:rate_control_settings", |
marpan@webrtc.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 477 | "../../system_wrappers", |
Sergey Silkin | 390f358 | 2018-10-01 17:13:50 +0200 | [diff] [blame] | 478 | "../../system_wrappers:field_trial", |
Sergey Silkin | d902d58 | 2018-05-18 17:31:19 +0200 | [diff] [blame] | 479 | "../rtp_rtcp:rtp_rtcp_format", |
Karl Wiberg | 918f50c | 2018-07-05 11:40:33 +0200 | [diff] [blame] | 480 | "//third_party/abseil-cpp/absl/memory", |
marpan@webrtc.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 481 | ] |
| 482 | if (rtc_build_libvpx) { |
Henrik Kjellander | 57e5fd2 | 2015-05-25 12:55:39 +0200 | [diff] [blame] | 483 | deps += [ rtc_libvpx_dir ] |
marpan@webrtc.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 484 | } |
| 485 | } |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 486 | |
| 487 | if (rtc_include_tests) { |
Rasmus Brandt | f105325 | 2018-02-05 09:52:31 +0100 | [diff] [blame] | 488 | if (is_android) { |
| 489 | rtc_static_library("android_codec_factory_helper") { |
magjed | 73c0eb5 | 2017-08-07 06:55:28 -0700 | [diff] [blame] | 490 | sources = [ |
Rasmus Brandt | f105325 | 2018-02-05 09:52:31 +0100 | [diff] [blame] | 491 | "codecs/test/android_codec_factory_helper.cc", |
| 492 | "codecs/test/android_codec_factory_helper.h", |
magjed | 73c0eb5 | 2017-08-07 06:55:28 -0700 | [diff] [blame] | 493 | ] |
Rasmus Brandt | f105325 | 2018-02-05 09:52:31 +0100 | [diff] [blame] | 494 | |
| 495 | deps = [ |
| 496 | "../../api/video_codecs:video_codecs_api", |
| 497 | "../../rtc_base:checks", |
| 498 | "../../rtc_base:rtc_base_approved", |
| 499 | "../../sdk/android:native_api_base", |
| 500 | "../../sdk/android:native_api_codecs", |
| 501 | "../../sdk/android:native_api_jni", |
| 502 | "//base", |
| 503 | ] |
| 504 | } |
| 505 | } |
| 506 | |
| 507 | if (is_ios || is_mac) { |
| 508 | rtc_static_library("objc_codec_factory_helper") { |
| 509 | sources = [ |
| 510 | "codecs/test/objc_codec_factory_helper.h", |
| 511 | "codecs/test/objc_codec_factory_helper.mm", |
| 512 | ] |
| 513 | |
magjed | 73c0eb5 | 2017-08-07 06:55:28 -0700 | [diff] [blame] | 514 | deps = [ |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 515 | "../../api/video:video_frame", |
magjed | 73c0eb5 | 2017-08-07 06:55:28 -0700 | [diff] [blame] | 516 | "../../api/video_codecs:video_codecs_api", |
| 517 | "../../media:rtc_audio_video", |
Rasmus Brandt | f105325 | 2018-02-05 09:52:31 +0100 | [diff] [blame] | 518 | "../../media:rtc_media_base", |
magjed | 73c0eb5 | 2017-08-07 06:55:28 -0700 | [diff] [blame] | 519 | "../../modules:module_api", |
Magnus Jedvert | e4a9e92 | 2017-12-04 14:09:40 +0100 | [diff] [blame] | 520 | "../../rtc_base:rtc_base_approved", |
Anders Carlsson | 3ff50fb | 2018-02-01 15:47:05 +0100 | [diff] [blame] | 521 | "../../sdk:native_api", |
Kári Tristan Helgason | 99bf77c | 2018-02-16 10:49:22 +0100 | [diff] [blame] | 522 | "../../sdk:peerconnectionfactory_base_objc", |
Mirko Bonadei | 111a0d1 | 2018-02-19 09:58:00 +0100 | [diff] [blame] | 523 | "../../sdk:videocodec_objc", |
Anders Carlsson | 9823ee4 | 2018-03-07 10:32:03 +0100 | [diff] [blame] | 524 | "../../sdk:videosource_objc", |
kthelgason | 36d658d | 2017-08-24 05:43:45 -0700 | [diff] [blame] | 525 | "../../sdk:videotoolbox_objc", |
magjed | 73c0eb5 | 2017-08-07 06:55:28 -0700 | [diff] [blame] | 526 | ] |
magjed | 73c0eb5 | 2017-08-07 06:55:28 -0700 | [diff] [blame] | 527 | } |
| 528 | } |
| 529 | |
Rasmus Brandt | 0cedc05 | 2018-05-31 12:53:00 +0200 | [diff] [blame] | 530 | rtc_source_set("simulcast_test_fixture_impl") { |
magjed | 6cc2561 | 2017-07-10 03:26:36 -0700 | [diff] [blame] | 531 | testonly = true |
| 532 | sources = [ |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 533 | "utility/simulcast_test_fixture_impl.cc", |
| 534 | "utility/simulcast_test_fixture_impl.h", |
magjed | 6cc2561 | 2017-07-10 03:26:36 -0700 | [diff] [blame] | 535 | ] |
| 536 | |
magjed | 6cc2561 | 2017-07-10 03:26:36 -0700 | [diff] [blame] | 537 | deps = [ |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 538 | ":video_codec_interface", |
magjed | 6cc2561 | 2017-07-10 03:26:36 -0700 | [diff] [blame] | 539 | ":video_coding", |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 540 | ":video_coding_utility", |
Rasmus Brandt | 0cedc05 | 2018-05-31 12:53:00 +0200 | [diff] [blame] | 541 | "../../:webrtc_common", |
Erik Språng | c84cd95 | 2018-10-15 11:55:13 +0200 | [diff] [blame] | 542 | "../../api:mock_video_decoder", |
| 543 | "../../api:mock_video_encoder", |
Rasmus Brandt | 0cedc05 | 2018-05-31 12:53:00 +0200 | [diff] [blame] | 544 | "../../api:simulcast_test_fixture_api", |
Niels Möller | 4dc66c5 | 2018-10-05 14:17:58 +0200 | [diff] [blame] | 545 | "../../api/video:encoded_image", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 546 | "../../api/video:video_frame", |
| 547 | "../../api/video:video_frame_i420", |
Rasmus Brandt | 0cedc05 | 2018-05-31 12:53:00 +0200 | [diff] [blame] | 548 | "../../api/video_codecs:video_codecs_api", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 549 | "../../common_video", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 550 | "../../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 551 | "../../rtc_base:rtc_base_approved", |
magjed | 6cc2561 | 2017-07-10 03:26:36 -0700 | [diff] [blame] | 552 | "../../test:test_support", |
Artem Titov | 533a9fe | 2019-03-21 12:18:05 +0100 | [diff] [blame] | 553 | "//third_party/abseil-cpp/absl/memory", |
magjed | 6cc2561 | 2017-07-10 03:26:36 -0700 | [diff] [blame] | 554 | ] |
| 555 | } |
| 556 | |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 557 | rtc_source_set("video_codecs_test_framework") { |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 558 | testonly = true |
| 559 | sources = [ |
Rasmus Brandt | 98a867c | 2018-02-01 15:45:38 +0100 | [diff] [blame] | 560 | "codecs/test/video_codec_unittest.cc", |
| 561 | "codecs/test/video_codec_unittest.h", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 562 | "codecs/test/videoprocessor.cc", |
| 563 | "codecs/test/videoprocessor.h", |
| 564 | ] |
| 565 | |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 566 | deps = [ |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 567 | ":codec_globals_headers", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 568 | ":video_codec_interface", |
ehmaldonado | 36df2d7 | 2016-12-08 09:56:16 -0800 | [diff] [blame] | 569 | ":video_coding", |
| 570 | ":video_coding_utility", |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 571 | ":webrtc_vp9_helpers", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 572 | "..:module_api", |
ehmaldonado | 36df2d7 | 2016-12-08 09:56:16 -0800 | [diff] [blame] | 573 | "../..:webrtc_common", |
Mirko Bonadei | d970807 | 2019-01-25 20:26:48 +0100 | [diff] [blame] | 574 | "../../api:scoped_refptr", |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 575 | "../../api:videocodec_test_fixture_api", |
Danil Chapovalov | ad89528 | 2019-03-11 10:28:05 +0000 | [diff] [blame] | 576 | "../../api/task_queue", |
Jiawei Ou | c2ebe21 | 2018-11-08 10:02:56 -0800 | [diff] [blame] | 577 | "../../api/video:builtin_video_bitrate_allocator_factory", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 578 | "../../api/video:encoded_image", |
| 579 | "../../api/video:video_bitrate_allocation", |
Jiawei Ou | 4206a0a | 2018-07-20 15:49:43 -0700 | [diff] [blame] | 580 | "../../api/video:video_bitrate_allocator", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 581 | "../../api/video:video_bitrate_allocator_factory", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 582 | "../../api/video:video_frame", |
| 583 | "../../api/video:video_frame_i420", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 584 | "../../api/video_codecs:video_codecs_api", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 585 | "../../common_video", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 586 | "../../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 587 | "../../rtc_base:rtc_base_approved", |
brandtr | c8c5905 | 2017-08-21 06:44:16 -0700 | [diff] [blame] | 588 | "../../rtc_base:rtc_task_queue", |
| 589 | "../../rtc_base:sequenced_task_checker", |
Danil Chapovalov | ad89528 | 2019-03-11 10:28:05 +0000 | [diff] [blame] | 590 | "../../rtc_base/task_utils:to_queued_task", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 591 | "../../test:test_support", |
sakal | b8102e0 | 2017-03-06 03:52:55 -0800 | [diff] [blame] | 592 | "../../test:video_test_common", |
ehmaldonado | 656610f | 2017-02-06 02:21:11 -0800 | [diff] [blame] | 593 | "../../test:video_test_support", |
Sergey Silkin | 3be2a55 | 2018-01-17 15:11:44 +0100 | [diff] [blame] | 594 | "../rtp_rtcp:rtp_rtcp_format", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 595 | "//third_party/abseil-cpp/absl/memory", |
| 596 | "//third_party/abseil-cpp/absl/types:optional", |
Sergey Silkin | 10d9d59 | 2018-02-01 13:25:17 +0100 | [diff] [blame] | 597 | "//third_party/libyuv", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 598 | ] |
| 599 | } |
ehmaldonado | 9cbb0a1 | 2017-01-30 03:07:03 -0800 | [diff] [blame] | 600 | |
Sergey Silkin | 1d2b627 | 2018-03-28 13:04:35 +0200 | [diff] [blame] | 601 | video_coding_modules_tests_resources = [] |
Rasmus Brandt | cd7da92 | 2018-04-25 12:45:16 +0200 | [diff] [blame] | 602 | if (is_android) { |
| 603 | video_coding_modules_tests_resources += [ |
| 604 | "../../resources/foreman_128x96.yuv", |
| 605 | "../../resources/foreman_160x120.yuv", |
| 606 | "../../resources/foreman_176x144.yuv", |
| 607 | "../../resources/foreman_240x136.yuv", |
| 608 | "../../resources/foreman_320x240.yuv", |
| 609 | "../../resources/foreman_480x272.yuv", |
| 610 | ] |
| 611 | } |
Kári Tristan Helgason | 8eeda49 | 2018-05-16 16:46:58 +0200 | [diff] [blame] | 612 | if (!is_android) { |
Sergey Silkin | 3285897 | 2018-03-09 11:04:15 +0100 | [diff] [blame] | 613 | video_coding_modules_tests_resources += [ |
| 614 | "../../resources/FourPeople_1280x720_30.yuv", |
| 615 | "../../resources/ConferenceMotion_1280_720_50.yuv", |
| 616 | ] |
Sergey Silkin | 556270c | 2018-02-27 15:18:18 +0100 | [diff] [blame] | 617 | } |
| 618 | |
Sergey Silkin | 1d2b627 | 2018-03-28 13:04:35 +0200 | [diff] [blame] | 619 | num_video_coding_modules_tests_resources = 0 |
| 620 | foreach(i, video_coding_modules_tests_resources) { |
| 621 | num_video_coding_modules_tests_resources += 1 |
| 622 | } |
| 623 | |
| 624 | if (num_video_coding_modules_tests_resources > 0) { |
| 625 | if (is_ios || is_mac) { |
| 626 | bundle_data("video_coding_modules_tests_resources_bundle_data") { |
| 627 | testonly = true |
| 628 | sources = video_coding_modules_tests_resources |
| 629 | outputs = [ |
| 630 | "{{bundle_resources_dir}}/{{source_file_part}}", |
| 631 | ] |
| 632 | } |
brandtr | 12a47f6 | 2017-09-01 00:10:27 -0700 | [diff] [blame] | 633 | } |
brandtr | 6bb8e0e | 2017-02-20 04:35:52 -0800 | [diff] [blame] | 634 | } |
| 635 | |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 636 | rtc_source_set("videocodec_test_impl") { |
brandtr | 6bb8e0e | 2017-02-20 04:35:52 -0800 | [diff] [blame] | 637 | testonly = true |
brandtr | 6bb8e0e | 2017-02-20 04:35:52 -0800 | [diff] [blame] | 638 | sources = [ |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 639 | "codecs/test/videocodec_test_fixture_impl.cc", |
| 640 | "codecs/test/videocodec_test_fixture_impl.h", |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 641 | "codecs/test/videocodec_test_stats_impl.cc", |
| 642 | "codecs/test/videocodec_test_stats_impl.h", |
brandtr | 6bb8e0e | 2017-02-20 04:35:52 -0800 | [diff] [blame] | 643 | ] |
brandtr | 6bb8e0e | 2017-02-20 04:35:52 -0800 | [diff] [blame] | 644 | deps = [ |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 645 | ":codec_globals_headers", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 646 | ":video_codec_interface", |
sakal | b8102e0 | 2017-03-06 03:52:55 -0800 | [diff] [blame] | 647 | ":video_codecs_test_framework", |
brandtr | df23299 | 2017-09-07 07:50:06 -0700 | [diff] [blame] | 648 | ":video_coding_utility", |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 649 | ":webrtc_vp9_helpers", |
brandtr | df23299 | 2017-09-07 07:50:06 -0700 | [diff] [blame] | 650 | "../..:webrtc_common", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 651 | "../../api:array_view", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 652 | "../../api:videocodec_test_fixture_api", |
Danil Chapovalov | 99b71df | 2018-10-26 15:57:48 +0200 | [diff] [blame] | 653 | "../../api/test/video:function_video_factory", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 654 | "../../api/video:video_bitrate_allocation", |
Mirko Bonadei | 34814c7 | 2018-01-11 10:13:56 +0100 | [diff] [blame] | 655 | "../../api/video_codecs:video_codecs_api", |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 656 | "../../call:video_stream_api", |
brandtr | df23299 | 2017-09-07 07:50:06 -0700 | [diff] [blame] | 657 | "../../common_video", |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 658 | "../../media:rtc_audio_video", |
| 659 | "../../media:rtc_h264_profile_id", |
Anders Carlsson | a114c88 | 2018-01-04 15:10:22 +0100 | [diff] [blame] | 660 | "../../media:rtc_internal_video_codecs", |
Rasmus Brandt | 2aae273 | 2018-05-29 09:31:15 +0200 | [diff] [blame] | 661 | "../../media:rtc_media_base", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 662 | "../../rtc_base:checks", |
Rasmus Brandt | 2aae273 | 2018-05-29 09:31:15 +0200 | [diff] [blame] | 663 | "../../rtc_base:rtc_base_approved", |
Åsa Persson | 7173cf2 | 2017-10-19 12:14:09 +0200 | [diff] [blame] | 664 | "../../rtc_base:rtc_base_tests_utils", |
Rasmus Brandt | 2aae273 | 2018-05-29 09:31:15 +0200 | [diff] [blame] | 665 | "../../rtc_base:rtc_event", |
Danil Chapovalov | d26a916 | 2019-03-19 18:08:37 +0100 | [diff] [blame] | 666 | "../../rtc_base:task_queue_for_test", |
brandtr | df23299 | 2017-09-07 07:50:06 -0700 | [diff] [blame] | 667 | "../../system_wrappers", |
Patrik Höglund | 7696bef | 2018-03-15 15:05:39 +0100 | [diff] [blame] | 668 | "../../test:fileutils", |
Rasmus Brandt | 6f0aafa | 2019-03-07 14:27:57 +0100 | [diff] [blame] | 669 | "../../test:perf_test", |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 670 | "../../test:test_common", |
ehmaldonado | 9cbb0a1 | 2017-01-30 03:07:03 -0800 | [diff] [blame] | 671 | "../../test:test_support", |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 672 | "../../test:video_test_common", |
brandtr | df23299 | 2017-09-07 07:50:06 -0700 | [diff] [blame] | 673 | "../../test:video_test_support", |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 674 | "../rtp_rtcp:rtp_rtcp_format", |
Karl Wiberg | 918f50c | 2018-07-05 11:40:33 +0200 | [diff] [blame] | 675 | "//third_party/abseil-cpp/absl/memory", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 676 | "//third_party/abseil-cpp/absl/types:optional", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 677 | ] |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 678 | } |
| 679 | |
| 680 | rtc_source_set("video_coding_modules_tests") { |
| 681 | testonly = true |
Johannes Kron | 108f20f | 2019-02-07 16:42:45 +0100 | [diff] [blame] | 682 | defines = [] |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 683 | |
| 684 | sources = [ |
| 685 | "codecs/h264/test/h264_impl_unittest.cc", |
| 686 | "codecs/multiplex/test/multiplex_adapter_unittest.cc", |
| 687 | "codecs/test/video_encoder_decoder_instantiation_tests.cc", |
| 688 | "codecs/test/videocodec_test_libvpx.cc", |
Erik Språng | 5fbc0e0 | 2018-10-04 17:52:36 +0200 | [diff] [blame] | 689 | "codecs/vp8/test/mock_libvpx_interface.h", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 690 | "codecs/vp8/test/vp8_impl_unittest.cc", |
| 691 | "codecs/vp9/test/vp9_impl_unittest.cc", |
| 692 | ] |
Rasmus Brandt | a7e4844 | 2018-05-14 17:11:49 +0200 | [diff] [blame] | 693 | if (rtc_use_h264) { |
| 694 | sources += [ "codecs/test/videocodec_test_openh264.cc" ] |
| 695 | } |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 696 | |
| 697 | deps = [ |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 698 | ":video_codec_interface", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 699 | ":video_codecs_test_framework", |
| 700 | ":video_coding_utility", |
| 701 | ":videocodec_test_impl", |
| 702 | ":webrtc_h264", |
| 703 | ":webrtc_multiplex", |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 704 | ":webrtc_vp8", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 705 | ":webrtc_vp9", |
| 706 | ":webrtc_vp9_helpers", |
| 707 | "../..:webrtc_common", |
| 708 | "../../api:create_videocodec_test_fixture_api", |
| 709 | "../../api:mock_video_codec_factory", |
Erik Språng | c84cd95 | 2018-10-15 11:55:13 +0200 | [diff] [blame] | 710 | "../../api:mock_video_decoder", |
| 711 | "../../api:mock_video_encoder", |
Mirko Bonadei | d970807 | 2019-01-25 20:26:48 +0100 | [diff] [blame] | 712 | "../../api:scoped_refptr", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 713 | "../../api:videocodec_test_fixture_api", |
Danil Chapovalov | 99b71df | 2018-10-26 15:57:48 +0200 | [diff] [blame] | 714 | "../../api/test/video:function_video_factory", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 715 | "../../api/video:encoded_image", |
Emircan Uysaler | 800787f | 2018-07-16 10:01:49 -0700 | [diff] [blame] | 716 | "../../api/video:video_frame", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 717 | "../../api/video:video_frame_i420", |
Anders Carlsson | dd3e0ab | 2018-06-12 11:15:56 +0200 | [diff] [blame] | 718 | "../../api/video_codecs:rtc_software_fallback_wrappers", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 719 | "../../api/video_codecs:video_codecs_api", |
| 720 | "../../common_video", |
Johannes Kron | f1ab9b9 | 2018-12-14 10:14:07 +0100 | [diff] [blame] | 721 | "../../common_video/test:utilities", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 722 | "../../media:rtc_h264_profile_id", |
Anders Carlsson | b330688 | 2018-05-14 10:11:42 +0200 | [diff] [blame] | 723 | "../../media:rtc_internal_video_codecs", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 724 | "../../media:rtc_media_base", |
Jonathan Yu | 9a5da49 | 2018-10-19 00:51:18 -0700 | [diff] [blame] | 725 | "../../media:rtc_simulcast_encoder_adapter", |
Emircan Uysaler | 0823eec | 2018-07-13 17:10:00 -0700 | [diff] [blame] | 726 | "../../media:rtc_vp9_profile", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 727 | "../../rtc_base", |
Sergey Silkin | 390f358 | 2018-10-01 17:13:50 +0200 | [diff] [blame] | 728 | "../../test:field_trial", |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 729 | "../../test:fileutils", |
| 730 | "../../test:test_support", |
| 731 | "../../test:video_test_common", |
Sergey Silkin | d902d58 | 2018-05-18 17:31:19 +0200 | [diff] [blame] | 732 | "../rtp_rtcp:rtp_rtcp_format", |
Karl Wiberg | 918f50c | 2018-07-05 11:40:33 +0200 | [diff] [blame] | 733 | "//third_party/abseil-cpp/absl/memory", |
Danil Chapovalov | 0040b66 | 2018-06-18 10:48:16 +0200 | [diff] [blame] | 734 | "//third_party/abseil-cpp/absl/types:optional", |
Emircan Uysaler | 0823eec | 2018-07-13 17:10:00 -0700 | [diff] [blame] | 735 | "//third_party/libyuv", |
ehmaldonado | 9cbb0a1 | 2017-01-30 03:07:03 -0800 | [diff] [blame] | 736 | ] |
brandtr | 6bb8e0e | 2017-02-20 04:35:52 -0800 | [diff] [blame] | 737 | |
brandtr | df23299 | 2017-09-07 07:50:06 -0700 | [diff] [blame] | 738 | data = video_coding_modules_tests_resources |
brandtr | 6bb8e0e | 2017-02-20 04:35:52 -0800 | [diff] [blame] | 739 | |
| 740 | if (is_android) { |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 741 | sources += [ "codecs/test/videocodec_test_mediacodec.cc" ] |
Rasmus Brandt | 3102734 | 2017-09-29 13:48:12 +0000 | [diff] [blame] | 742 | |
Rasmus Brandt | f105325 | 2018-02-05 09:52:31 +0100 | [diff] [blame] | 743 | deps += [ ":android_codec_factory_helper" ] |
brandtr | 6bb8e0e | 2017-02-20 04:35:52 -0800 | [diff] [blame] | 744 | } |
| 745 | |
| 746 | if (is_ios || is_mac) { |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 747 | sources += [ "codecs/test/videocodec_test_videotoolbox.cc" ] |
Rasmus Brandt | f7a3558 | 2017-10-24 10:16:33 +0200 | [diff] [blame] | 748 | |
Sergey Silkin | 1d2b627 | 2018-03-28 13:04:35 +0200 | [diff] [blame] | 749 | deps += [ ":objc_codec_factory_helper" ] |
| 750 | |
| 751 | if (num_video_coding_modules_tests_resources > 0) { |
| 752 | deps += [ ":video_coding_modules_tests_resources_bundle_data" ] |
| 753 | } |
brandtr | 6bb8e0e | 2017-02-20 04:35:52 -0800 | [diff] [blame] | 754 | } |
| 755 | |
Erik Språng | dcc0238 | 2018-10-10 14:58:46 +0200 | [diff] [blame] | 756 | if (rtc_build_libvpx) { |
| 757 | deps += [ rtc_libvpx_dir ] |
| 758 | } |
ehmaldonado | 9cbb0a1 | 2017-01-30 03:07:03 -0800 | [diff] [blame] | 759 | } |
| 760 | |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 761 | rtc_source_set("video_coding_unittests") { |
| 762 | testonly = true |
kjellander | e0629c0 | 2017-04-25 04:04:50 -0700 | [diff] [blame] | 763 | |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 764 | sources = [ |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 765 | "codecs/test/videocodec_test_fixture_config_unittest.cc", |
| 766 | "codecs/test/videocodec_test_stats_impl_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 767 | "codecs/test/videoprocessor_unittest.cc", |
| 768 | "codecs/vp8/default_temporal_layers_unittest.cc", |
Rasmus Brandt | 0cedc05 | 2018-05-31 12:53:00 +0200 | [diff] [blame] | 769 | "codecs/vp8/libvpx_vp8_simulcast_test.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 770 | "codecs/vp8/screenshare_layers_unittest.cc", |
Sergey Silkin | 1322dbc | 2018-04-23 12:30:35 +0200 | [diff] [blame] | 771 | "codecs/vp9/svc_config_unittest.cc", |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 772 | "codecs/vp9/svc_rate_allocator_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 773 | "decoding_state_unittest.cc", |
Ying Wang | 3b790f3 | 2018-01-19 17:58:57 +0100 | [diff] [blame] | 774 | "fec_controller_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 775 | "frame_buffer2_unittest.cc", |
| 776 | "h264_sprop_parameter_sets_unittest.cc", |
| 777 | "h264_sps_pps_tracker_unittest.cc", |
| 778 | "histogram_unittest.cc", |
| 779 | "include/mock/mock_vcm_callbacks.h", |
| 780 | "jitter_buffer_unittest.cc", |
| 781 | "jitter_estimator_tests.cc", |
Elad Alon | 10874b2 | 2019-02-21 16:25:40 +0100 | [diff] [blame] | 782 | "loss_notification_controller_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 783 | "nack_module_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 784 | "receiver_unittest.cc", |
| 785 | "rtp_frame_reference_finder_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 786 | "session_info_unittest.cc", |
| 787 | "test/stream_generator.cc", |
| 788 | "test/stream_generator.h", |
| 789 | "timing_unittest.cc", |
Ilya Nikolaevskiy | 1371784 | 2019-01-14 13:24:22 +0100 | [diff] [blame] | 790 | "utility/decoded_frames_history_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 791 | "utility/default_video_bitrate_allocator_unittest.cc", |
| 792 | "utility/frame_dropper_unittest.cc", |
Sergey Silkin | ae3144c | 2018-08-29 01:05:26 +0200 | [diff] [blame] | 793 | "utility/framerate_controller_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 794 | "utility/ivf_file_writer_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 795 | "utility/quality_scaler_unittest.cc", |
| 796 | "utility/simulcast_rate_allocator_unittest.cc", |
sprang | 429600d | 2017-01-26 06:12:26 -0800 | [diff] [blame] | 797 | "video_codec_initializer_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 798 | "video_packet_buffer_unittest.cc", |
| 799 | "video_receiver_unittest.cc", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 800 | ] |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 801 | if (rtc_use_h264) { |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 802 | sources += [ |
| 803 | "codecs/h264/h264_encoder_impl_unittest.cc", |
| 804 | "codecs/h264/h264_simulcast_unittest.cc", |
| 805 | ] |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 806 | } |
Anders Carlsson | b330688 | 2018-05-14 10:11:42 +0200 | [diff] [blame] | 807 | |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 808 | deps = [ |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 809 | ":codec_globals_headers", |
philipel | d5a272f | 2018-02-21 14:30:34 +0100 | [diff] [blame] | 810 | ":encoded_frame", |
Ilya Nikolaevskiy | 8643b78 | 2018-06-07 16:15:40 +0200 | [diff] [blame] | 811 | ":nack_module", |
| 812 | ":packet", |
Sergio Garcia Murillo | 43800f9 | 2018-06-21 16:16:38 +0200 | [diff] [blame] | 813 | ":simulcast_test_fixture_impl", |
Patrik Höglund | 99175c6 | 2018-01-08 11:05:10 +0100 | [diff] [blame] | 814 | ":video_codec_interface", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 815 | ":video_codecs_test_framework", |
| 816 | ":video_coding", |
| 817 | ":video_coding_utility", |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 818 | ":videocodec_test_impl", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 819 | ":webrtc_h264", |
| 820 | ":webrtc_vp8", |
Erik Språng | 4529fbc | 2018-10-12 10:30:31 +0200 | [diff] [blame] | 821 | ":webrtc_vp8_temporal_layers", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 822 | ":webrtc_vp9", |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 823 | ":webrtc_vp9_helpers", |
mbonadei | 1140f97 | 2017-04-26 03:38:35 -0700 | [diff] [blame] | 824 | "..:module_api", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 825 | "..:module_fec_api", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 826 | "../..:webrtc_common", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 827 | "../../api:array_view", |
Rasmus Brandt | 0cedc05 | 2018-05-31 12:53:00 +0200 | [diff] [blame] | 828 | "../../api:create_simulcast_test_fixture_api", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 829 | "../../api:fec_controller_api", |
Erik Språng | c84cd95 | 2018-10-15 11:55:13 +0200 | [diff] [blame] | 830 | "../../api:mock_video_decoder", |
| 831 | "../../api:mock_video_encoder", |
Mirko Bonadei | d970807 | 2019-01-25 20:26:48 +0100 | [diff] [blame] | 832 | "../../api:scoped_refptr", |
Rasmus Brandt | 0cedc05 | 2018-05-31 12:53:00 +0200 | [diff] [blame] | 833 | "../../api:simulcast_test_fixture_api", |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 834 | "../../api:videocodec_test_fixture_api", |
Danil Chapovalov | 99b71df | 2018-10-26 15:57:48 +0200 | [diff] [blame] | 835 | "../../api/test/video:function_video_factory", |
Jiawei Ou | c2ebe21 | 2018-11-08 10:02:56 -0800 | [diff] [blame] | 836 | "../../api/video:builtin_video_bitrate_allocator_factory", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 837 | "../../api/video:video_bitrate_allocation", |
Jiawei Ou | 4206a0a | 2018-07-20 15:49:43 -0700 | [diff] [blame] | 838 | "../../api/video:video_bitrate_allocator", |
Jiawei Ou | c2ebe21 | 2018-11-08 10:02:56 -0800 | [diff] [blame] | 839 | "../../api/video:video_bitrate_allocator_factory", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame] | 840 | "../../api/video:video_frame", |
| 841 | "../../api/video:video_frame_i420", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 842 | "../../api/video_codecs:video_codecs_api", |
Elad Alon | cde8ab2 | 2019-03-20 11:56:20 +0100 | [diff] [blame] | 843 | "../../api/video_codecs:vp8_temporal_layers_factory", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 844 | "../../common_video", |
Kári Tristan Helgason | 8cbb1c9 | 2018-04-13 14:25:22 +0200 | [diff] [blame] | 845 | "../../media:rtc_media_base", |
Artem Titov | 94b57c0 | 2019-03-21 13:35:10 +0100 | [diff] [blame] | 846 | "../../rtc_base", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 847 | "../../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 848 | "../../rtc_base:rtc_base_approved", |
Ilya Nikolaevskiy | 764aeb7 | 2018-04-03 10:01:52 +0200 | [diff] [blame] | 849 | "../../rtc_base:rtc_base_tests_utils", |
Bjorn Terelius | a194e58 | 2017-10-25 13:07:09 +0200 | [diff] [blame] | 850 | "../../rtc_base:rtc_numerics", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 851 | "../../rtc_base:rtc_task_queue", |
Danil Chapovalov | d26a916 | 2019-03-19 18:08:37 +0100 | [diff] [blame] | 852 | "../../rtc_base:task_queue_for_test", |
Erik Språng | b1e031a | 2018-11-01 11:20:49 +0100 | [diff] [blame] | 853 | "../../rtc_base/experiments:jitter_upper_bound_experiment", |
Mirko Bonadei | a498ae8 | 2017-12-06 09:17:14 +0100 | [diff] [blame] | 854 | "../../system_wrappers", |
Mirko Bonadei | 17f4878 | 2018-09-28 08:51:10 +0200 | [diff] [blame] | 855 | "../../system_wrappers:field_trial", |
| 856 | "../../system_wrappers:metrics", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 857 | "../../test:field_trial", |
Patrik Höglund | 7696bef | 2018-03-15 15:05:39 +0100 | [diff] [blame] | 858 | "../../test:fileutils", |
Rasmus Brandt | 0cedc05 | 2018-05-31 12:53:00 +0200 | [diff] [blame] | 859 | "../../test:test_common", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 860 | "../../test:test_support", |
| 861 | "../../test:video_test_common", |
ehmaldonado | 656610f | 2017-02-06 02:21:11 -0800 | [diff] [blame] | 862 | "../../test:video_test_support", |
Mirko Bonadei | b5728d9 | 2017-12-06 07:51:33 +0100 | [diff] [blame] | 863 | "../rtp_rtcp:rtp_rtcp_format", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 864 | "../rtp_rtcp:rtp_video_header", |
Karl Wiberg | 918f50c | 2018-07-05 11:40:33 +0200 | [diff] [blame] | 865 | "//third_party/abseil-cpp/absl/memory", |
Erik Språng | b1e031a | 2018-11-01 11:20:49 +0100 | [diff] [blame] | 866 | "//third_party/abseil-cpp/absl/types:optional", |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 867 | "//third_party/abseil-cpp/absl/types:variant", |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 868 | ] |
| 869 | if (rtc_build_libvpx) { |
| 870 | deps += [ rtc_libvpx_dir ] |
| 871 | } |
ehmaldonado | 3626865 | 2017-01-19 08:27:11 -0800 | [diff] [blame] | 872 | } |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 873 | } |