2017-04-05 03:02:20 -07:00
|
|
|
# Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
import("../../webrtc.gni")
|
|
|
|
|
if (is_android) {
|
|
|
|
|
import("//build/config/android/config.gni")
|
|
|
|
|
import("//build/config/android/rules.gni")
|
|
|
|
|
}
|
|
|
|
|
|
2022-04-29 11:03:13 +02:00
|
|
|
rtc_source_set("scalability_mode") {
|
2022-06-15 12:52:01 +02:00
|
|
|
visibility = [ "*" ]
|
2022-07-05 21:06:28 +09:00
|
|
|
sources = [
|
|
|
|
|
"scalability_mode.cc",
|
|
|
|
|
"scalability_mode.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base/system:rtc_export",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-07-05 21:06:28 +09:00
|
|
|
]
|
2022-04-29 11:03:13 +02:00
|
|
|
}
|
|
|
|
|
|
2022-09-02 11:05:13 +02:00
|
|
|
rtc_source_set("scalability_mode_helper") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"scalability_mode_helper.cc",
|
|
|
|
|
"scalability_mode_helper.h",
|
|
|
|
|
]
|
2023-09-11 17:30:26 +02:00
|
|
|
deps = [
|
|
|
|
|
":scalability_mode",
|
|
|
|
|
"../../modules/video_coding/svc:scalability_mode_util",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-09-02 11:05:13 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("video_codecs_api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-04-05 03:02:20 -07:00
|
|
|
sources = [
|
2022-06-09 15:56:08 -07:00
|
|
|
"av1_profile.cc",
|
|
|
|
|
"av1_profile.h",
|
2021-04-19 09:09:26 +02:00
|
|
|
"h264_profile_level_id.cc",
|
|
|
|
|
"h264_profile_level_id.h",
|
2018-03-27 08:31:45 +02:00
|
|
|
"sdp_video_format.cc",
|
2017-09-11 11:50:51 -07:00
|
|
|
"sdp_video_format.h",
|
2022-07-05 14:22:27 +02:00
|
|
|
"simulcast_stream.cc",
|
2022-05-20 13:38:49 +02:00
|
|
|
"simulcast_stream.h",
|
2020-08-14 15:32:14 +02:00
|
|
|
"spatial_layer.h",
|
2018-06-08 14:03:44 +02:00
|
|
|
"video_codec.cc",
|
2018-05-31 10:44:51 +02:00
|
|
|
"video_codec.h",
|
2018-03-27 08:31:45 +02:00
|
|
|
"video_decoder.cc",
|
2017-04-05 03:02:20 -07:00
|
|
|
"video_decoder.h",
|
2024-01-22 13:17:05 +01:00
|
|
|
"video_decoder_factory.cc",
|
2017-09-14 10:24:54 +02:00
|
|
|
"video_decoder_factory.h",
|
2017-08-10 02:43:14 -07:00
|
|
|
"video_encoder.cc",
|
2017-04-05 03:02:20 -07:00
|
|
|
"video_encoder.h",
|
2017-09-14 10:24:54 +02:00
|
|
|
"video_encoder_factory.h",
|
2019-03-06 21:14:54 +01:00
|
|
|
"vp8_frame_buffer_controller.h",
|
2019-01-29 14:05:55 +01:00
|
|
|
"vp8_frame_config.cc",
|
|
|
|
|
"vp8_frame_config.h",
|
2019-03-20 11:56:20 +01:00
|
|
|
"vp8_temporal_layers.cc",
|
2018-10-12 10:30:31 +02:00
|
|
|
"vp8_temporal_layers.h",
|
2021-04-19 09:09:26 +02:00
|
|
|
"vp9_profile.cc",
|
|
|
|
|
"vp9_profile.h",
|
2017-04-05 03:02:20 -07:00
|
|
|
]
|
|
|
|
|
|
2023-08-30 12:26:24 +08:00
|
|
|
if (rtc_use_h265) {
|
|
|
|
|
sources += [
|
|
|
|
|
"h265_profile_tier_level.cc",
|
|
|
|
|
"h265_profile_tier_level.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-04-05 03:02:20 -07:00
|
|
|
deps = [
|
2022-04-29 11:03:13 +02:00
|
|
|
":scalability_mode",
|
2019-06-28 15:19:43 +02:00
|
|
|
"..:fec_controller_api",
|
2019-01-25 20:26:48 +01:00
|
|
|
"..:scoped_refptr",
|
2021-04-20 15:53:52 +02:00
|
|
|
"../../api:array_view",
|
2023-12-14 09:45:39 +01:00
|
|
|
"../../api:rtp_parameters",
|
2024-01-03 16:47:05 +01:00
|
|
|
"../../media:media_constants",
|
2019-01-29 14:05:55 +01:00
|
|
|
"../../modules/video_coding:codec_globals_headers",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2022-10-18 16:05:38 +02:00
|
|
|
"../../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../../rtc_base:macromagic",
|
2022-04-05 02:54:12 +02:00
|
|
|
"../../rtc_base:refcount",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2018-10-16 14:13:50 +02:00
|
|
|
"../../rtc_base/system:rtc_export",
|
2024-01-22 13:17:05 +01:00
|
|
|
"../environment",
|
2019-03-27 15:00:43 +01:00
|
|
|
"../units:data_rate",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../video:encoded_image",
|
2021-08-09 15:30:47 +02:00
|
|
|
"../video:render_resolution",
|
2022-09-23 12:08:57 +02:00
|
|
|
"../video:resolution",
|
2018-05-15 15:12:55 +02:00
|
|
|
"../video:video_bitrate_allocation",
|
2019-01-16 17:10:57 +01:00
|
|
|
"../video:video_codec_constants",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../video:video_frame",
|
2024-08-19 01:13:31 -07:00
|
|
|
"../video:video_frame_type",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../video:video_rtp_headers",
|
2019-03-25 13:53:07 -07:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2019-01-17 15:27:50 +01:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
2018-10-19 15:29:54 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2018-06-21 13:32:56 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-04-05 03:02:20 -07:00
|
|
|
]
|
|
|
|
|
}
|
2018-05-03 11:28:29 +02:00
|
|
|
|
2019-03-22 11:19:08 +01:00
|
|
|
rtc_source_set("bitstream_parser_api") {
|
|
|
|
|
visibility = [ "*" ]
|
2020-01-16 14:41:10 +01:00
|
|
|
sources = [ "bitstream_parser.h" ]
|
2024-05-23 11:21:53 +00:00
|
|
|
deps = [
|
|
|
|
|
"..:array_view",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2019-03-22 11:19:08 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("builtin_video_decoder_factory") {
|
2018-05-03 11:28:29 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [
|
|
|
|
|
"audio_codecs", # TODO(bugs.webrtc.org/8396): Remove.
|
|
|
|
|
"software_video_codecs",
|
|
|
|
|
]
|
|
|
|
|
sources = [
|
|
|
|
|
"builtin_video_decoder_factory.cc",
|
|
|
|
|
"builtin_video_decoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2018-05-03 11:28:29 +02:00
|
|
|
"../../media:rtc_internal_video_codecs",
|
2018-10-22 17:08:37 +02:00
|
|
|
"../../rtc_base/system:rtc_export",
|
2018-05-03 11:28:29 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("builtin_video_encoder_factory") {
|
2018-05-03 11:28:29 +02:00
|
|
|
visibility = [ "*" ]
|
2024-03-12 16:58:18 +01:00
|
|
|
allow_poison = [ "software_video_codecs" ]
|
2018-05-03 11:28:29 +02:00
|
|
|
sources = [
|
|
|
|
|
"builtin_video_encoder_factory.cc",
|
|
|
|
|
"builtin_video_encoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
|
|
|
|
"../../media:rtc_internal_video_codecs",
|
2023-03-15 11:29:30 +01:00
|
|
|
"../../media:rtc_simulcast_encoder_adapter",
|
2018-10-22 17:08:37 +02:00
|
|
|
"../../rtc_base/system:rtc_export",
|
2024-03-12 16:58:18 +01:00
|
|
|
"../environment",
|
2023-01-02 19:46:13 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
2018-05-03 11:28:29 +02:00
|
|
|
}
|
2018-06-12 11:15:56 +02:00
|
|
|
|
2022-03-16 12:11:42 +01:00
|
|
|
rtc_source_set("video_encoder_factory_template") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [ "software_video_codecs" ]
|
|
|
|
|
public = [ "video_encoder_factory_template.h" ]
|
|
|
|
|
|
2022-05-05 14:37:05 +02:00
|
|
|
deps = [
|
2024-08-19 01:13:31 -07:00
|
|
|
":scalability_mode",
|
2022-05-05 14:37:05 +02:00
|
|
|
":video_codecs_api",
|
2024-03-14 18:39:44 +01:00
|
|
|
"..:array_view",
|
2022-05-05 14:37:05 +02:00
|
|
|
"../../modules/video_coding/svc:scalability_mode_util",
|
2024-03-14 18:39:44 +01:00
|
|
|
"../environment",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2024-08-19 01:13:31 -07:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2022-05-05 14:37:05 +02:00
|
|
|
]
|
2022-03-16 12:11:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_encoder_factory_template_libvpx_vp8_adapter") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [ "software_video_codecs" ]
|
|
|
|
|
public = [ "video_encoder_factory_template_libvpx_vp8_adapter.h" ]
|
|
|
|
|
|
2022-05-09 14:35:09 +02:00
|
|
|
deps = [
|
2024-08-19 01:13:31 -07:00
|
|
|
":scalability_mode",
|
2022-10-07 21:47:49 +00:00
|
|
|
":video_codecs_api",
|
2022-05-09 14:35:09 +02:00
|
|
|
"../../modules/video_coding:webrtc_vp8",
|
|
|
|
|
"../../modules/video_coding:webrtc_vp8_scalability",
|
2024-03-22 15:58:15 +01:00
|
|
|
"../environment",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
2022-05-09 14:35:09 +02:00
|
|
|
]
|
2022-03-16 12:11:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_encoder_factory_template_libvpx_vp9_adapter") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [ "software_video_codecs" ]
|
|
|
|
|
public = [ "video_encoder_factory_template_libvpx_vp9_adapter.h" ]
|
|
|
|
|
|
2024-03-22 15:58:15 +01:00
|
|
|
deps = [
|
2024-08-19 01:13:31 -07:00
|
|
|
":scalability_mode",
|
2024-03-22 15:58:15 +01:00
|
|
|
":video_codecs_api",
|
|
|
|
|
"../../modules/video_coding:webrtc_vp9",
|
|
|
|
|
"../environment",
|
|
|
|
|
]
|
2022-03-16 12:11:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_encoder_factory_template_open_h264_adapter") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [ "software_video_codecs" ]
|
|
|
|
|
public = [ "video_encoder_factory_template_open_h264_adapter.h" ]
|
|
|
|
|
|
2024-03-22 15:58:15 +01:00
|
|
|
deps = [
|
2024-08-19 01:13:31 -07:00
|
|
|
":scalability_mode",
|
|
|
|
|
":video_codecs_api",
|
2024-03-22 15:58:15 +01:00
|
|
|
"../../modules/video_coding:webrtc_h264",
|
|
|
|
|
"../environment",
|
|
|
|
|
]
|
2022-03-16 12:11:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_encoder_factory_template_libaom_av1_adapter") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [ "software_video_codecs" ]
|
|
|
|
|
public = [ "video_encoder_factory_template_libaom_av1_adapter.h" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2022-04-29 11:03:13 +02:00
|
|
|
":scalability_mode",
|
2022-10-07 21:47:49 +00:00
|
|
|
":video_codecs_api",
|
2022-05-05 14:37:05 +02:00
|
|
|
"../../modules/video_coding/codecs/av1:av1_svc_config",
|
2022-03-16 12:11:42 +01:00
|
|
|
"../../modules/video_coding/codecs/av1:libaom_av1_encoder",
|
2022-04-29 11:03:13 +02:00
|
|
|
"../../modules/video_coding/svc:scalability_mode_util",
|
2024-03-22 15:58:15 +01:00
|
|
|
"../environment",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
2022-03-16 12:11:42 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-14 16:06:51 +02:00
|
|
|
rtc_source_set("video_decoder_factory_template") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [ "software_video_codecs" ]
|
|
|
|
|
public = [ "video_decoder_factory_template.h" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
2024-02-21 13:16:19 +01:00
|
|
|
"..:array_view",
|
|
|
|
|
"../environment",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2022-07-14 16:06:51 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_decoder_factory_template_libvpx_vp8_adapter") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [ "software_video_codecs" ]
|
|
|
|
|
public = [ "video_decoder_factory_template_libvpx_vp8_adapter.h" ]
|
|
|
|
|
|
2022-10-07 21:47:49 +00:00
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
|
|
|
|
"../../modules/video_coding:webrtc_vp8",
|
2024-02-21 13:16:19 +01:00
|
|
|
"../environment",
|
2022-10-07 21:47:49 +00:00
|
|
|
]
|
2022-07-14 16:06:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_decoder_factory_template_libvpx_vp9_adapter") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [ "software_video_codecs" ]
|
|
|
|
|
public = [ "video_decoder_factory_template_libvpx_vp9_adapter.h" ]
|
|
|
|
|
|
2024-08-19 01:13:31 -07:00
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
|
|
|
|
"../../modules/video_coding:webrtc_vp9",
|
|
|
|
|
]
|
2022-07-14 16:06:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_decoder_factory_template_open_h264_adapter") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [ "software_video_codecs" ]
|
|
|
|
|
public = [ "video_decoder_factory_template_open_h264_adapter.h" ]
|
|
|
|
|
|
2024-08-19 01:13:31 -07:00
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
|
|
|
|
"../../modules/video_coding:webrtc_h264",
|
|
|
|
|
]
|
2022-07-14 16:06:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_decoder_factory_template_dav1d_adapter") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [ "software_video_codecs" ]
|
|
|
|
|
public = [ "video_decoder_factory_template_dav1d_adapter.h" ]
|
|
|
|
|
|
2022-10-07 21:47:49 +00:00
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
|
|
|
|
"../../modules/video_coding/codecs/av1:dav1d_decoder",
|
|
|
|
|
]
|
2022-07-14 16:06:51 +02:00
|
|
|
}
|
|
|
|
|
|
2024-04-24 16:31:58 +02:00
|
|
|
rtc_source_set("video_encoding_general") {
|
|
|
|
|
public = [ "video_encoding_general.h" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_encoder_interface") {
|
|
|
|
|
public = [ "video_encoder_interface.h" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_encoding_general",
|
2024-08-19 01:13:31 -07:00
|
|
|
"..:array_view",
|
|
|
|
|
"..:scoped_refptr",
|
2024-04-24 16:31:58 +02:00
|
|
|
"../../api/units:data_rate",
|
2024-05-20 16:49:13 +02:00
|
|
|
"../../api/units:data_size",
|
2024-04-24 16:31:58 +02:00
|
|
|
"../../api/units:time_delta",
|
|
|
|
|
"../../api/units:timestamp",
|
|
|
|
|
"../../api/video:encoded_image",
|
|
|
|
|
"../../api/video:resolution",
|
|
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../../rtc_base:rtc_numerics",
|
|
|
|
|
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_encoder_factory_interface") {
|
|
|
|
|
public = [ "video_encoder_factory_interface.h" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_encoder_interface",
|
|
|
|
|
":video_encoding_general",
|
|
|
|
|
"../../api/units:time_delta",
|
|
|
|
|
"../../api/video:resolution",
|
|
|
|
|
"../../rtc_base:rtc_numerics",
|
2024-08-19 01:13:31 -07:00
|
|
|
"../video:video_frame",
|
2024-04-24 16:31:58 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("simple_encoder_wrapper") {
|
|
|
|
|
sources = [
|
|
|
|
|
"simple_encoder_wrapper.cc",
|
|
|
|
|
"simple_encoder_wrapper.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_encoder_factory_interface",
|
|
|
|
|
":video_encoder_interface",
|
2024-08-19 01:13:31 -07:00
|
|
|
"..:array_view",
|
|
|
|
|
"..:scoped_refptr",
|
2024-04-24 16:31:58 +02:00
|
|
|
"../../api/units:data_rate",
|
|
|
|
|
"../../api/video_codecs:scalability_mode",
|
|
|
|
|
"../../api/video_codecs:scalability_mode_helper",
|
|
|
|
|
"../../common_video/generic_frame_descriptor:generic_frame_descriptor",
|
|
|
|
|
"../../modules/video_coding/svc:scalability_structures",
|
2024-08-19 01:13:31 -07:00
|
|
|
"../../modules/video_coding/svc:scalable_video_controller",
|
|
|
|
|
"../../rtc_base:checks",
|
2024-04-24 16:31:58 +02:00
|
|
|
"../../rtc_base:logging",
|
2024-08-19 01:13:31 -07:00
|
|
|
"../../rtc_base:rtc_numerics",
|
|
|
|
|
"../transport/rtp:dependency_descriptor",
|
|
|
|
|
"../units:data_size",
|
|
|
|
|
"../units:frequency",
|
|
|
|
|
"../units:timestamp",
|
|
|
|
|
"../video:video_frame",
|
2024-04-24 16:31:58 +02:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
|
|
|
|
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
2024-08-19 01:13:31 -07:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2024-04-26 16:32:07 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
2024-04-24 16:31:58 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("simple_encoder_wrapper_unittests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [ "simple_encoder_wrapper_unittests.cc" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":simple_encoder_wrapper",
|
|
|
|
|
":video_encoder_factory_interface",
|
|
|
|
|
":video_encoder_interface",
|
2024-08-19 01:13:31 -07:00
|
|
|
":video_encoding_general",
|
2024-04-24 16:31:58 +02:00
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../api/video_codecs:libaom_av1_encoder_factory",
|
|
|
|
|
"../../test:fileutils",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
"../../test:video_test_support",
|
2024-08-19 01:13:31 -07:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2024-04-24 16:31:58 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("libaom_av1_encoder_factory") {
|
|
|
|
|
sources = [
|
|
|
|
|
"libaom_av1_encoder_factory.cc",
|
|
|
|
|
"libaom_av1_encoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2024-08-19 01:13:31 -07:00
|
|
|
":video_codecs_api",
|
2024-04-24 16:31:58 +02:00
|
|
|
":video_encoder_factory_interface",
|
|
|
|
|
":video_encoder_interface",
|
2024-08-19 01:13:31 -07:00
|
|
|
":video_encoding_general",
|
|
|
|
|
"..:array_view",
|
|
|
|
|
"..:scoped_refptr",
|
2024-04-24 16:31:58 +02:00
|
|
|
"../../api/units:time_delta",
|
2024-08-19 01:13:31 -07:00
|
|
|
"../../rtc_base:checks",
|
2024-04-24 16:31:58 +02:00
|
|
|
"../../rtc_base:logging",
|
2024-08-19 01:13:31 -07:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2024-04-29 08:24:09 +02:00
|
|
|
"../../rtc_base:stringutils",
|
2024-08-19 01:13:31 -07:00
|
|
|
"../units:data_rate",
|
|
|
|
|
"../units:data_size",
|
|
|
|
|
"../video:resolution",
|
|
|
|
|
"../video:video_frame",
|
2024-05-21 09:25:08 +02:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
|
|
|
|
"//third_party/abseil-cpp/absl/cleanup",
|
2024-08-19 01:13:31 -07:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/libaom",
|
2024-05-21 09:25:08 +02:00
|
|
|
]
|
2024-04-24 16:31:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("libaom_av1_encoder_factory_test") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [ "libaom_av1_encoder_factory_test.cc" ]
|
|
|
|
|
data = [ "../../resources/reference_video_640x360_30fps.y4m" ]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libaom_av1_encoder_factory",
|
2024-08-19 01:13:31 -07:00
|
|
|
":video_encoder_factory_interface",
|
2024-04-24 16:31:58 +02:00
|
|
|
":video_encoder_interface",
|
2024-08-19 01:13:31 -07:00
|
|
|
":video_encoding_general",
|
|
|
|
|
"..:array_view",
|
|
|
|
|
"..:scoped_refptr",
|
2024-04-24 16:31:58 +02:00
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../../common_video:common_video",
|
|
|
|
|
"../../modules/video_coding/codecs/av1:dav1d_decoder",
|
2024-08-19 01:13:31 -07:00
|
|
|
"../../rtc_base:checks",
|
2024-04-24 16:31:58 +02:00
|
|
|
"../../rtc_base:logging",
|
|
|
|
|
"../../test:fileutils",
|
|
|
|
|
"../../test:test_support",
|
2024-06-26 13:23:44 +02:00
|
|
|
"../../test:video_frame_writer",
|
2024-04-24 16:31:58 +02:00
|
|
|
"../../test:video_test_support",
|
2024-08-19 01:13:31 -07:00
|
|
|
"../units:data_rate",
|
|
|
|
|
"../units:data_size",
|
|
|
|
|
"../units:time_delta",
|
|
|
|
|
"../units:timestamp",
|
|
|
|
|
"../video:encoded_image",
|
|
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
2024-04-24 16:31:58 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("vp8_temporal_layers_factory") {
|
2018-10-12 10:30:31 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [ "software_video_codecs" ]
|
|
|
|
|
sources = [
|
2019-03-20 11:56:20 +01:00
|
|
|
"vp8_temporal_layers_factory.cc",
|
|
|
|
|
"vp8_temporal_layers_factory.h",
|
2018-10-12 10:30:31 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
2019-07-02 11:20:09 +02:00
|
|
|
"../:fec_controller_api",
|
2019-03-20 11:56:20 +01:00
|
|
|
"../../modules/video_coding:video_coding_utility",
|
2018-10-12 10:30:31 +02:00
|
|
|
"../../modules/video_coding:webrtc_vp8_temporal_layers",
|
2019-03-20 11:56:20 +01:00
|
|
|
"../../rtc_base:checks",
|
2018-10-12 10:30:31 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_software_fallback_wrappers") {
|
2018-06-12 11:15:56 +02:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"video_decoder_software_fallback_wrapper.cc",
|
|
|
|
|
"video_decoder_software_fallback_wrapper.h",
|
|
|
|
|
"video_encoder_software_fallback_wrapper.cc",
|
|
|
|
|
"video_encoder_software_fallback_wrapper.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
2019-06-28 15:19:43 +02:00
|
|
|
"..:fec_controller_api",
|
2024-08-19 01:13:31 -07:00
|
|
|
"..:scoped_refptr",
|
2024-02-15 16:29:52 +01:00
|
|
|
"../../api:field_trials_view",
|
|
|
|
|
"../../api/environment",
|
2020-10-08 14:36:33 +00:00
|
|
|
"../../api/video:video_frame",
|
2024-03-12 12:06:16 +00:00
|
|
|
"../../media:video_common",
|
2018-06-12 11:15:56 +02:00
|
|
|
"../../modules/video_coding:video_codec_interface",
|
2020-01-31 13:51:12 +01:00
|
|
|
"../../modules/video_coding:video_coding_utility",
|
2018-06-12 11:15:56 +02: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",
|
2023-08-04 13:59:43 +02:00
|
|
|
"../../rtc_base/experiments:field_trial_parser",
|
2019-04-02 11:33:59 +02:00
|
|
|
"../../rtc_base/system:rtc_export",
|
2020-03-17 10:01:43 +01:00
|
|
|
"../../system_wrappers:metrics",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../video:encoded_image",
|
2018-06-12 11:15:56 +02:00
|
|
|
"../video:video_bitrate_allocation",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../video:video_frame",
|
2024-08-19 01:13:31 -07:00
|
|
|
"../video:video_frame_type",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../video:video_rtp_headers",
|
2020-04-01 13:43:08 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2018-11-28 16:47:49 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-06-12 11:15:56 +02:00
|
|
|
]
|
|
|
|
|
}
|