2014-06-23 19:21:07 +00:00
|
|
|
# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
2020-06-03 20:44:50 -07:00
|
|
|
import("//third_party/libaom/options.gni")
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../../webrtc.gni")
|
2014-06-23 19:21:07 +00:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("encoded_frame") {
|
2018-02-21 14:30:34 +01:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"encoded_frame.cc",
|
|
|
|
|
"encoded_frame.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2018-11-28 16:47:49 +01:00
|
|
|
":codec_globals_headers",
|
2018-02-21 14:30:34 +01:00
|
|
|
":video_codec_interface",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../../api/video:encoded_image",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2018-02-21 14:30:34 +01:00
|
|
|
"../../modules:module_api_public",
|
2019-10-07 12:56:24 +02:00
|
|
|
"../../modules/rtp_rtcp:rtp_video_header",
|
2018-02-21 14:30:34 +01:00
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base/experiments:alr_experiment",
|
2018-08-27 10:08:58 -05:00
|
|
|
"../../rtc_base/experiments:rtt_mult_experiment",
|
2020-02-28 16:28:34 +01:00
|
|
|
"../../rtc_base/system:rtc_export",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../system_wrappers",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2018-06-18 10:48:16 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-11-28 16:47:49 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
2018-02-21 14:30:34 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-18 14:14:11 +02:00
|
|
|
rtc_library("chain_diff_calculator") {
|
|
|
|
|
sources = [
|
|
|
|
|
"chain_diff_calculator.cc",
|
|
|
|
|
"chain_diff_calculator.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:logging",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2020-05-18 14:14:11 +02:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-05 15:06:17 +01:00
|
|
|
rtc_library("frame_dependencies_calculator") {
|
|
|
|
|
sources = [
|
|
|
|
|
"frame_dependencies_calculator.cc",
|
|
|
|
|
"frame_dependencies_calculator.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../common_video/generic_frame_descriptor",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:logging",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2020-02-05 15:06:17 +01:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
|
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-22 15:09:39 +02:00
|
|
|
rtc_library("nack_requester") {
|
2018-06-07 16:15:40 +02:00
|
|
|
sources = [
|
|
|
|
|
"histogram.cc",
|
|
|
|
|
"histogram.h",
|
2021-07-22 15:09:39 +02:00
|
|
|
"nack_requester.cc",
|
|
|
|
|
"nack_requester.h",
|
2018-06-07 16:15:40 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"..:module_api",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../../api:sequence_checker",
|
2021-07-20 13:32:02 +02:00
|
|
|
"../../api/task_queue",
|
2022-06-16 21:27:45 +02:00
|
|
|
"../../api/task_queue:pending_task_safety_flag",
|
2019-10-25 09:24:45 +02:00
|
|
|
"../../api/units:time_delta",
|
|
|
|
|
"../../api/units:timestamp",
|
2018-06-07 16:15:40 +02:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2018-06-07 16:15:40 +02:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2019-10-25 09:24:45 +02:00
|
|
|
"../../rtc_base/experiments:field_trial_parser",
|
2020-05-27 12:55:38 +02:00
|
|
|
"../../rtc_base/task_utils:repeating_task",
|
2018-06-07 16:15:40 +02:00
|
|
|
"../../system_wrappers",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-15 10:45:43 +02:00
|
|
|
rtc_library("packet_buffer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"packet_buffer.cc",
|
|
|
|
|
"packet_buffer.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":codec_globals_headers",
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../api:rtp_packet_info",
|
|
|
|
|
"../../api/units:timestamp",
|
|
|
|
|
"../../api/video:encoded_image",
|
|
|
|
|
"../../api/video:video_frame_type",
|
|
|
|
|
"../../common_video",
|
|
|
|
|
"../../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../../rtc_base:copy_on_write_buffer",
|
2021-09-15 10:45:43 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2022-04-14 13:41:58 +02:00
|
|
|
"../../rtc_base:mod_ops",
|
2021-09-15 10:45:43 +02:00
|
|
|
"../../rtc_base:rtc_numerics",
|
|
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../rtp_rtcp:rtp_video_header",
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("h264_packet_buffer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"h264_packet_buffer.cc",
|
|
|
|
|
"h264_packet_buffer.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":codec_globals_headers",
|
|
|
|
|
":packet_buffer",
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../api:rtp_packet_info",
|
|
|
|
|
"../../api/units:timestamp",
|
|
|
|
|
"../../api/video:encoded_image",
|
|
|
|
|
"../../api/video:video_frame_type",
|
|
|
|
|
"../../common_video",
|
|
|
|
|
"../../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../../rtc_base:copy_on_write_buffer",
|
2021-09-15 10:45:43 +02:00
|
|
|
"../../rtc_base:logging",
|
|
|
|
|
"../../rtc_base:rtc_numerics",
|
|
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../rtp_rtcp:rtp_video_header",
|
|
|
|
|
]
|
2022-10-10 15:39:13 +00:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2021-09-15 10:45:43 +02:00
|
|
|
}
|
|
|
|
|
|
2021-12-15 15:05:15 +01:00
|
|
|
rtc_library("frame_helpers") {
|
|
|
|
|
sources = [
|
|
|
|
|
"frame_helpers.cc",
|
|
|
|
|
"frame_helpers.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../api/video:encoded_frame",
|
|
|
|
|
"../../rtc_base:logging",
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/container:inlined_vector" ]
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-16 11:01:46 +00:00
|
|
|
rtc_library("frame_buffer2") {
|
|
|
|
|
sources = [
|
|
|
|
|
"frame_buffer2.cc",
|
|
|
|
|
"frame_buffer2.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":frame_helpers",
|
|
|
|
|
":video_codec_interface",
|
|
|
|
|
":video_coding_utility",
|
|
|
|
|
"../../api:field_trials_view",
|
|
|
|
|
"../../api:sequence_checker",
|
|
|
|
|
"../../api/task_queue",
|
|
|
|
|
"../../api/units:data_size",
|
|
|
|
|
"../../api/units:time_delta",
|
|
|
|
|
"../../api/video:encoded_frame",
|
|
|
|
|
"../../api/video:encoded_image",
|
|
|
|
|
"../../api/video:video_rtp_headers",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:event_tracer",
|
|
|
|
|
"../../rtc_base:logging",
|
|
|
|
|
"../../rtc_base:macromagic",
|
|
|
|
|
"../../rtc_base:rtc_event",
|
|
|
|
|
"../../rtc_base:rtc_numerics",
|
|
|
|
|
"../../rtc_base/experiments:field_trial_parser",
|
|
|
|
|
"../../rtc_base/experiments:rtt_mult_experiment",
|
|
|
|
|
"../../rtc_base/synchronization:mutex",
|
|
|
|
|
"../../rtc_base/system:no_unique_address",
|
|
|
|
|
"../../rtc_base/task_utils:repeating_task",
|
|
|
|
|
"../../system_wrappers",
|
|
|
|
|
"timing:inter_frame_delay",
|
|
|
|
|
"timing:jitter_estimator",
|
|
|
|
|
"timing:timing_module",
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/container:inlined_vector" ]
|
|
|
|
|
}
|
|
|
|
|
|
2021-12-12 15:27:00 +01:00
|
|
|
rtc_library("video_coding") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
2018-02-20 16:09:48 +01:00
|
|
|
"decoder_database.cc",
|
|
|
|
|
"decoder_database.h",
|
2018-01-19 17:58:57 +01:00
|
|
|
"fec_controller_default.cc",
|
|
|
|
|
"fec_controller_default.h",
|
2017-01-12 06:16:24 -08:00
|
|
|
"fec_rate_table.h",
|
2016-04-01 02:01:54 -07:00
|
|
|
"frame_object.cc",
|
|
|
|
|
"frame_object.h",
|
2018-02-21 19:38:59 +00:00
|
|
|
"generic_decoder.cc",
|
2015-11-18 22:00:21 +01:00
|
|
|
"generic_decoder.h",
|
2016-12-08 03:57:17 -08:00
|
|
|
"h264_sprop_parameter_sets.cc",
|
|
|
|
|
"h264_sprop_parameter_sets.h",
|
2016-11-03 04:03:01 -07:00
|
|
|
"h264_sps_pps_tracker.cc",
|
|
|
|
|
"h264_sps_pps_tracker.h",
|
2016-11-16 16:41:30 +01:00
|
|
|
"include/video_codec_initializer.h",
|
2015-11-18 22:00:21 +01:00
|
|
|
"internal_defines.h",
|
2019-02-21 16:25:40 +01:00
|
|
|
"loss_notification_controller.cc",
|
|
|
|
|
"loss_notification_controller.h",
|
2015-11-18 22:00:21 +01:00
|
|
|
"media_opt_util.cc",
|
|
|
|
|
"media_opt_util.h",
|
2020-11-27 17:56:37 +01:00
|
|
|
"rtp_frame_id_only_ref_finder.cc",
|
|
|
|
|
"rtp_frame_id_only_ref_finder.h",
|
2016-05-13 06:01:03 -07:00
|
|
|
"rtp_frame_reference_finder.cc",
|
|
|
|
|
"rtp_frame_reference_finder.h",
|
2020-11-27 17:56:37 +01:00
|
|
|
"rtp_generic_ref_finder.cc",
|
|
|
|
|
"rtp_generic_ref_finder.h",
|
|
|
|
|
"rtp_seq_num_only_ref_finder.cc",
|
|
|
|
|
"rtp_seq_num_only_ref_finder.h",
|
|
|
|
|
"rtp_vp8_ref_finder.cc",
|
|
|
|
|
"rtp_vp8_ref_finder.h",
|
|
|
|
|
"rtp_vp9_ref_finder.cc",
|
|
|
|
|
"rtp_vp9_ref_finder.h",
|
2016-11-16 16:41:30 +01:00
|
|
|
"video_codec_initializer.cc",
|
2019-09-09 12:51:55 +02:00
|
|
|
"video_receiver2.cc",
|
|
|
|
|
"video_receiver2.h",
|
2014-06-23 19:21:07 +00:00
|
|
|
]
|
|
|
|
|
|
2020-11-25 17:01:22 +01:00
|
|
|
deps = [
|
2017-11-02 14:28:06 +01:00
|
|
|
":codec_globals_headers",
|
2018-02-21 14:30:34 +01:00
|
|
|
":encoded_frame",
|
2021-12-15 15:05:15 +01:00
|
|
|
":frame_helpers",
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2014-06-23 19:21:07 +00:00
|
|
|
":video_coding_utility",
|
2022-05-13 13:34:37 +02:00
|
|
|
":webrtc_vp8_scalability",
|
2018-03-28 19:32:37 +02:00
|
|
|
":webrtc_vp9_helpers",
|
2017-04-26 03:38:35 -07:00
|
|
|
"..:module_api",
|
2017-11-16 14:33:53 +01:00
|
|
|
"..:module_api_public",
|
2020-11-25 17:01:22 +01:00
|
|
|
"..:module_fec_api",
|
|
|
|
|
"../../api:array_view",
|
2018-01-19 17:58:57 +01:00
|
|
|
"../../api:fec_controller_api",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2019-03-20 08:40:23 +01:00
|
|
|
"../../api:rtp_headers",
|
2019-11-14 14:57:33 +01:00
|
|
|
"../../api:rtp_packet_info",
|
2020-11-25 17:01:22 +01:00
|
|
|
"../../api:scoped_refptr",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../../api:sequence_checker",
|
2021-12-15 14:33:40 +01:00
|
|
|
"../../api/task_queue",
|
2018-12-13 11:23:27 +01:00
|
|
|
"../../api/units:data_rate",
|
2022-03-07 13:21:51 +01:00
|
|
|
"../../api/units:data_size",
|
|
|
|
|
"../../api/units:frequency",
|
2019-09-11 12:00:22 +02:00
|
|
|
"../../api/units:time_delta",
|
2021-03-03 14:39:44 +01:00
|
|
|
"../../api/units:timestamp",
|
2018-11-08 10:02:56 -08:00
|
|
|
"../../api/video:builtin_video_bitrate_allocator_factory",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:encoded_frame",
|
2020-11-25 17:01:22 +01:00
|
|
|
"../../api/video:encoded_image",
|
2020-04-16 11:36:55 +02:00
|
|
|
"../../api/video:video_adaptation",
|
2020-11-25 17:01:22 +01:00
|
|
|
"../../api/video:video_adaptation",
|
|
|
|
|
"../../api/video:video_bitrate_allocation",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2020-11-25 17:01:22 +01:00
|
|
|
"../../api/video:video_bitrate_allocator_factory",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2019-11-28 16:50:02 +01:00
|
|
|
"../../api/video:video_frame_type",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2018-01-08 11:05:10 +01:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2014-06-23 19:21:07 +00:00
|
|
|
"../../common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../../rtc_base:copy_on_write_buffer",
|
2022-04-19 17:47:13 +02:00
|
|
|
"../../rtc_base:event_tracer",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2022-04-04 16:57:52 +02:00
|
|
|
"../../rtc_base:rtc_event",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../../rtc_base:threading",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2018-01-12 10:54:18 +01:00
|
|
|
"../../rtc_base/experiments:alr_experiment",
|
2019-09-11 12:00:22 +02:00
|
|
|
"../../rtc_base/experiments:field_trial_parser",
|
2019-10-11 16:54:18 +02:00
|
|
|
"../../rtc_base/experiments:min_video_bitrate_experiment",
|
2019-10-30 13:01:46 +01:00
|
|
|
"../../rtc_base/experiments:rate_control_settings",
|
2018-08-27 10:08:58 -05:00
|
|
|
"../../rtc_base/experiments:rtt_mult_experiment",
|
2020-06-04 00:41:20 +02:00
|
|
|
"../../rtc_base/synchronization:mutex",
|
2020-11-25 17:01:22 +01:00
|
|
|
"../../rtc_base/system:no_unique_address",
|
2019-04-11 12:39:34 +02:00
|
|
|
"../../rtc_base/task_utils:repeating_task",
|
2018-07-23 17:38:12 +02:00
|
|
|
"../../rtc_base/third_party/base64",
|
2014-06-23 19:21:07 +00:00
|
|
|
"../../system_wrappers",
|
2020-11-25 17:01:22 +01:00
|
|
|
"../../system_wrappers:field_trial",
|
|
|
|
|
"../../system_wrappers:metrics",
|
2022-09-29 10:28:24 +02:00
|
|
|
"../../video/config:encoder_config",
|
2019-11-28 16:50:02 +01:00
|
|
|
"../rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2020-11-25 17:01:22 +01:00
|
|
|
"../rtp_rtcp:rtp_video_header",
|
|
|
|
|
"codecs/av1:av1_svc_config",
|
2022-05-13 13:34:37 +02:00
|
|
|
"svc:scalability_mode_util",
|
2022-05-23 09:53:15 +02:00
|
|
|
"timing:inter_frame_delay",
|
2022-05-25 10:12:42 +02:00
|
|
|
"timing:jitter_estimator",
|
2022-05-23 09:53:15 +02:00
|
|
|
"timing:rtt_filter",
|
2022-05-25 12:03:35 +02:00
|
|
|
"timing:timing_module",
|
2020-11-25 17:01:22 +01:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2022-08-08 11:21:26 +00:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2020-11-25 17:01:22 +01:00
|
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
|
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
2014-06-23 19:21:07 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("video_codec_interface") {
|
2018-01-15 16:01:43 +01:00
|
|
|
visibility = [ "*" ]
|
2018-01-08 11:05:10 +01:00
|
|
|
sources = [
|
2019-03-04 16:37:50 +01:00
|
|
|
"include/video_codec_interface.cc",
|
2018-01-08 11:05:10 +01:00
|
|
|
"include/video_codec_interface.h",
|
|
|
|
|
"include/video_coding_defines.h",
|
|
|
|
|
"include/video_error_codes.h",
|
2018-03-27 08:31:45 +02:00
|
|
|
"video_coding_defines.cc",
|
2018-01-08 11:05:10 +01:00
|
|
|
]
|
|
|
|
|
deps = [
|
2019-10-07 12:56:24 +02:00
|
|
|
":codec_globals_headers",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2022-12-06 10:09:10 +00:00
|
|
|
"../../api/video_codecs:scalability_mode",
|
2018-01-08 11:05:10 +01:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../common_video",
|
|
|
|
|
"../../common_video/generic_frame_descriptor",
|
2019-04-02 11:33:59 +02:00
|
|
|
"../../rtc_base/system:rtc_export",
|
2018-01-08 11:05:10 +01:00
|
|
|
]
|
2022-10-10 08:43:36 +00:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2018-01-08 11:05:10 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("video_coding_legacy") {
|
2019-09-10 08:29:17 +02:00
|
|
|
visibility = [ ":video_coding_unittests" ]
|
2019-09-10 10:48:48 +02:00
|
|
|
sources = [
|
|
|
|
|
"decoding_state.cc",
|
|
|
|
|
"decoding_state.h",
|
2020-03-05 15:31:10 +01:00
|
|
|
"event_wrapper.cc",
|
|
|
|
|
"event_wrapper.h",
|
2019-09-10 10:48:48 +02:00
|
|
|
"frame_buffer.cc",
|
|
|
|
|
"frame_buffer.h",
|
|
|
|
|
"include/video_coding.h",
|
|
|
|
|
"jitter_buffer.cc",
|
|
|
|
|
"jitter_buffer.h",
|
2019-09-10 15:28:17 +02:00
|
|
|
"jitter_buffer_common.h",
|
2019-11-14 14:57:33 +01:00
|
|
|
"packet.cc",
|
|
|
|
|
"packet.h",
|
2019-09-10 10:48:48 +02:00
|
|
|
"receiver.cc",
|
|
|
|
|
"receiver.h",
|
|
|
|
|
"session_info.cc",
|
|
|
|
|
"session_info.h",
|
|
|
|
|
"video_coding_impl.cc",
|
|
|
|
|
"video_coding_impl.h",
|
|
|
|
|
"video_receiver.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":codec_globals_headers",
|
|
|
|
|
":encoded_frame",
|
|
|
|
|
":video_codec_interface",
|
|
|
|
|
":video_coding",
|
|
|
|
|
"..:module_api",
|
|
|
|
|
"..:module_api_public",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2019-09-10 10:48:48 +02:00
|
|
|
"../../api:rtp_headers",
|
2019-11-14 14:57:33 +01:00
|
|
|
"../../api:rtp_packet_info",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../../api:sequence_checker",
|
2022-03-25 12:43:14 +01:00
|
|
|
"../../api/transport:field_trial_based_config",
|
2021-04-30 13:10:56 +02:00
|
|
|
"../../api/units:timestamp",
|
2019-09-10 10:48:48 +02:00
|
|
|
"../../api/video:encoded_image",
|
|
|
|
|
"../../api/video:video_frame",
|
2019-11-14 14:57:33 +01:00
|
|
|
"../../api/video:video_frame_type",
|
2019-09-10 10:48:48 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
|
|
|
|
"../../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../../common_video",
|
2019-09-23 10:31:16 +02:00
|
|
|
"../../modules/rtp_rtcp:rtp_video_header",
|
2019-09-10 10:48:48 +02:00
|
|
|
"../../rtc_base:checks",
|
2022-04-19 17:47:13 +02:00
|
|
|
"../../rtc_base:event_tracer",
|
2019-09-10 10:48:48 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2022-04-14 13:18:04 +02:00
|
|
|
"../../rtc_base:one_time_event",
|
2020-03-05 15:31:10 +01:00
|
|
|
"../../rtc_base:rtc_event",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../../rtc_base:safe_conversions",
|
2022-03-25 12:43:14 +01:00
|
|
|
"../../rtc_base/memory:always_valid_pointer",
|
2020-07-07 12:17:12 +02:00
|
|
|
"../../rtc_base/synchronization:mutex",
|
2019-09-10 10:48:48 +02:00
|
|
|
"../../system_wrappers",
|
2019-11-14 14:57:33 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../rtp_rtcp:rtp_video_header",
|
2022-05-23 09:53:15 +02:00
|
|
|
"timing:inter_frame_delay",
|
2022-05-25 10:12:42 +02:00
|
|
|
"timing:jitter_estimator",
|
2022-05-25 12:03:35 +02:00
|
|
|
"timing:timing_module",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2019-09-10 10:48:48 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
|
|
|
|
]
|
2019-09-10 08:29:17 +02:00
|
|
|
}
|
|
|
|
|
|
2017-09-18 03:08:08 -07:00
|
|
|
rtc_source_set("codec_globals_headers") {
|
2018-10-03 14:54:43 +02:00
|
|
|
visibility = [ "*" ]
|
2017-09-18 03:08:08 -07:00
|
|
|
sources = [
|
|
|
|
|
"codecs/h264/include/h264_globals.h",
|
|
|
|
|
"codecs/interface/common_constants.h",
|
|
|
|
|
"codecs/vp8/include/vp8_globals.h",
|
|
|
|
|
"codecs/vp9/include/vp9_globals.h",
|
|
|
|
|
]
|
2018-07-09 15:52:29 +02:00
|
|
|
|
2020-02-04 10:46:37 +01:00
|
|
|
deps = [ "../../rtc_base:checks" ]
|
2017-09-18 03:08:08 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("video_coding_utility") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-09-18 03:08:08 -07:00
|
|
|
sources = [
|
2021-09-29 17:19:44 +08:00
|
|
|
"utility/bandwidth_quality_scaler.cc",
|
|
|
|
|
"utility/bandwidth_quality_scaler.h",
|
2019-01-14 13:24:22 +01:00
|
|
|
"utility/decoded_frames_history.cc",
|
|
|
|
|
"utility/decoded_frames_history.h",
|
2014-07-07 11:46:43 +00:00
|
|
|
"utility/frame_dropper.cc",
|
2015-11-18 23:04:10 +01:00
|
|
|
"utility/frame_dropper.h",
|
2021-08-16 09:33:13 +02:00
|
|
|
"utility/framerate_controller_deprecated.cc",
|
|
|
|
|
"utility/framerate_controller_deprecated.h",
|
2021-12-08 12:07:09 -08:00
|
|
|
"utility/ivf_defines.h",
|
2019-11-20 13:30:19 +01:00
|
|
|
"utility/ivf_file_reader.cc",
|
|
|
|
|
"utility/ivf_file_reader.h",
|
2016-04-15 01:24:14 -07:00
|
|
|
"utility/ivf_file_writer.cc",
|
|
|
|
|
"utility/ivf_file_writer.h",
|
2021-03-15 10:12:57 +01:00
|
|
|
"utility/qp_parser.cc",
|
|
|
|
|
"utility/qp_parser.h",
|
2014-09-30 18:05:02 +00:00
|
|
|
"utility/quality_scaler.cc",
|
2015-11-18 23:04:10 +01:00
|
|
|
"utility/quality_scaler.h",
|
2018-06-21 16:16:38 +02:00
|
|
|
"utility/simulcast_rate_allocator.cc",
|
|
|
|
|
"utility/simulcast_rate_allocator.h",
|
|
|
|
|
"utility/simulcast_utility.cc",
|
|
|
|
|
"utility/simulcast_utility.h",
|
2022-09-15 08:13:25 +00:00
|
|
|
"utility/vp8_constants.h",
|
2015-05-21 11:12:02 -07:00
|
|
|
"utility/vp8_header_parser.cc",
|
2015-11-18 23:04:10 +01:00
|
|
|
"utility/vp8_header_parser.h",
|
2021-08-17 19:58:52 +02:00
|
|
|
"utility/vp9_constants.h",
|
2017-05-24 10:00:16 -07:00
|
|
|
"utility/vp9_uncompressed_header_parser.cc",
|
|
|
|
|
"utility/vp9_uncompressed_header_parser.h",
|
2014-07-07 11:46:43 +00:00
|
|
|
]
|
|
|
|
|
|
2015-05-25 12:55:39 +02:00
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2021-08-17 19:58:52 +02:00
|
|
|
"../../api:array_view",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2020-04-27 17:40:55 +02:00
|
|
|
"../../api:scoped_refptr",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../../api:sequence_checker",
|
2022-07-06 13:17:54 +02:00
|
|
|
"../../api/units:time_delta",
|
2019-01-14 13:24:22 +01:00
|
|
|
"../../api/video:encoded_frame",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../../api/video:encoded_image",
|
2020-04-16 11:36:55 +02:00
|
|
|
"../../api/video:video_adaptation",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/video:video_bitrate_allocation",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2021-03-15 10:12:57 +01:00
|
|
|
"../../api/video:video_codec_constants",
|
2020-07-17 15:19:40 +02:00
|
|
|
"../../api/video:video_frame",
|
2017-04-05 03:02:20 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2016-07-14 23:35:55 -07:00
|
|
|
"../../common_video",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp",
|
2021-09-01 16:27:04 +02:00
|
|
|
"../../rtc_base:bitstream_reader",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-19 15:58:39 +02:00
|
|
|
"../../rtc_base:rate_statistics",
|
2022-04-05 02:54:12 +02:00
|
|
|
"../../rtc_base:refcount",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2020-04-27 17:40:55 +02:00
|
|
|
"../../rtc_base:weak_ptr",
|
2021-09-29 17:19:44 +08:00
|
|
|
"../../rtc_base/experiments:bandwidth_quality_scaler_settings",
|
|
|
|
|
"../../rtc_base/experiments:encoder_info_settings",
|
2019-05-06 14:17:35 +02:00
|
|
|
"../../rtc_base/experiments:quality_scaler_settings",
|
2018-04-24 16:53:25 +02:00
|
|
|
"../../rtc_base/experiments:quality_scaling_experiment",
|
2019-01-23 16:53:18 +01:00
|
|
|
"../../rtc_base/experiments:rate_control_settings",
|
2019-09-04 16:30:47 +02:00
|
|
|
"../../rtc_base/experiments:stable_target_rate_experiment",
|
2021-03-15 10:12:57 +01:00
|
|
|
"../../rtc_base/synchronization:mutex",
|
2018-07-25 16:05:48 +02:00
|
|
|
"../../rtc_base/system:arch",
|
2019-02-08 16:40:53 +01:00
|
|
|
"../../rtc_base/system:file_wrapper",
|
2020-11-23 11:07:42 +01:00
|
|
|
"../../rtc_base/system:no_unique_address",
|
2019-01-18 10:30:54 +01:00
|
|
|
"../../rtc_base/task_utils:repeating_task",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2015-05-25 12:55:39 +02:00
|
|
|
]
|
2021-04-19 11:46:12 +02:00
|
|
|
absl_deps = [
|
2021-09-01 16:27:04 +02:00
|
|
|
"//third_party/abseil-cpp/absl/numeric:bits",
|
2021-04-19 11:46:12 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings:strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2014-06-23 19:21:07 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("webrtc_h264") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2015-06-29 14:34:58 -07:00
|
|
|
sources = [
|
|
|
|
|
"codecs/h264/h264.cc",
|
2019-05-24 12:17:59 +02:00
|
|
|
"codecs/h264/h264_color_space.cc",
|
|
|
|
|
"codecs/h264/h264_color_space.h",
|
|
|
|
|
"codecs/h264/h264_decoder_impl.cc",
|
|
|
|
|
"codecs/h264/h264_decoder_impl.h",
|
|
|
|
|
"codecs/h264/h264_encoder_impl.cc",
|
|
|
|
|
"codecs/h264/h264_encoder_impl.h",
|
2015-06-29 14:34:58 -07:00
|
|
|
"codecs/h264/include/h264.h",
|
|
|
|
|
]
|
|
|
|
|
|
2016-01-27 01:36:03 -08:00
|
|
|
defines = []
|
2015-06-29 14:34:58 -07:00
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2016-12-08 09:56:16 -08:00
|
|
|
":video_coding_utility",
|
2022-12-06 10:09:10 +00:00
|
|
|
"../../api/transport/rtp:dependency_descriptor",
|
|
|
|
|
"../../api/video:video_codec_constants",
|
2018-07-23 17:55:25 -07:00
|
|
|
"../../api/video:video_frame",
|
2019-04-25 11:51:55 +02:00
|
|
|
"../../api/video:video_frame_i010",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2022-05-05 14:37:05 +02:00
|
|
|
"../../api/video_codecs:scalability_mode",
|
2017-09-29 17:54:09 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2019-05-24 12:17:59 +02:00
|
|
|
"../../common_video",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../../media:codec",
|
|
|
|
|
"../../media:media_constants",
|
2017-02-28 00:28:04 -08:00
|
|
|
"../../media:rtc_media_base",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-19 17:47:13 +02:00
|
|
|
"../../rtc_base:event_tracer",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2018-10-16 14:13:50 +02:00
|
|
|
"../../rtc_base/system:rtc_export",
|
2019-04-25 11:51:55 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:metrics",
|
2022-09-21 10:28:51 +09:00
|
|
|
"svc:scalability_structures",
|
|
|
|
|
"svc:scalable_video_controller",
|
2020-06-05 14:30:41 +02:00
|
|
|
"//third_party/libyuv",
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [
|
2022-07-05 21:06:28 +09:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
2018-10-23 10:07:25 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2018-11-28 16:47:49 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2015-06-29 14:34:58 -07:00
|
|
|
]
|
2016-01-11 10:19:02 -08:00
|
|
|
|
2016-01-21 03:34:40 -08:00
|
|
|
if (rtc_use_h264) {
|
2016-01-11 10:19:02 -08:00
|
|
|
deps += [
|
2019-03-21 13:35:10 +01:00
|
|
|
"//third_party/ffmpeg",
|
2016-01-11 10:19:02 -08:00
|
|
|
"//third_party/openh264:encoder",
|
|
|
|
|
]
|
2018-01-15 10:20:00 -05:00
|
|
|
if (!build_with_mozilla) {
|
|
|
|
|
deps += [ "../../media:rtc_media_base" ]
|
|
|
|
|
}
|
2016-01-11 10:19:02 -08:00
|
|
|
}
|
2015-06-29 14:34:58 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("webrtc_multiplex") {
|
2017-10-30 23:10:12 -07:00
|
|
|
sources = [
|
2018-08-15 10:19:32 -07:00
|
|
|
"codecs/multiplex/augmented_video_frame_buffer.cc",
|
|
|
|
|
"codecs/multiplex/include/augmented_video_frame_buffer.h",
|
2018-01-25 13:01:09 -08:00
|
|
|
"codecs/multiplex/include/multiplex_decoder_adapter.h",
|
|
|
|
|
"codecs/multiplex/include/multiplex_encoder_adapter.h",
|
|
|
|
|
"codecs/multiplex/multiplex_decoder_adapter.cc",
|
|
|
|
|
"codecs/multiplex/multiplex_encoded_image_packer.cc",
|
2018-09-06 15:35:55 -07:00
|
|
|
"codecs/multiplex/multiplex_encoded_image_packer.h",
|
2018-01-25 13:01:09 -08:00
|
|
|
"codecs/multiplex/multiplex_encoder_adapter.cc",
|
2017-10-30 23:10:12 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2017-10-30 23:10:12 -07:00
|
|
|
":video_coding_utility",
|
2019-06-28 15:19:43 +02:00
|
|
|
"../../api:fec_controller_api",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../../api/video:encoded_image",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2017-10-30 23:10:12 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../common_video",
|
2019-12-19 09:47:11 +01:00
|
|
|
"../../media:rtc_media_base",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2020-07-07 12:17:12 +02:00
|
|
|
"../../rtc_base/synchronization:mutex",
|
2018-01-24 13:36:41 -08:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2017-10-30 23:10:12 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2020-12-09 20:58:21 +01:00
|
|
|
# This target defines a bare-bones interface towards libvpx, used by the
|
|
|
|
|
# VP8 and VP9 wrappers below.
|
|
|
|
|
rtc_library("webrtc_libvpx_interface") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/interface/libvpx_interface.cc",
|
|
|
|
|
"codecs/interface/libvpx_interface.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [ "../../rtc_base:checks" ]
|
|
|
|
|
if (rtc_build_libvpx) {
|
|
|
|
|
deps += [ rtc_libvpx_dir ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-21 14:35:54 +02:00
|
|
|
rtc_library("mock_libvpx_interface") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "codecs/interface/mock_libvpx_interface.h" ]
|
|
|
|
|
deps = [
|
|
|
|
|
":webrtc_libvpx_interface",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-04 15:10:22 +01:00
|
|
|
# This target includes the internal SW codec.
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("webrtc_vp8") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2018-04-24 16:39:05 +02:00
|
|
|
poisonous = [ "software_video_codecs" ]
|
2014-07-07 11:46:43 +00:00
|
|
|
sources = [
|
2017-12-20 18:08:36 +00:00
|
|
|
"codecs/vp8/include/vp8.h",
|
2018-03-14 17:52:55 +01:00
|
|
|
"codecs/vp8/libvpx_vp8_decoder.cc",
|
|
|
|
|
"codecs/vp8/libvpx_vp8_decoder.h",
|
|
|
|
|
"codecs/vp8/libvpx_vp8_encoder.cc",
|
|
|
|
|
"codecs/vp8/libvpx_vp8_encoder.h",
|
2014-07-07 11:46:43 +00:00
|
|
|
]
|
2014-08-25 14:15:35 +00:00
|
|
|
|
2014-07-07 11:46:43 +00:00
|
|
|
deps = [
|
2018-10-01 18:47:03 +02:00
|
|
|
":codec_globals_headers",
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2014-07-07 11:46:43 +00:00
|
|
|
":video_coding_utility",
|
2020-12-09 20:58:21 +01:00
|
|
|
":webrtc_libvpx_interface",
|
2022-05-13 13:34:37 +02:00
|
|
|
":webrtc_vp8_scalability",
|
2018-10-12 10:30:31 +02:00
|
|
|
":webrtc_vp8_temporal_layers",
|
2019-06-28 15:19:43 +02:00
|
|
|
"../../api:fec_controller_api",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../../api/video:encoded_image",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2022-12-06 10:09:10 +00:00
|
|
|
"../../api/video_codecs:scalability_mode",
|
2018-01-30 10:32:13 +01:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2019-03-20 11:56:20 +01:00
|
|
|
"../../api/video_codecs:vp8_temporal_layers_factory",
|
2014-07-07 11:46:43 +00:00
|
|
|
"../../common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-19 17:47:13 +02:00
|
|
|
"../../rtc_base:event_tracer",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2017-08-09 23:37:05 -07:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2018-11-02 11:38:46 +01:00
|
|
|
"../../rtc_base/experiments:cpu_speed_experiment",
|
2021-02-03 10:16:30 +01:00
|
|
|
"../../rtc_base/experiments:encoder_info_settings",
|
2018-12-11 14:25:25 -08:00
|
|
|
"../../rtc_base/experiments:field_trial_parser",
|
2019-01-23 12:48:13 +01:00
|
|
|
"../../rtc_base/experiments:rate_control_settings",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
|
|
|
|
"../../system_wrappers:metrics",
|
2022-05-13 13:34:37 +02:00
|
|
|
"svc:scalability_mode_util",
|
2017-12-14 11:24:00 +01:00
|
|
|
"//third_party/libyuv",
|
2014-07-07 11:46:43 +00:00
|
|
|
]
|
2021-03-23 09:18:28 +01:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2021-09-15 10:56:04 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:strings",
|
2021-03-23 09:18:28 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2014-09-30 18:05:02 +00:00
|
|
|
if (rtc_build_libvpx) {
|
2015-05-25 12:55:39 +02:00
|
|
|
deps += [ rtc_libvpx_dir ]
|
2014-09-30 18:05:02 +00:00
|
|
|
}
|
2014-06-23 19:21:07 +00:00
|
|
|
}
|
2014-11-01 06:10:48 +00:00
|
|
|
|
2022-05-09 14:35:09 +02:00
|
|
|
rtc_source_set("webrtc_vp8_scalability") {
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/vp8/vp8_scalability.cc",
|
|
|
|
|
"codecs/vp8/vp8_scalability.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [ "../../api/video_codecs:scalability_mode" ]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("webrtc_vp8_temporal_layers") {
|
2018-10-12 10:30:31 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/vp8/default_temporal_layers.cc",
|
|
|
|
|
"codecs/vp8/default_temporal_layers.h",
|
|
|
|
|
"codecs/vp8/include/temporal_layers_checker.h",
|
|
|
|
|
"codecs/vp8/screenshare_layers.cc",
|
|
|
|
|
"codecs/vp8/screenshare_layers.h",
|
|
|
|
|
"codecs/vp8/temporal_layers.h",
|
|
|
|
|
"codecs/vp8/temporal_layers_checker.cc",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":codec_globals_headers",
|
|
|
|
|
":video_codec_interface",
|
|
|
|
|
":video_coding_utility",
|
2019-06-28 18:12:15 +02:00
|
|
|
"../../api:fec_controller_api",
|
2018-10-12 10:30:31 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2022-04-19 15:58:39 +02:00
|
|
|
"../../rtc_base:rate_statistics",
|
2018-10-12 10:30:31 +02:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2018-10-12 10:30:31 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
|
|
|
|
"../../system_wrappers:metrics",
|
|
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2018-10-12 10:30:31 +02:00
|
|
|
}
|
|
|
|
|
|
2018-03-28 19:32:37 +02:00
|
|
|
# This target includes VP9 files that may be used for any VP9 codec, internal SW or external HW.
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("webrtc_vp9_helpers") {
|
2018-03-28 19:32:37 +02:00
|
|
|
sources = [
|
|
|
|
|
"codecs/vp9/svc_config.cc",
|
|
|
|
|
"codecs/vp9/svc_config.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-11-28 16:47:49 +01:00
|
|
|
":codec_globals_headers",
|
2018-03-28 19:32:37 +02:00
|
|
|
":video_codec_interface",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/video:video_bitrate_allocation",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2019-09-04 14:30:57 +02:00
|
|
|
"../../api/video:video_codec_constants",
|
2018-06-08 14:03:44 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2018-03-28 19:32:37 +02:00
|
|
|
"../../common_video",
|
2022-05-16 22:37:34 +02:00
|
|
|
"../../media:rtc_media_base",
|
2018-03-28 19:32:37 +02:00
|
|
|
"../../rtc_base:checks",
|
2020-06-11 14:01:56 +02:00
|
|
|
"../../rtc_base:logging",
|
2019-09-04 14:30:57 +02:00
|
|
|
"../../rtc_base/experiments:stable_target_rate_experiment",
|
2022-05-16 22:37:34 +02:00
|
|
|
"svc:scalability_mode_util",
|
|
|
|
|
"svc:scalability_structures",
|
|
|
|
|
"svc:scalable_video_controller",
|
2018-03-28 19:32:37 +02:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/container:inlined_vector" ]
|
2018-03-28 19:32:37 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("webrtc_vp9") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2018-04-24 16:39:05 +02:00
|
|
|
poisonous = [ "software_video_codecs" ]
|
2018-11-19 09:52:37 +01:00
|
|
|
sources = [
|
|
|
|
|
"codecs/vp9/include/vp9.h",
|
2020-12-09 20:58:21 +01:00
|
|
|
"codecs/vp9/libvpx_vp9_decoder.cc",
|
|
|
|
|
"codecs/vp9/libvpx_vp9_decoder.h",
|
|
|
|
|
"codecs/vp9/libvpx_vp9_encoder.cc",
|
|
|
|
|
"codecs/vp9/libvpx_vp9_encoder.h",
|
2018-11-19 09:52:37 +01:00
|
|
|
"codecs/vp9/vp9.cc",
|
|
|
|
|
"codecs/vp9/vp9_frame_buffer_pool.cc",
|
|
|
|
|
"codecs/vp9/vp9_frame_buffer_pool.h",
|
|
|
|
|
]
|
2014-11-01 06:10:48 +00:00
|
|
|
|
|
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2014-11-01 06:10:48 +00:00
|
|
|
":video_coding_utility",
|
2020-12-09 20:58:21 +01:00
|
|
|
":webrtc_libvpx_interface",
|
2018-03-28 19:32:37 +02:00
|
|
|
":webrtc_vp9_helpers",
|
2019-06-28 15:19:43 +02:00
|
|
|
"../../api:fec_controller_api",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../../api:field_trials_view",
|
2021-04-26 11:46:54 +02:00
|
|
|
"../../api:refcountedbase",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2020-10-01 19:13:13 +02:00
|
|
|
"../../api/transport:field_trial_based_config",
|
2018-07-16 10:01:49 -07:00
|
|
|
"../../api/video:video_frame",
|
2018-07-13 17:10:00 -07:00
|
|
|
"../../api/video:video_frame_i010",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2022-05-05 14:37:05 +02:00
|
|
|
"../../api/video_codecs:scalability_mode",
|
2018-06-28 10:59:02 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2014-11-01 06:10:48 +00:00
|
|
|
"../../common_video",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../../media:codec",
|
2018-06-28 10:59:02 -07:00
|
|
|
"../../media:rtc_media_base",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-19 17:47:13 +02:00
|
|
|
"../../rtc_base:event_tracer",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2022-04-06 16:44:30 +02:00
|
|
|
"../../rtc_base/containers:flat_map",
|
2021-02-01 09:20:05 +01:00
|
|
|
"../../rtc_base/experiments:encoder_info_settings",
|
2020-10-01 19:13:13 +02:00
|
|
|
"../../rtc_base/experiments:field_trial_parser",
|
2019-01-23 12:48:13 +01:00
|
|
|
"../../rtc_base/experiments:rate_control_settings",
|
2020-07-07 12:17:12 +02:00
|
|
|
"../../rtc_base/synchronization:mutex",
|
2018-10-01 17:13:50 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2018-05-18 17:31:19 +02:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2022-04-29 11:03:13 +02:00
|
|
|
"svc:scalability_mode_util",
|
2020-10-15 17:26:46 +02:00
|
|
|
"svc:scalability_structures",
|
|
|
|
|
"svc:scalable_video_controller",
|
2021-07-27 12:48:50 +02:00
|
|
|
"svc:svc_rate_allocator",
|
2020-09-29 10:37:32 +02:00
|
|
|
"//third_party/libyuv",
|
2014-11-01 06:10:48 +00:00
|
|
|
]
|
2020-10-01 19:13:13 +02:00
|
|
|
absl_deps = [
|
Support native scaling of VideoFrameBuffers in LibvpxVp9Encoder.
This CL is part of Optimized Scaling efforts. In Chromium, the native
frame buffer is getting an optimized CropAndScale() implementation. To
support HW accelerated scaling, returning pre-scaled images and skipping
unnecessary intermediate downscales, WebRTC needs to 1) use CropAndScale
instead of libyuv::XXXXScale and 2) only map buffers it actually intends
to encode.
- To achieve this, WebRTC encoders are updated to map kNative video
buffers so that in a follow-up CL VideoStreamEncoder can stop mapping
intermediate buffer sizes.
In this CL LibvpxVp9Encoder is updated to map kNative buffers of pixel
formats it supports and convert ToI420() if the kNative buffer is
something else. A fake native buffer that keeps track of which
resolutions were mapped, MappableNativeBuffer, is added.
Because VP9 is currently an SVC encoder and not a simulcast encoder, it
does not need to invoke CropAndScale.
This CL also fixes MultiplexEncoderAdapter, but because it simply
forwards frames it only cares about the pixel format when
|supports_augmented_data_| is true so this is the only time we map it.
Because this encoder is not used with kNative in practise, we don't care
to make this path optimal.
Bug: webrtc:12469, chromium:1157072
Change-Id: I74edf85b18eccd0d250776bbade7a6444478efce
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212580
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Evan Shrubsole <eshr@google.com>
Cr-Commit-Position: refs/heads/master@{#33526}
2021-03-22 12:24:30 +01:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2022-07-05 21:06:28 +09:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
2020-10-01 19:13:13 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings:strings",
|
2022-12-06 10:09:10 +00:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2020-10-01 19:13:13 +02:00
|
|
|
]
|
2014-11-01 06:10:48 +00:00
|
|
|
if (rtc_build_libvpx) {
|
2015-05-25 12:55:39 +02:00
|
|
|
deps += [ rtc_libvpx_dir ]
|
2014-11-01 06:10:48 +00:00
|
|
|
}
|
|
|
|
|
}
|
2016-06-13 00:19:48 -07:00
|
|
|
|
|
|
|
|
if (rtc_include_tests) {
|
2018-02-05 09:52:31 +01:00
|
|
|
if (is_android) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("android_codec_factory_helper") {
|
2018-02-05 09:52:31 +01:00
|
|
|
sources = [
|
|
|
|
|
"codecs/test/android_codec_factory_helper.cc",
|
|
|
|
|
"codecs/test/android_codec_factory_helper.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2022-04-19 15:32:37 +02:00
|
|
|
"../../modules/utility:utility",
|
2018-02-05 09:52:31 +01:00
|
|
|
"../../rtc_base:checks",
|
2019-10-19 12:03:23 +02:00
|
|
|
"../../rtc_base:ignore_wundef",
|
2022-04-19 15:32:37 +02:00
|
|
|
"../../sdk/android:internal_jni",
|
2018-02-05 09:52:31 +01:00
|
|
|
"../../sdk/android:native_api_base",
|
|
|
|
|
"../../sdk/android:native_api_codecs",
|
|
|
|
|
"../../sdk/android:native_api_jni",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-07 06:55:28 -07:00
|
|
|
if (is_ios || is_mac) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("objc_codec_factory_helper") {
|
2017-08-07 06:55:28 -07:00
|
|
|
sources = [
|
2018-02-05 09:52:31 +01:00
|
|
|
"codecs/test/objc_codec_factory_helper.h",
|
|
|
|
|
"codecs/test/objc_codec_factory_helper.mm",
|
2017-08-07 06:55:28 -07:00
|
|
|
]
|
2018-02-05 09:52:31 +01:00
|
|
|
|
2017-08-07 06:55:28 -07:00
|
|
|
deps = [
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2017-08-07 06:55:28 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../../media:rtc_audio_video",
|
2018-02-05 09:52:31 +01:00
|
|
|
"../../media:rtc_media_base",
|
2018-02-01 15:47:05 +01:00
|
|
|
"../../sdk:native_api",
|
2018-02-16 10:49:22 +01:00
|
|
|
"../../sdk:peerconnectionfactory_base_objc",
|
2018-02-19 09:58:00 +01:00
|
|
|
"../../sdk:videocodec_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
"../../sdk:videosource_objc",
|
2017-08-24 05:43:45 -07:00
|
|
|
"../../sdk:videotoolbox_objc",
|
2017-08-07 06:55:28 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-06-15 12:55:22 +02:00
|
|
|
rtc_library("encoded_video_frame_producer") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/test/encoded_video_frame_producer.cc",
|
|
|
|
|
"codecs/test/encoded_video_frame_producer.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codec_interface",
|
|
|
|
|
"../../api:create_frame_generator",
|
|
|
|
|
"../../api:frame_generator_api",
|
|
|
|
|
"../../api/transport/rtp:dependency_descriptor",
|
|
|
|
|
"../../api/video:encoded_image",
|
|
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../api/video:video_frame_type",
|
|
|
|
|
"../../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("simulcast_test_fixture_impl") {
|
2017-07-10 03:26:36 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2018-06-21 16:16:38 +02:00
|
|
|
"utility/simulcast_test_fixture_impl.cc",
|
|
|
|
|
"utility/simulcast_test_fixture_impl.h",
|
2017-07-10 03:26:36 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2017-07-10 03:26:36 -07:00
|
|
|
":video_coding",
|
2018-06-21 16:16:38 +02:00
|
|
|
":video_coding_utility",
|
2018-10-15 11:55:13 +02:00
|
|
|
"../../api:mock_video_decoder",
|
|
|
|
|
"../../api:mock_video_encoder",
|
2018-05-31 12:53:00 +02:00
|
|
|
"../../api:simulcast_test_fixture_api",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../../api/video:encoded_image",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2018-05-31 12:53:00 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-10 03:26:36 -07:00
|
|
|
"../../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("video_codecs_test_framework") {
|
2016-06-13 00:19:48 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2022-12-15 10:15:18 +01:00
|
|
|
"codecs/test/video_codec_analyzer.cc",
|
|
|
|
|
"codecs/test/video_codec_analyzer.h",
|
2023-02-02 11:49:13 +01:00
|
|
|
"codecs/test/video_codec_stats_impl.cc",
|
|
|
|
|
"codecs/test/video_codec_stats_impl.h",
|
2018-02-01 15:45:38 +01:00
|
|
|
"codecs/test/video_codec_unittest.cc",
|
|
|
|
|
"codecs/test/video_codec_unittest.h",
|
2016-06-13 00:19:48 -07:00
|
|
|
"codecs/test/videoprocessor.cc",
|
|
|
|
|
"codecs/test/videoprocessor.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-11-28 16:47:49 +01:00
|
|
|
":codec_globals_headers",
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2016-12-08 09:56:16 -08:00
|
|
|
":video_coding",
|
|
|
|
|
":video_coding_utility",
|
2019-03-26 16:56:14 +01:00
|
|
|
":videocodec_test_stats_impl",
|
2018-03-28 19:32:37 +02:00
|
|
|
":webrtc_vp9_helpers",
|
2018-11-28 16:47:49 +01:00
|
|
|
"..:module_api",
|
2019-12-05 15:59:00 +01:00
|
|
|
"../../api:create_frame_generator",
|
|
|
|
|
"../../api:frame_generator_api",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../../api:sequence_checker",
|
2023-02-02 11:49:13 +01:00
|
|
|
"../../api:video_codec_stats_api",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api:video_codec_tester_api",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../../api:videocodec_test_fixture_api",
|
2023-02-02 11:49:13 +01:00
|
|
|
"../../api/numerics:numerics",
|
2019-03-11 10:28:05 +00:00
|
|
|
"../../api/task_queue",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api/task_queue:default_task_queue_factory",
|
2023-02-02 11:49:13 +01:00
|
|
|
"../../api/test/metrics:global_metrics_logger_and_exporter",
|
2018-11-08 10:02:56 -08:00
|
|
|
"../../api/video:builtin_video_bitrate_allocator_factory",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/video:encoded_image",
|
2022-12-06 15:36:21 +01:00
|
|
|
"../../api/video:resolution",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/video:video_bitrate_allocation",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/video:video_bitrate_allocator_factory",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api/video:video_codec_constants",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2017-04-05 03:02:20 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../common_video",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../../rtc_base:buffer",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2022-04-04 16:57:52 +02:00
|
|
|
"../../rtc_base:rtc_event",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../rtc_base:task_queue_for_test",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2020-07-07 12:17:12 +02:00
|
|
|
"../../rtc_base/synchronization:mutex",
|
2020-11-23 11:07:42 +01:00
|
|
|
"../../rtc_base/system:no_unique_address",
|
2016-06-13 00:19:48 -07:00
|
|
|
"../../test:test_support",
|
2017-03-06 03:52:55 -08:00
|
|
|
"../../test:video_test_common",
|
2017-02-06 02:21:11 -08:00
|
|
|
"../../test:video_test_support",
|
2018-01-17 15:11:44 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2018-02-01 13:25:17 +01:00
|
|
|
"//third_party/libyuv",
|
2016-06-13 00:19:48 -07:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2016-06-13 00:19:48 -07:00
|
|
|
}
|
2017-01-30 03:07:03 -08:00
|
|
|
|
2018-03-28 13:04:35 +02:00
|
|
|
video_coding_modules_tests_resources = []
|
2018-04-25 12:45:16 +02:00
|
|
|
if (is_android) {
|
|
|
|
|
video_coding_modules_tests_resources += [
|
|
|
|
|
"../../resources/foreman_128x96.yuv",
|
|
|
|
|
"../../resources/foreman_160x120.yuv",
|
|
|
|
|
"../../resources/foreman_176x144.yuv",
|
|
|
|
|
"../../resources/foreman_240x136.yuv",
|
|
|
|
|
"../../resources/foreman_320x240.yuv",
|
|
|
|
|
"../../resources/foreman_480x272.yuv",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-05-16 16:46:58 +02:00
|
|
|
if (!is_android) {
|
2018-03-09 11:04:15 +01:00
|
|
|
video_coding_modules_tests_resources += [
|
|
|
|
|
"../../resources/ConferenceMotion_1280_720_50.yuv",
|
2019-12-19 09:47:11 +01:00
|
|
|
"../../resources/FourPeople_1280x720_30.yuv",
|
2018-03-09 11:04:15 +01:00
|
|
|
]
|
2018-02-27 15:18:18 +01:00
|
|
|
}
|
|
|
|
|
|
2018-03-28 13:04:35 +02:00
|
|
|
num_video_coding_modules_tests_resources = 0
|
|
|
|
|
foreach(i, video_coding_modules_tests_resources) {
|
|
|
|
|
num_video_coding_modules_tests_resources += 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (num_video_coding_modules_tests_resources > 0) {
|
|
|
|
|
if (is_ios || is_mac) {
|
|
|
|
|
bundle_data("video_coding_modules_tests_resources_bundle_data") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = video_coding_modules_tests_resources
|
2020-02-04 10:46:37 +01:00
|
|
|
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
2018-03-28 13:04:35 +02:00
|
|
|
}
|
2017-02-20 04:35:52 -08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("videocodec_test_impl") {
|
2018-05-04 11:56:55 +02:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2022-12-15 10:15:18 +01:00
|
|
|
"codecs/test/video_codec_tester_impl.cc",
|
|
|
|
|
"codecs/test/video_codec_tester_impl.h",
|
2018-05-04 11:56:55 +02:00
|
|
|
"codecs/test/videocodec_test_fixture_impl.cc",
|
|
|
|
|
"codecs/test/videocodec_test_fixture_impl.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2018-11-28 16:47:49 +01:00
|
|
|
":codec_globals_headers",
|
2018-05-04 11:56:55 +02:00
|
|
|
":video_codec_interface",
|
|
|
|
|
":video_codecs_test_framework",
|
|
|
|
|
":video_coding_utility",
|
2019-03-26 16:56:14 +01:00
|
|
|
":videocodec_test_stats_impl",
|
2018-05-04 11:56:55 +02:00
|
|
|
":webrtc_vp9_helpers",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api:array_view",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api:video_codec_tester_api",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../api:videocodec_test_fixture_api",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api/task_queue:default_task_queue_factory",
|
|
|
|
|
"../../api/task_queue:task_queue",
|
2022-09-26 10:45:09 +02:00
|
|
|
"../../api/test/metrics:global_metrics_logger_and_exporter",
|
|
|
|
|
"../../api/test/metrics:metric",
|
2018-10-26 15:57:48 +02:00
|
|
|
"../../api/test/video:function_video_factory",
|
2020-09-22 11:36:35 +02:00
|
|
|
"../../api/transport:field_trial_based_config",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api/units:frequency",
|
|
|
|
|
"../../api/units:time_delta",
|
|
|
|
|
"../../api/units:timestamp",
|
|
|
|
|
"../../api/video:encoded_image",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/video:video_bitrate_allocation",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api/video:video_frame",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2022-07-22 12:02:25 +02:00
|
|
|
"../../api/video_codecs:video_decoder_factory_template",
|
|
|
|
|
"../../api/video_codecs:video_decoder_factory_template_dav1d_adapter",
|
|
|
|
|
"../../api/video_codecs:video_decoder_factory_template_libvpx_vp8_adapter",
|
|
|
|
|
"../../api/video_codecs:video_decoder_factory_template_libvpx_vp9_adapter",
|
|
|
|
|
"../../api/video_codecs:video_decoder_factory_template_open_h264_adapter",
|
|
|
|
|
"../../api/video_codecs:video_encoder_factory_template",
|
|
|
|
|
"../../api/video_codecs:video_encoder_factory_template_libaom_av1_adapter",
|
|
|
|
|
"../../api/video_codecs:video_encoder_factory_template_libvpx_vp8_adapter",
|
|
|
|
|
"../../api/video_codecs:video_encoder_factory_template_libvpx_vp9_adapter",
|
|
|
|
|
"../../api/video_codecs:video_encoder_factory_template_open_h264_adapter",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../../call:video_stream_api",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../common_video",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../../media:media_constants",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../../media:rtc_audio_video",
|
2018-05-29 09:31:15 +02:00
|
|
|
"../../media:rtc_media_base",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../../rtc_base:logging",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../rtc_base:rtc_base_tests_utils",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../rtc_base:rtc_event",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2019-03-19 18:08:37 +01:00
|
|
|
"../../rtc_base:task_queue_for_test",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../system_wrappers",
|
|
|
|
|
"../../test:fileutils",
|
|
|
|
|
"../../test:test_support",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../../test:video_test_common",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../test:video_test_support",
|
2022-09-29 10:28:24 +02:00
|
|
|
"../../video/config:encoder_config",
|
2022-09-27 16:53:04 +02:00
|
|
|
"../../video/config:streams_config",
|
2018-05-04 11:56:55 +02:00
|
|
|
]
|
2021-03-03 13:34:49 +01:00
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings:strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2018-05-04 11:56:55 +02:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("videocodec_test_stats_impl") {
|
2019-03-26 16:56:14 +01:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/test/videocodec_test_stats_impl.cc",
|
|
|
|
|
"codecs/test/videocodec_test_stats_impl.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api:videocodec_test_stats_api",
|
2020-09-18 18:23:08 +02:00
|
|
|
"../../api/numerics",
|
2023-02-02 11:49:13 +01:00
|
|
|
"../../api/test/metrics:global_metrics_logger_and_exporter",
|
|
|
|
|
"../../api/test/metrics:metric",
|
2019-03-26 16:56:14 +01:00
|
|
|
"../../rtc_base:checks",
|
2019-04-13 18:59:53 +02:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2019-04-15 13:27:00 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2019-03-26 16:56:14 +01:00
|
|
|
"../../test:test_common",
|
|
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("video_coding_modules_tests") {
|
2017-02-20 04:35:52 -08:00
|
|
|
testonly = true
|
2019-02-07 16:42:45 +01:00
|
|
|
defines = []
|
2017-02-20 04:35:52 -08:00
|
|
|
|
|
|
|
|
sources = [
|
2017-03-06 03:52:55 -08:00
|
|
|
"codecs/h264/test/h264_impl_unittest.cc",
|
2018-01-25 13:01:09 -08:00
|
|
|
"codecs/multiplex/test/multiplex_adapter_unittest.cc",
|
2022-12-15 10:15:18 +01:00
|
|
|
"codecs/test/video_codec_test.cc",
|
2018-03-01 11:39:36 +01:00
|
|
|
"codecs/test/video_encoder_decoder_instantiation_tests.cc",
|
2021-11-23 11:00:24 +01:00
|
|
|
"codecs/test/videocodec_test_av1.cc",
|
2018-05-04 11:56:55 +02:00
|
|
|
"codecs/test/videocodec_test_libvpx.cc",
|
2017-02-20 04:35:52 -08:00
|
|
|
"codecs/vp8/test/vp8_impl_unittest.cc",
|
|
|
|
|
]
|
2020-06-03 20:44:50 -07:00
|
|
|
|
2021-04-15 07:09:58 +09:00
|
|
|
if (rtc_libvpx_build_vp9) {
|
|
|
|
|
sources += [ "codecs/vp9/test/vp9_impl_unittest.cc" ]
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-14 17:11:49 +02:00
|
|
|
if (rtc_use_h264) {
|
|
|
|
|
sources += [ "codecs/test/videocodec_test_openh264.cc" ]
|
|
|
|
|
}
|
2017-02-20 04:35:52 -08:00
|
|
|
|
|
|
|
|
deps = [
|
2020-06-15 12:55:22 +02:00
|
|
|
":encoded_video_frame_producer",
|
2020-12-09 20:58:21 +01:00
|
|
|
":mock_libvpx_interface",
|
2018-11-28 16:47:49 +01:00
|
|
|
":video_codec_interface",
|
2017-03-06 03:52:55 -08:00
|
|
|
":video_codecs_test_framework",
|
2017-09-07 07:50:06 -07:00
|
|
|
":video_coding_utility",
|
2018-05-04 11:56:55 +02:00
|
|
|
":videocodec_test_impl",
|
2017-03-06 03:52:55 -08:00
|
|
|
":webrtc_h264",
|
2021-01-20 22:12:33 +01:00
|
|
|
":webrtc_libvpx_interface",
|
2018-01-25 13:01:09 -08:00
|
|
|
":webrtc_multiplex",
|
2018-06-21 16:16:38 +02:00
|
|
|
":webrtc_vp8",
|
2017-02-23 02:54:57 -08:00
|
|
|
":webrtc_vp9",
|
2018-03-28 19:32:37 +02:00
|
|
|
":webrtc_vp9_helpers",
|
2019-12-05 15:59:00 +01:00
|
|
|
"../../api:create_frame_generator",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api:create_video_codec_tester_api",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../api:create_videocodec_test_fixture_api",
|
2019-12-05 15:59:00 +01:00
|
|
|
"../../api:frame_generator_api",
|
2017-10-30 23:10:12 -07:00
|
|
|
"../../api:mock_video_codec_factory",
|
2018-10-15 11:55:13 +02:00
|
|
|
"../../api:mock_video_decoder",
|
|
|
|
|
"../../api:mock_video_encoder",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api:video_codec_tester_api",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../api:videocodec_test_fixture_api",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api:videocodec_test_stats_api",
|
2018-10-26 15:57:48 +02:00
|
|
|
"../../api/test/video:function_video_factory",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api/units:data_rate",
|
|
|
|
|
"../../api/units:frequency",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/video:encoded_image",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api/video:resolution",
|
2018-07-16 10:01:49 -07:00
|
|
|
"../../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api/video_codecs:builtin_video_decoder_factory",
|
|
|
|
|
"../../api/video_codecs:builtin_video_encoder_factory",
|
2018-06-12 11:15:56 +02:00
|
|
|
"../../api/video_codecs:rtc_software_fallback_wrappers",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api/video_codecs:scalability_mode",
|
2018-01-11 10:13:56 +01:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2017-09-07 07:50:06 -07:00
|
|
|
"../../common_video",
|
2018-12-14 10:14:07 +01:00
|
|
|
"../../common_video/test:utilities",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../../media:codec",
|
|
|
|
|
"../../media:media_constants",
|
2018-05-14 10:11:42 +02:00
|
|
|
"../../media:rtc_internal_video_codecs",
|
2017-10-27 14:51:46 +02:00
|
|
|
"../../media:rtc_media_base",
|
2018-10-19 00:51:18 -07:00
|
|
|
"../../media:rtc_simulcast_encoder_adapter",
|
2022-04-05 02:54:12 +02:00
|
|
|
"../../rtc_base:refcount",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2021-01-20 22:12:33 +01:00
|
|
|
"../../test:explicit_key_value_config",
|
2018-10-01 17:13:50 +02:00
|
|
|
"../../test:field_trial",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../test:fileutils",
|
2017-01-30 03:07:03 -08:00
|
|
|
"../../test:test_support",
|
|
|
|
|
"../../test:video_test_common",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../test:video_test_support",
|
2018-05-18 17:31:19 +02:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2021-11-23 11:00:24 +01:00
|
|
|
"codecs/av1:dav1d_decoder",
|
2022-12-15 10:15:18 +01:00
|
|
|
"svc:scalability_mode_util",
|
2018-07-13 17:10:00 -07:00
|
|
|
"//third_party/libyuv",
|
2017-01-30 03:07:03 -08:00
|
|
|
]
|
2022-06-25 00:28:09 +02:00
|
|
|
absl_deps = [
|
2022-12-15 10:15:18 +01:00
|
|
|
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
2022-06-25 00:28:09 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2017-02-20 04:35:52 -08:00
|
|
|
|
2017-09-07 07:50:06 -07:00
|
|
|
data = video_coding_modules_tests_resources
|
2017-08-07 06:55:28 -07:00
|
|
|
|
2017-09-07 07:50:06 -07:00
|
|
|
if (is_android) {
|
2018-05-04 11:56:55 +02:00
|
|
|
sources += [ "codecs/test/videocodec_test_mediacodec.cc" ]
|
Revert "Reland of Add full stack tests for MediaCodec encoder (moved from Rietveld)."
This reverts commit 2666cf7eba4bdd697d59d0451a8f74a05d4d207e.
Reason for revert: On Lollipop Nexus 4, the 240p tests fail too.
Original change's description:
> Reland of Add full stack tests for MediaCodec encoder (moved from Rietveld).
>
> * Add audio_ prefix to CallTest::{en,de}coder_factory_.
> * Let VideoQualityTest only instantiate encoders using encoder factories.
> * Add HW encoder factories to VideoQualityTest.
> * Add full stack tests:
> - sqcif7 at 30 kbps: libvpx.
> - 240p10 at 100 kbps: MediaCodec, libvpx, and MediaCodec+libvpx.
>
> BUG=webrtc:8219
> TBR=asapersson@webrtc.org,kjellander@webrtc.org,stefan@webrtc.org,sprang@webrtc.org
>
> Change-Id: I464409ac0d5276defa78c1bf66034c6cca717d74
> Reviewed-on: https://webrtc-review.googlesource.com/4740
> Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#20041}
TBR=kjellander@webrtc.org,brandtr@webrtc.org,asapersson@webrtc.org,sprang@webrtc.org,stefan@webrtc.org
Change-Id: If558b7fb86740658e50a6897d1eeeb72103a54ec
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:8219
Reviewed-on: https://webrtc-review.googlesource.com/4900
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20044}
2017-09-29 13:48:12 +00:00
|
|
|
|
2022-08-23 15:22:08 +00:00
|
|
|
deps += [
|
|
|
|
|
":android_codec_factory_helper",
|
|
|
|
|
"../../rtc_base:stringutils",
|
|
|
|
|
]
|
2017-02-20 04:35:52 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_ios || is_mac) {
|
2018-05-04 11:56:55 +02:00
|
|
|
sources += [ "codecs/test/videocodec_test_videotoolbox.cc" ]
|
2017-10-24 10:16:33 +02:00
|
|
|
|
2018-03-28 13:04:35 +02:00
|
|
|
deps += [ ":objc_codec_factory_helper" ]
|
|
|
|
|
|
|
|
|
|
if (num_video_coding_modules_tests_resources > 0) {
|
|
|
|
|
deps += [ ":video_coding_modules_tests_resources_bundle_data" ]
|
|
|
|
|
}
|
2017-02-20 04:35:52 -08:00
|
|
|
}
|
|
|
|
|
|
2018-10-10 14:58:46 +02:00
|
|
|
if (rtc_build_libvpx) {
|
|
|
|
|
deps += [ rtc_libvpx_dir ]
|
|
|
|
|
}
|
2017-01-30 03:07:03 -08:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("video_coding_unittests") {
|
2017-01-19 08:27:11 -08:00
|
|
|
testonly = true
|
2017-04-25 04:04:50 -07:00
|
|
|
|
2017-01-19 08:27:11 -08:00
|
|
|
sources = [
|
2020-05-18 14:14:11 +02:00
|
|
|
"chain_diff_calculator_unittest.cc",
|
2022-12-15 10:15:18 +01:00
|
|
|
"codecs/test/video_codec_analyzer_unittest.cc",
|
2023-02-02 11:49:13 +01:00
|
|
|
"codecs/test/video_codec_stats_impl_unittest.cc",
|
2022-12-15 10:15:18 +01:00
|
|
|
"codecs/test/video_codec_tester_impl_unittest.cc",
|
2018-05-22 13:34:14 +02:00
|
|
|
"codecs/test/videocodec_test_fixture_config_unittest.cc",
|
|
|
|
|
"codecs/test/videocodec_test_stats_impl_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"codecs/test/videoprocessor_unittest.cc",
|
|
|
|
|
"codecs/vp8/default_temporal_layers_unittest.cc",
|
2018-05-31 12:53:00 +02:00
|
|
|
"codecs/vp8/libvpx_vp8_simulcast_test.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"codecs/vp8/screenshare_layers_unittest.cc",
|
2018-04-23 12:30:35 +02:00
|
|
|
"codecs/vp9/svc_config_unittest.cc",
|
2022-09-29 12:24:02 +02:00
|
|
|
"decoder_database_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"decoding_state_unittest.cc",
|
2018-01-19 17:58:57 +01:00
|
|
|
"fec_controller_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"frame_buffer2_unittest.cc",
|
2020-02-05 15:06:17 +01:00
|
|
|
"frame_dependencies_calculator_unittest.cc",
|
2022-10-13 13:43:27 +02:00
|
|
|
"frame_helpers_unittest.cc",
|
2019-05-13 16:13:36 +02:00
|
|
|
"generic_decoder_unittest.cc",
|
2021-09-15 10:45:43 +02:00
|
|
|
"h264_packet_buffer_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"h264_sprop_parameter_sets_unittest.cc",
|
|
|
|
|
"h264_sps_pps_tracker_unittest.cc",
|
|
|
|
|
"histogram_unittest.cc",
|
|
|
|
|
"jitter_buffer_unittest.cc",
|
2019-02-21 16:25:40 +01:00
|
|
|
"loss_notification_controller_unittest.cc",
|
2021-07-22 15:09:39 +02:00
|
|
|
"nack_requester_unittest.cc",
|
2019-10-17 19:06:46 +02:00
|
|
|
"packet_buffer_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"receiver_unittest.cc",
|
|
|
|
|
"rtp_frame_reference_finder_unittest.cc",
|
2021-03-01 17:15:03 +01:00
|
|
|
"rtp_vp8_ref_finder_unittest.cc",
|
2020-12-03 14:47:23 +01:00
|
|
|
"rtp_vp9_ref_finder_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"session_info_unittest.cc",
|
|
|
|
|
"test/stream_generator.cc",
|
|
|
|
|
"test/stream_generator.h",
|
2021-09-29 17:19:44 +08:00
|
|
|
"utility/bandwidth_quality_scaler_unittest.cc",
|
2019-01-14 13:24:22 +01:00
|
|
|
"utility/decoded_frames_history_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"utility/frame_dropper_unittest.cc",
|
2021-08-16 09:33:13 +02:00
|
|
|
"utility/framerate_controller_deprecated_unittest.cc",
|
2019-11-20 13:30:19 +01:00
|
|
|
"utility/ivf_file_reader_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"utility/ivf_file_writer_unittest.cc",
|
2021-03-15 10:12:57 +01:00
|
|
|
"utility/qp_parser_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"utility/quality_scaler_unittest.cc",
|
|
|
|
|
"utility/simulcast_rate_allocator_unittest.cc",
|
2021-07-06 15:05:24 +02:00
|
|
|
"utility/vp9_uncompressed_header_parser_unittest.cc",
|
2017-01-26 06:12:26 -08:00
|
|
|
"video_codec_initializer_unittest.cc",
|
2022-09-29 12:24:02 +02:00
|
|
|
"video_receiver2_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"video_receiver_unittest.cc",
|
|
|
|
|
]
|
|
|
|
|
if (rtc_use_h264) {
|
2018-06-21 16:16:38 +02:00
|
|
|
sources += [
|
|
|
|
|
"codecs/h264/h264_encoder_impl_unittest.cc",
|
|
|
|
|
"codecs/h264/h264_simulcast_unittest.cc",
|
|
|
|
|
]
|
2017-01-19 08:27:11 -08:00
|
|
|
}
|
2018-05-14 10:11:42 +02:00
|
|
|
|
2017-01-19 08:27:11 -08:00
|
|
|
deps = [
|
2020-05-18 14:14:11 +02:00
|
|
|
":chain_diff_calculator",
|
2018-03-28 19:32:37 +02:00
|
|
|
":codec_globals_headers",
|
2018-02-21 14:30:34 +01:00
|
|
|
":encoded_frame",
|
2022-08-16 11:01:46 +00:00
|
|
|
":frame_buffer2",
|
2020-02-05 15:06:17 +01:00
|
|
|
":frame_dependencies_calculator",
|
2022-10-13 13:43:27 +02:00
|
|
|
":frame_helpers",
|
2021-09-15 10:45:43 +02:00
|
|
|
":h264_packet_buffer",
|
2021-07-22 15:09:39 +02:00
|
|
|
":nack_requester",
|
2021-09-15 10:45:43 +02:00
|
|
|
":packet_buffer",
|
2018-06-21 16:16:38 +02:00
|
|
|
":simulcast_test_fixture_impl",
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2017-01-19 08:27:11 -08:00
|
|
|
":video_codecs_test_framework",
|
|
|
|
|
":video_coding",
|
2019-09-10 10:48:48 +02:00
|
|
|
":video_coding_legacy",
|
2017-01-19 08:27:11 -08:00
|
|
|
":video_coding_utility",
|
2018-05-22 13:34:14 +02:00
|
|
|
":videocodec_test_impl",
|
2019-03-26 16:56:14 +01:00
|
|
|
":videocodec_test_stats_impl",
|
2017-01-19 08:27:11 -08:00
|
|
|
":webrtc_h264",
|
|
|
|
|
":webrtc_vp8",
|
2018-10-12 10:30:31 +02:00
|
|
|
":webrtc_vp8_temporal_layers",
|
2017-01-19 08:27:11 -08:00
|
|
|
":webrtc_vp9",
|
2018-03-28 19:32:37 +02:00
|
|
|
":webrtc_vp9_helpers",
|
2018-11-28 16:47:49 +01:00
|
|
|
"..:module_fec_api",
|
|
|
|
|
"../../api:array_view",
|
2018-05-31 12:53:00 +02:00
|
|
|
"../../api:create_simulcast_test_fixture_api",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api:fec_controller_api",
|
2019-07-02 11:20:09 +02:00
|
|
|
"../../api:mock_fec_controller_override",
|
2018-10-15 11:55:13 +02:00
|
|
|
"../../api:mock_video_decoder",
|
|
|
|
|
"../../api:mock_video_encoder",
|
2022-08-08 11:21:26 +00:00
|
|
|
"../../api:rtp_packet_info",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2018-05-31 12:53:00 +02:00
|
|
|
"../../api:simulcast_test_fixture_api",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api:video_codec_tester_api",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../../api:videocodec_test_fixture_api",
|
2022-07-18 13:11:42 +02:00
|
|
|
"../../api/task_queue",
|
2019-05-13 16:13:36 +02:00
|
|
|
"../../api/task_queue:default_task_queue_factory",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api/task_queue/test:mock_task_queue_base",
|
2018-10-26 15:57:48 +02:00
|
|
|
"../../api/test/video:function_video_factory",
|
2022-03-07 13:21:51 +01:00
|
|
|
"../../api/units:data_size",
|
2022-03-02 15:13:55 +01:00
|
|
|
"../../api/units:frequency",
|
2021-12-12 15:27:00 +01:00
|
|
|
"../../api/units:time_delta",
|
2022-03-02 15:13:55 +01:00
|
|
|
"../../api/units:timestamp",
|
2018-11-08 10:02:56 -08:00
|
|
|
"../../api/video:builtin_video_bitrate_allocator_factory",
|
2021-03-01 17:15:03 +01:00
|
|
|
"../../api/video:encoded_frame",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../api/video:encoded_image",
|
2021-09-15 10:45:43 +02:00
|
|
|
"../../api/video:render_resolution",
|
2020-04-16 11:36:55 +02:00
|
|
|
"../../api/video:video_adaptation",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/video:video_bitrate_allocation",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2018-11-08 10:02:56 -08:00
|
|
|
"../../api/video:video_bitrate_allocator_factory",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2020-02-05 15:06:17 +01:00
|
|
|
"../../api/video:video_frame_type",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../../api/video:video_rtp_headers",
|
2017-04-05 03:02:20 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2019-03-20 11:56:20 +01:00
|
|
|
"../../api/video_codecs:vp8_temporal_layers_factory",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../common_video",
|
2020-02-05 15:06:17 +01:00
|
|
|
"../../common_video/generic_frame_descriptor",
|
2019-05-13 16:13:36 +02:00
|
|
|
"../../common_video/test:utilities",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../../media:media_constants",
|
2018-04-13 14:25:22 +02:00
|
|
|
"../../media:rtc_media_base",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../rtc_base:gunit_helpers",
|
2022-04-14 13:50:13 +02:00
|
|
|
"../../rtc_base:histogram_percentile_counter",
|
2022-04-14 12:18:28 +02:00
|
|
|
"../../rtc_base:platform_thread",
|
2022-04-14 12:41:26 +02:00
|
|
|
"../../rtc_base:random",
|
2022-04-05 02:54:12 +02:00
|
|
|
"../../rtc_base:refcount",
|
2018-04-03 10:01:52 +02:00
|
|
|
"../../rtc_base:rtc_base_tests_utils",
|
2022-04-04 16:57:52 +02:00
|
|
|
"../../rtc_base:rtc_event",
|
2017-10-25 13:07:09 +02:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2019-03-19 18:08:37 +01:00
|
|
|
"../../rtc_base:task_queue_for_test",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../../rtc_base:timeutils",
|
2021-09-29 17:19:44 +08:00
|
|
|
"../../rtc_base/experiments:encoder_info_settings",
|
2020-07-07 12:17:12 +02:00
|
|
|
"../../rtc_base/synchronization:mutex",
|
2021-09-15 10:45:43 +02:00
|
|
|
"../../rtc_base/system:unused",
|
2017-12-06 09:17:14 +01:00
|
|
|
"../../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
|
|
|
|
"../../system_wrappers:metrics",
|
2022-04-26 10:09:04 +02:00
|
|
|
"../../test:fake_encoded_frame",
|
2019-05-13 16:13:36 +02:00
|
|
|
"../../test:fake_video_codecs",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../../test:field_trial",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../test:fileutils",
|
2022-05-19 16:06:23 +02:00
|
|
|
"../../test:run_loop",
|
2022-03-25 12:43:14 +01:00
|
|
|
"../../test:scoped_key_value_config",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../../test:test_support",
|
|
|
|
|
"../../test:video_test_common",
|
2017-02-06 02:21:11 -08:00
|
|
|
"../../test:video_test_support",
|
2020-01-29 17:36:11 +01:00
|
|
|
"../../test/time_controller:time_controller",
|
2022-12-15 10:15:18 +01:00
|
|
|
"../../third_party/libyuv:libyuv",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../rtp_rtcp:rtp_video_header",
|
2020-03-24 09:35:04 +01:00
|
|
|
"codecs/av1:video_coding_codecs_av1_tests",
|
2020-10-15 15:57:17 +02:00
|
|
|
"svc:scalability_structure_tests",
|
2020-11-05 18:06:00 +01:00
|
|
|
"svc:svc_rate_allocator_tests",
|
2022-05-25 10:12:42 +02:00
|
|
|
"timing:jitter_estimator",
|
2022-05-25 12:03:35 +02:00
|
|
|
"timing:timing_module",
|
2020-06-05 14:30:41 +02:00
|
|
|
]
|
|
|
|
|
absl_deps = [
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-11-01 11:20:49 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-11-28 16:47:49 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
2017-01-19 08:27:11 -08:00
|
|
|
]
|
|
|
|
|
if (rtc_build_libvpx) {
|
|
|
|
|
deps += [ rtc_libvpx_dir ]
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-06-13 00:19:48 -07:00
|
|
|
}
|