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")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_codecs_api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-04-05 03:02:20 -07:00
|
|
|
sources = [
|
2018-03-27 08:31:45 +02:00
|
|
|
"sdp_video_format.cc",
|
2017-09-11 11:50:51 -07:00
|
|
|
"sdp_video_format.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",
|
2018-09-03 18:07:56 +02: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",
|
2018-05-18 11:37:23 +02:00
|
|
|
"video_encoder_config.cc",
|
|
|
|
|
"video_encoder_config.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",
|
2017-04-05 03:02:20 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2019-01-25 20:26:48 +01:00
|
|
|
"..:scoped_refptr",
|
2017-04-05 03:02:20 -07:00
|
|
|
"../..:webrtc_common",
|
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",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2018-10-16 14:13:50 +02:00
|
|
|
"../../rtc_base/system:rtc_export",
|
2019-03-27 15:00:43 +01:00
|
|
|
"../units:data_rate",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../video:encoded_image",
|
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",
|
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",
|
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 = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"bitstream_parser.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"..:array_view",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-03 11:28:29 +02:00
|
|
|
rtc_static_library("builtin_video_decoder_factory") {
|
|
|
|
|
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",
|
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-05-03 11:28:29 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_static_library("builtin_video_encoder_factory") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [
|
|
|
|
|
"audio_codecs", # TODO(bugs.webrtc.org/8396): Remove.
|
|
|
|
|
"software_video_codecs",
|
|
|
|
|
]
|
|
|
|
|
sources = [
|
|
|
|
|
"builtin_video_encoder_factory.cc",
|
|
|
|
|
"builtin_video_encoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2018-12-06 13:38:24 +01:00
|
|
|
"../../media:rtc_encoder_simulcast_proxy",
|
2018-05-03 11:28:29 +02:00
|
|
|
"../../media:rtc_internal_video_codecs",
|
|
|
|
|
"../../media:rtc_media_base",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../rtc_base:checks",
|
2018-10-22 17:08:37 +02:00
|
|
|
"../../rtc_base/system:rtc_export",
|
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-10-23 10:07:25 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2018-05-03 11:28:29 +02:00
|
|
|
]
|
|
|
|
|
}
|
2018-06-12 11:15:56 +02:00
|
|
|
|
2019-03-20 11:56:20 +01:00
|
|
|
rtc_static_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-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-11-28 16:47:49 +01:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-10-12 10:30:31 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-06-12 11:15:56 +02:00
|
|
|
rtc_static_library("rtc_software_fallback_wrappers") {
|
|
|
|
|
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",
|
|
|
|
|
"../../media:rtc_h264_profile_id",
|
|
|
|
|
"../../media:rtc_media_base",
|
|
|
|
|
"../../modules/video_coding:video_codec_interface",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../rtc_base/system:fallthrough",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
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",
|
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-28 16:47:49 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-06-12 11:15:56 +02:00
|
|
|
]
|
|
|
|
|
}
|