mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Remove rtc_base/scoped_ref_ptr.h.
The type rtc::scoped_refptr<T> is now part of api/. Please include it from api/scoped_refptr.h. More info: See: https://groups.google.com/forum/#!topic/discuss-webrtc/Mme2MSz4z4o. Bug: webrtc:9887, webrtc:8205 No-Try: True Change-Id: Ic6c7c81e226e59f12f7933e472f573ae097b55bf Reviewed-on: https://webrtc-review.googlesource.com/c/119041 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26414}
This commit is contained in:
parent
9444f3a8c8
commit
d970807e0c
224 changed files with 303 additions and 273 deletions
|
@ -46,6 +46,7 @@ rtc_static_library("create_peerconnection_factory") {
|
||||||
":callfactory_api",
|
":callfactory_api",
|
||||||
":fec_controller_api",
|
":fec_controller_api",
|
||||||
":libjingle_peerconnection_api",
|
":libjingle_peerconnection_api",
|
||||||
|
":scoped_refptr",
|
||||||
"../logging:rtc_event_log_api",
|
"../logging:rtc_event_log_api",
|
||||||
"../logging:rtc_event_log_impl_base",
|
"../logging:rtc_event_log_impl_base",
|
||||||
"../media:rtc_audio_video",
|
"../media:rtc_audio_video",
|
||||||
|
@ -54,7 +55,6 @@ rtc_static_library("create_peerconnection_factory") {
|
||||||
"../modules/audio_processing:api",
|
"../modules/audio_processing:api",
|
||||||
"../pc:peerconnection",
|
"../pc:peerconnection",
|
||||||
"../rtc_base:deprecation",
|
"../rtc_base:deprecation",
|
||||||
"../rtc_base:ptr_util",
|
|
||||||
"../rtc_base:rtc_base",
|
"../rtc_base:rtc_base",
|
||||||
"../rtc_base:rtc_base_approved",
|
"../rtc_base:rtc_base_approved",
|
||||||
"audio:audio_mixer_api",
|
"audio:audio_mixer_api",
|
||||||
|
@ -157,6 +157,7 @@ rtc_static_library("libjingle_peerconnection_api") {
|
||||||
":fec_controller_api",
|
":fec_controller_api",
|
||||||
":libjingle_logging_api",
|
":libjingle_logging_api",
|
||||||
":rtc_stats_api",
|
":rtc_stats_api",
|
||||||
|
":scoped_refptr",
|
||||||
"audio:audio_mixer_api",
|
"audio:audio_mixer_api",
|
||||||
"audio_codecs:audio_codecs_api",
|
"audio_codecs:audio_codecs_api",
|
||||||
"transport:bitrate_settings",
|
"transport:bitrate_settings",
|
||||||
|
@ -244,8 +245,8 @@ if (rtc_include_tests) {
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
":fec_controller_api",
|
":fec_controller_api",
|
||||||
|
":scoped_refptr",
|
||||||
":video_quality_test_fixture_api",
|
":video_quality_test_fixture_api",
|
||||||
"../rtc_base:ptr_util",
|
|
||||||
"../video:video_quality_test",
|
"../video:video_quality_test",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
]
|
]
|
||||||
|
@ -295,6 +296,7 @@ rtc_source_set("rtc_stats_api") {
|
||||||
]
|
]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
|
":scoped_refptr",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:rtc_base_approved",
|
"../rtc_base:rtc_base_approved",
|
||||||
"../rtc_base/system:rtc_export",
|
"../rtc_base/system:rtc_export",
|
||||||
|
|
20
api/DEPS
20
api/DEPS
|
@ -68,7 +68,6 @@ specific_include_rules = {
|
||||||
|
|
||||||
"create_peerconnection_factory\.h": [
|
"create_peerconnection_factory\.h": [
|
||||||
"+rtc_base/deprecation.h",
|
"+rtc_base/deprecation.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"data_channel_interface\.h": [
|
"data_channel_interface\.h": [
|
||||||
|
@ -103,7 +102,6 @@ specific_include_rules = {
|
||||||
"media_stream_interface\.h": [
|
"media_stream_interface\.h": [
|
||||||
"+modules/audio_processing/include/audio_processing_statistics.h",
|
"+modules/audio_processing/include/audio_processing_statistics.h",
|
||||||
"+rtc_base/ref_count.h",
|
"+rtc_base/ref_count.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"media_transport_interface\.h": [
|
"media_transport_interface\.h": [
|
||||||
|
@ -137,7 +135,6 @@ specific_include_rules = {
|
||||||
"+rtc_base/message_handler.h", # Inherits from it.
|
"+rtc_base/message_handler.h", # Inherits from it.
|
||||||
"+rtc_base/message_queue.h", # Inherits from MessageData.
|
"+rtc_base/message_queue.h", # Inherits from MessageData.
|
||||||
"+rtc_base/ref_counted_object.h",
|
"+rtc_base/ref_counted_object.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
"+rtc_base/thread.h",
|
"+rtc_base/thread.h",
|
||||||
],
|
],
|
||||||
|
|
||||||
|
@ -153,17 +150,14 @@ specific_include_rules = {
|
||||||
|
|
||||||
"rtp_receiver_interface\.h": [
|
"rtp_receiver_interface\.h": [
|
||||||
"+rtc_base/ref_count.h",
|
"+rtc_base/ref_count.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"rtp_sender_interface\.h": [
|
"rtp_sender_interface\.h": [
|
||||||
"+rtc_base/ref_count.h",
|
"+rtc_base/ref_count.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"rtp_transceiver_interface\.h": [
|
"rtp_transceiver_interface\.h": [
|
||||||
"+rtc_base/ref_count.h",
|
"+rtc_base/ref_count.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"set_remote_description_observer_interface\.h": [
|
"set_remote_description_observer_interface\.h": [
|
||||||
|
@ -173,7 +167,6 @@ specific_include_rules = {
|
||||||
"stats_types\.h": [
|
"stats_types\.h": [
|
||||||
"+rtc_base/constructor_magic.h",
|
"+rtc_base/constructor_magic.h",
|
||||||
"+rtc_base/ref_count.h",
|
"+rtc_base/ref_count.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
"+rtc_base/string_encode.h",
|
"+rtc_base/string_encode.h",
|
||||||
"+rtc_base/thread_checker.h",
|
"+rtc_base/thread_checker.h",
|
||||||
],
|
],
|
||||||
|
@ -201,7 +194,6 @@ specific_include_rules = {
|
||||||
|
|
||||||
"audio_decoder_factory_template\.h": [
|
"audio_decoder_factory_template\.h": [
|
||||||
"+rtc_base/ref_counted_object.h",
|
"+rtc_base/ref_counted_object.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"audio_encoder\.h": [
|
"audio_encoder\.h": [
|
||||||
|
@ -215,15 +207,6 @@ specific_include_rules = {
|
||||||
|
|
||||||
"audio_encoder_factory_template\.h": [
|
"audio_encoder_factory_template\.h": [
|
||||||
"+rtc_base/ref_counted_object.h",
|
"+rtc_base/ref_counted_object.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
|
||||||
|
|
||||||
"builtin_audio_decoder_factory\.h": [
|
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
|
||||||
|
|
||||||
"builtin_audio_encoder_factory\.h": [
|
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"frame_decryptor_interface\.h": [
|
"frame_decryptor_interface\.h": [
|
||||||
|
@ -236,13 +219,11 @@ specific_include_rules = {
|
||||||
|
|
||||||
"rtc_stats_collector_callback\.h": [
|
"rtc_stats_collector_callback\.h": [
|
||||||
"+rtc_base/ref_count.h",
|
"+rtc_base/ref_count.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"rtc_stats_report\.h": [
|
"rtc_stats_report\.h": [
|
||||||
"+rtc_base/ref_count.h",
|
"+rtc_base/ref_count.h",
|
||||||
"+rtc_base/ref_counted_object.h",
|
"+rtc_base/ref_counted_object.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"audioproc_float\.h": [
|
"audioproc_float\.h": [
|
||||||
|
@ -281,7 +262,6 @@ specific_include_rules = {
|
||||||
|
|
||||||
"video_encoder_config\.h": [
|
"video_encoder_config\.h": [
|
||||||
"+rtc_base/ref_count.h",
|
"+rtc_base/ref_count.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
# .cc files in api/ should not be restricted in what they can #include,
|
# .cc files in api/ should not be restricted in what they can #include,
|
||||||
|
|
|
@ -31,6 +31,7 @@ rtc_source_set("audio_codecs_api") {
|
||||||
deps = [
|
deps = [
|
||||||
"..:array_view",
|
"..:array_view",
|
||||||
"..:bitrate_allocation",
|
"..:bitrate_allocation",
|
||||||
|
"..:scoped_refptr",
|
||||||
"../..:webrtc_common",
|
"../..:webrtc_common",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:deprecation",
|
"../../rtc_base:deprecation",
|
||||||
|
@ -51,6 +52,7 @@ rtc_static_library("builtin_audio_decoder_factory") {
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
":audio_codecs_api",
|
":audio_codecs_api",
|
||||||
|
"..:scoped_refptr",
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
"L16:audio_decoder_L16",
|
"L16:audio_decoder_L16",
|
||||||
"g711:audio_decoder_g711",
|
"g711:audio_decoder_g711",
|
||||||
|
@ -81,6 +83,7 @@ rtc_static_library("builtin_audio_encoder_factory") {
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
":audio_codecs_api",
|
":audio_codecs_api",
|
||||||
|
"..:scoped_refptr",
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
"L16:audio_encoder_L16",
|
"L16:audio_encoder_L16",
|
||||||
"g711:audio_encoder_g711",
|
"g711:audio_encoder_g711",
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "api/audio_codecs/audio_decoder_factory.h"
|
#include "api/audio_codecs/audio_decoder_factory.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/ref_counted_object.h"
|
#include "rtc_base/ref_counted_object.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "api/audio_codecs/audio_encoder_factory.h"
|
#include "api/audio_codecs/audio_encoder_factory.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/ref_counted_object.h"
|
#include "rtc_base/ref_counted_object.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#define API_AUDIO_CODECS_BUILTIN_AUDIO_DECODER_FACTORY_H_
|
#define API_AUDIO_CODECS_BUILTIN_AUDIO_DECODER_FACTORY_H_
|
||||||
|
|
||||||
#include "api/audio_codecs/audio_decoder_factory.h"
|
#include "api/audio_codecs/audio_decoder_factory.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
#include "api/scoped_refptr.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#define API_AUDIO_CODECS_BUILTIN_AUDIO_ENCODER_FACTORY_H_
|
#define API_AUDIO_CODECS_BUILTIN_AUDIO_ENCODER_FACTORY_H_
|
||||||
|
|
||||||
#include "api/audio_codecs/audio_encoder_factory.h"
|
#include "api/audio_codecs/audio_encoder_factory.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
#include "api/scoped_refptr.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#include "api/call/call_factory_interface.h"
|
#include "api/call/call_factory_interface.h"
|
||||||
#include "api/fec_controller.h"
|
#include "api/fec_controller.h"
|
||||||
#include "api/peer_connection_interface.h"
|
#include "api/peer_connection_interface.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/transport/network_control.h"
|
#include "api/transport/network_control.h"
|
||||||
#include "api/video_codecs/video_decoder_factory.h"
|
#include "api/video_codecs/video_decoder_factory.h"
|
||||||
#include "api/video_codecs/video_encoder_factory.h"
|
#include "api/video_codecs/video_encoder_factory.h"
|
||||||
|
@ -28,7 +29,6 @@
|
||||||
#include "media/engine/webrtc_media_engine.h"
|
#include "media/engine/webrtc_media_engine.h"
|
||||||
#include "modules/audio_device/include/audio_device.h"
|
#include "modules/audio_device/include/audio_device.h"
|
||||||
#include "modules/audio_processing/include/audio_processing.h"
|
#include "modules/audio_processing/include/audio_processing.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/thread.h"
|
#include "rtc_base/thread.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
#include "api/audio_codecs/audio_encoder_factory.h"
|
#include "api/audio_codecs/audio_encoder_factory.h"
|
||||||
#include "api/fec_controller.h"
|
#include "api/fec_controller.h"
|
||||||
#include "api/peer_connection_interface.h"
|
#include "api/peer_connection_interface.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/transport/network_control.h"
|
#include "api/transport/network_control.h"
|
||||||
#include "rtc_base/deprecation.h"
|
#include "rtc_base/deprecation.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace rtc {
|
namespace rtc {
|
||||||
// TODO(bugs.webrtc.org/9987): Move rtc::Thread to api/ or expose a better
|
// TODO(bugs.webrtc.org/9987): Move rtc::Thread to api/ or expose a better
|
||||||
|
|
|
@ -24,12 +24,12 @@
|
||||||
|
|
||||||
#include "absl/types/optional.h"
|
#include "absl/types/optional.h"
|
||||||
#include "api/audio_options.h"
|
#include "api/audio_options.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/video_frame.h"
|
#include "api/video/video_frame.h"
|
||||||
#include "api/video/video_sink_interface.h"
|
#include "api/video/video_sink_interface.h"
|
||||||
#include "api/video/video_source_interface.h"
|
#include "api/video/video_source_interface.h"
|
||||||
#include "modules/audio_processing/include/audio_processing_statistics.h"
|
#include "modules/audio_processing/include/audio_processing_statistics.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -56,11 +56,11 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/event.h"
|
#include "rtc_base/event.h"
|
||||||
#include "rtc_base/message_handler.h"
|
#include "rtc_base/message_handler.h"
|
||||||
#include "rtc_base/message_queue.h"
|
#include "rtc_base/message_queue.h"
|
||||||
#include "rtc_base/ref_counted_object.h"
|
#include "rtc_base/ref_counted_object.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/thread.h"
|
#include "rtc_base/thread.h"
|
||||||
|
|
||||||
namespace rtc {
|
namespace rtc {
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
#include "api/media_types.h"
|
#include "api/media_types.h"
|
||||||
#include "api/proxy.h"
|
#include "api/proxy.h"
|
||||||
#include "api/rtp_parameters.h"
|
#include "api/rtp_parameters.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
#include "api/proxy.h"
|
#include "api/proxy.h"
|
||||||
#include "api/rtc_error.h"
|
#include "api/rtc_error.h"
|
||||||
#include "api/rtp_parameters.h"
|
#include "api/rtp_parameters.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
#include "api/rtp_parameters.h"
|
#include "api/rtp_parameters.h"
|
||||||
#include "api/rtp_receiver_interface.h"
|
#include "api/rtp_receiver_interface.h"
|
||||||
#include "api/rtp_sender_interface.h"
|
#include "api/rtp_sender_interface.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
#ifndef API_STATS_RTC_STATS_COLLECTOR_CALLBACK_H_
|
#ifndef API_STATS_RTC_STATS_COLLECTOR_CALLBACK_H_
|
||||||
#define API_STATS_RTC_STATS_COLLECTOR_CALLBACK_H_
|
#define API_STATS_RTC_STATS_COLLECTOR_CALLBACK_H_
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/stats/rtc_stats_report.h"
|
#include "api/stats/rtc_stats_report.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,10 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/stats/rtc_stats.h"
|
#include "api/stats/rtc_stats.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/ref_counted_object.h"
|
#include "rtc_base/ref_counted_object.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/system/rtc_export.h"
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/string_encode.h"
|
#include "rtc_base/string_encode.h"
|
||||||
#include "rtc_base/thread_checker.h"
|
#include "rtc_base/thread_checker.h"
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ rtc_source_set("video_frame") {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
"..:array_view",
|
"..:array_view",
|
||||||
|
"..:scoped_refptr",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
|
@ -48,6 +49,7 @@ rtc_source_set("video_frame_i420") {
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
":video_frame",
|
":video_frame",
|
||||||
|
"..:scoped_refptr",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:rtc_base",
|
"../../rtc_base:rtc_base",
|
||||||
"../../rtc_base/memory:aligned_malloc",
|
"../../rtc_base/memory:aligned_malloc",
|
||||||
|
@ -65,6 +67,7 @@ rtc_source_set("video_frame_i010") {
|
||||||
deps = [
|
deps = [
|
||||||
":video_frame",
|
":video_frame",
|
||||||
":video_frame_i420",
|
":video_frame_i420",
|
||||||
|
"..:scoped_refptr",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:rtc_base",
|
"../../rtc_base:rtc_base",
|
||||||
"../../rtc_base/memory:aligned_malloc",
|
"../../rtc_base/memory:aligned_malloc",
|
||||||
|
@ -211,7 +214,7 @@ rtc_source_set("video_stream_encoder_create") {
|
||||||
deps = [
|
deps = [
|
||||||
":video_frame",
|
":video_frame",
|
||||||
":video_stream_encoder",
|
":video_stream_encoder",
|
||||||
"../../rtc_base:ptr_util",
|
"../../api:scoped_refptr",
|
||||||
"../../video:video_stream_encoder_impl",
|
"../../video:video_stream_encoder_impl",
|
||||||
"../video_codecs:video_codecs_api",
|
"../video_codecs:video_codecs_api",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
|
@ -230,10 +233,10 @@ rtc_static_library("builtin_video_bitrate_allocator_factory") {
|
||||||
":video_bitrate_allocator",
|
":video_bitrate_allocator",
|
||||||
":video_bitrate_allocator_factory",
|
":video_bitrate_allocator_factory",
|
||||||
"../../:webrtc_common",
|
"../../:webrtc_common",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../media:rtc_media_base",
|
"../../media:rtc_media_base",
|
||||||
"../../modules/video_coding:video_coding_utility",
|
"../../modules/video_coding:video_coding_utility",
|
||||||
"../../modules/video_coding:webrtc_vp9_helpers",
|
"../../modules/video_coding:webrtc_vp9_helpers",
|
||||||
"../../rtc_base:ptr_util",
|
|
||||||
"../../rtc_base/system:fallthrough",
|
"../../rtc_base/system:fallthrough",
|
||||||
"../video_codecs:video_codecs_api",
|
"../video_codecs:video_codecs_api",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
|
|
|
@ -8,21 +8,17 @@ specific_include_rules = {
|
||||||
|
|
||||||
"i010_buffer\.h": [
|
"i010_buffer\.h": [
|
||||||
"+rtc_base/memory/aligned_malloc.h",
|
"+rtc_base/memory/aligned_malloc.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"i420_buffer\.h": [
|
"i420_buffer\.h": [
|
||||||
"+rtc_base/memory/aligned_malloc.h",
|
"+rtc_base/memory/aligned_malloc.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"video_frame\.h": [
|
"video_frame\.h": [
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"video_frame_buffer\.h": [
|
"video_frame_buffer\.h": [
|
||||||
"+rtc_base/ref_count.h",
|
"+rtc_base/ref_count.h",
|
||||||
"+rtc_base/scoped_ref_ptr.h",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
"video_stream_decoder_create.cc": [
|
"video_stream_decoder_create.cc": [
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "api/video/video_rotation.h"
|
#include "api/video/video_rotation.h"
|
||||||
#include "rtc_base/memory/aligned_malloc.h"
|
#include "rtc_base/memory/aligned_malloc.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "api/video/video_rotation.h"
|
#include "api/video/video_rotation.h"
|
||||||
#include "rtc_base/memory/aligned_malloc.h"
|
#include "rtc_base/memory/aligned_malloc.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/system/rtc_export.h"
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -14,11 +14,11 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "absl/types/optional.h"
|
#include "absl/types/optional.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/color_space.h"
|
#include "api/video/color_space.h"
|
||||||
#include "api/video/hdr_metadata.h"
|
#include "api/video/hdr_metadata.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "api/video/video_rotation.h"
|
#include "api/video/video_rotation.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/system/rtc_export.h"
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,7 @@ rtc_source_set("video_codecs_api") {
|
||||||
]
|
]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
|
"..:scoped_refptr",
|
||||||
"../..:webrtc_common",
|
"../..:webrtc_common",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
|
@ -59,8 +60,8 @@ rtc_static_library("builtin_video_decoder_factory") {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":video_codecs_api",
|
":video_codecs_api",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../media:rtc_internal_video_codecs",
|
"../../media:rtc_internal_video_codecs",
|
||||||
"../../rtc_base:ptr_util",
|
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
]
|
]
|
||||||
|
@ -79,11 +80,11 @@ rtc_static_library("builtin_video_encoder_factory") {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":video_codecs_api",
|
":video_codecs_api",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../media:rtc_encoder_simulcast_proxy",
|
"../../media:rtc_encoder_simulcast_proxy",
|
||||||
"../../media:rtc_internal_video_codecs",
|
"../../media:rtc_internal_video_codecs",
|
||||||
"../../media:rtc_media_base",
|
"../../media:rtc_media_base",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:ptr_util",
|
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
"//third_party/abseil-cpp/absl/strings",
|
"//third_party/abseil-cpp/absl/strings",
|
||||||
|
|
|
@ -23,12 +23,12 @@ if (rtc_include_tests) {
|
||||||
"..:video_codecs_api",
|
"..:video_codecs_api",
|
||||||
"../..:mock_video_encoder",
|
"../..:mock_video_encoder",
|
||||||
"../../../:webrtc_common",
|
"../../../:webrtc_common",
|
||||||
|
"../../../api:scoped_refptr",
|
||||||
"../../../modules:module_api",
|
"../../../modules:module_api",
|
||||||
"../../../modules/video_coding:video_codec_interface",
|
"../../../modules/video_coding:video_codec_interface",
|
||||||
"../../../modules/video_coding:video_coding_utility",
|
"../../../modules/video_coding:video_coding_utility",
|
||||||
"../../../modules/video_coding:webrtc_vp8",
|
"../../../modules/video_coding:webrtc_vp8",
|
||||||
"../../../rtc_base:checks",
|
"../../../rtc_base:checks",
|
||||||
"../../../rtc_base:ptr_util",
|
|
||||||
"../../../rtc_base:rtc_base_tests_utils",
|
"../../../rtc_base:rtc_base_tests_utils",
|
||||||
"../../../test:field_trial",
|
"../../../test:field_trial",
|
||||||
"../../../test:test_support",
|
"../../../test:test_support",
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
#include "absl/memory/memory.h"
|
#include "absl/memory/memory.h"
|
||||||
#include "absl/types/optional.h"
|
#include "absl/types/optional.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/test/mock_video_encoder.h"
|
#include "api/test/mock_video_encoder.h"
|
||||||
#include "api/video/encoded_image.h"
|
#include "api/video/encoded_image.h"
|
||||||
#include "api/video/i420_buffer.h"
|
#include "api/video/i420_buffer.h"
|
||||||
|
@ -33,7 +34,6 @@
|
||||||
#include "modules/video_coding/include/video_error_codes.h"
|
#include "modules/video_coding/include/video_error_codes.h"
|
||||||
#include "modules/video_coding/utility/simulcast_rate_allocator.h"
|
#include "modules/video_coding/utility/simulcast_rate_allocator.h"
|
||||||
#include "rtc_base/fake_clock.h"
|
#include "rtc_base/fake_clock.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "test/field_trial.h"
|
#include "test/field_trial.h"
|
||||||
#include "test/gmock.h"
|
#include "test/gmock.h"
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
|
@ -16,10 +16,10 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "absl/types/optional.h"
|
#include "absl/types/optional.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video_codecs/sdp_video_format.h"
|
#include "api/video_codecs/sdp_video_format.h"
|
||||||
#include "api/video_codecs/video_codec.h"
|
#include "api/video_codecs/video_codec.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@ rtc_static_library("audio") {
|
||||||
"../api:array_view",
|
"../api:array_view",
|
||||||
"../api:call_api",
|
"../api:call_api",
|
||||||
"../api:libjingle_peerconnection_api",
|
"../api:libjingle_peerconnection_api",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../api:transport_api",
|
"../api:transport_api",
|
||||||
"../api/audio:aec3_factory",
|
"../api/audio:aec3_factory",
|
||||||
"../api/audio:audio_frame_api",
|
"../api/audio:audio_frame_api",
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "api/audio/audio_mixer.h"
|
#include "api/audio/audio_mixer.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "audio/audio_level.h"
|
#include "audio/audio_level.h"
|
||||||
#include "common_audio/resampler/include/push_resampler.h"
|
#include "common_audio/resampler/include/push_resampler.h"
|
||||||
#include "modules/audio_device/include/audio_device.h"
|
#include "modules/audio_device/include/audio_device.h"
|
||||||
|
@ -21,7 +22,6 @@
|
||||||
#include "modules/audio_processing/typing_detection.h"
|
#include "modules/audio_processing/typing_detection.h"
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/critical_section.h"
|
#include "rtc_base/critical_section.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/thread_annotations.h"
|
#include "rtc_base/thread_annotations.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -33,6 +33,7 @@ rtc_source_set("call_interfaces") {
|
||||||
"..:webrtc_common",
|
"..:webrtc_common",
|
||||||
"../api:fec_controller_api",
|
"../api:fec_controller_api",
|
||||||
"../api:libjingle_peerconnection_api",
|
"../api:libjingle_peerconnection_api",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../api:transport_api",
|
"../api:transport_api",
|
||||||
"../api/audio:audio_mixer_api",
|
"../api/audio:audio_mixer_api",
|
||||||
"../api/audio_codecs:audio_codecs_api",
|
"../api/audio_codecs:audio_codecs_api",
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
#include "api/media_transport_interface.h"
|
#include "api/media_transport_interface.h"
|
||||||
#include "api/rtp_parameters.h"
|
#include "api/rtp_parameters.h"
|
||||||
#include "api/rtp_receiver_interface.h"
|
#include "api/rtp_receiver_interface.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "call/rtp_config.h"
|
#include "call/rtp_config.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
class AudioSinkInterface;
|
class AudioSinkInterface;
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
#include "api/crypto/frame_encryptor_interface.h"
|
#include "api/crypto/frame_encryptor_interface.h"
|
||||||
#include "api/media_transport_interface.h"
|
#include "api/media_transport_interface.h"
|
||||||
#include "api/rtp_parameters.h"
|
#include "api/rtp_parameters.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "call/rtp_config.h"
|
#include "call/rtp_config.h"
|
||||||
#include "modules/audio_processing/include/audio_processing_statistics.h"
|
#include "modules/audio_processing/include/audio_processing_statistics.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
#define CALL_AUDIO_STATE_H_
|
#define CALL_AUDIO_STATE_H_
|
||||||
|
|
||||||
#include "api/audio/audio_mixer.h"
|
#include "api/audio/audio_mixer.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_device/include/audio_device.h"
|
#include "modules/audio_device/include/audio_device.h"
|
||||||
#include "modules/audio_processing/include/audio_processing.h"
|
#include "modules/audio_processing/include/audio_processing.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@ rtc_static_library("common_video") {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
"..:webrtc_common",
|
"..:webrtc_common",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../api/video:encoded_image",
|
"../api/video:encoded_image",
|
||||||
"../api/video:video_bitrate_allocation",
|
"../api/video:video_bitrate_allocation",
|
||||||
"../api/video:video_bitrate_allocator",
|
"../api/video:video_bitrate_allocator",
|
||||||
|
@ -87,6 +88,7 @@ if (rtc_include_tests) {
|
||||||
deps = [
|
deps = [
|
||||||
":common_video",
|
":common_video",
|
||||||
"../:webrtc_common",
|
"../:webrtc_common",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../api/units:time_delta",
|
"../api/units:time_delta",
|
||||||
"../api/video:video_frame",
|
"../api/video:video_frame",
|
||||||
"../api/video:video_frame_i010",
|
"../api/video:video_frame_i010",
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/i420_buffer.h"
|
#include "api/video/i420_buffer.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "common_video/include/i420_buffer_pool.h"
|
#include "common_video/include/i420_buffer_pool.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/i420_buffer.h"
|
#include "api/video/i420_buffer.h"
|
||||||
#include "rtc_base/race_checker.h"
|
#include "rtc_base/race_checker.h"
|
||||||
#include "rtc_base/ref_counted_object.h"
|
#include "rtc_base/ref_counted_object.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "rtc_base/callback.h"
|
#include "rtc_base/callback.h"
|
||||||
#include "rtc_base/ref_counted_object.h"
|
#include "rtc_base/ref_counted_object.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -19,10 +19,10 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/video_frame.h"
|
#include "api/video/video_frame.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "common_types.h" // NOLINT(build/include)
|
#include "common_types.h" // NOLINT(build/include)
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -504,6 +504,7 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
"../api:libjingle_peerconnection_api",
|
"../api:libjingle_peerconnection_api",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../api/audio_codecs:builtin_audio_decoder_factory",
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
||||||
"../api/audio_codecs:builtin_audio_encoder_factory",
|
"../api/audio_codecs:builtin_audio_encoder_factory",
|
||||||
"../api/video:builtin_video_bitrate_allocator_factory",
|
"../api/video:builtin_video_bitrate_allocator_factory",
|
||||||
|
@ -692,6 +693,7 @@ if (is_linux || is_win) {
|
||||||
"../api:audio_options_api",
|
"../api:audio_options_api",
|
||||||
"../api:create_peerconnection_factory",
|
"../api:create_peerconnection_factory",
|
||||||
"../api:libjingle_peerconnection_api",
|
"../api:libjingle_peerconnection_api",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../api/audio:audio_mixer_api",
|
"../api/audio:audio_mixer_api",
|
||||||
"../api/audio_codecs:audio_codecs_api",
|
"../api/audio_codecs:audio_codecs_api",
|
||||||
"../api/video:video_frame_i420",
|
"../api/video:video_frame_i420",
|
||||||
|
|
|
@ -48,6 +48,7 @@ if (is_android) {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":generated_jni",
|
":generated_jni",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"//api:libjingle_peerconnection_api",
|
"//api:libjingle_peerconnection_api",
|
||||||
"//api/audio_codecs:builtin_audio_decoder_factory",
|
"//api/audio_codecs:builtin_audio_decoder_factory",
|
||||||
"//api/audio_codecs:builtin_audio_encoder_factory",
|
"//api/audio_codecs:builtin_audio_encoder_factory",
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "api/peer_connection_interface.h"
|
#include "api/peer_connection_interface.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/critical_section.h"
|
#include "rtc_base/critical_section.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/thread_checker.h"
|
#include "rtc_base/thread_checker.h"
|
||||||
#include "sdk/android/native_api/jni/scoped_java_ref.h"
|
#include "sdk/android/native_api/jni/scoped_java_ref.h"
|
||||||
#include "sdk/android/native_api/video/video_source.h"
|
#include "sdk/android/native_api/video/video_source.h"
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "api/peer_connection_interface.h"
|
#include "api/peer_connection_interface.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/critical_section.h"
|
#include "rtc_base/critical_section.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/thread_checker.h"
|
#include "rtc_base/thread_checker.h"
|
||||||
|
|
||||||
@class RTCVideoCapturer;
|
@class RTCVideoCapturer;
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "examples/peerconnection/client/conductor.h"
|
#include "examples/peerconnection/client/conductor.h"
|
||||||
#include "examples/peerconnection/client/flag_defs.h"
|
#include "examples/peerconnection/client/flag_defs.h"
|
||||||
#include "examples/peerconnection/client/linux/main_wnd.h"
|
#include "examples/peerconnection/client/linux/main_wnd.h"
|
||||||
|
@ -20,7 +21,6 @@
|
||||||
#include "rtc_base/message_queue.h"
|
#include "rtc_base/message_queue.h"
|
||||||
#include "rtc_base/physical_socket_server.h"
|
#include "rtc_base/physical_socket_server.h"
|
||||||
#include "rtc_base/ref_counted_object.h"
|
#include "rtc_base/ref_counted_object.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/ssl_adapter.h"
|
#include "rtc_base/ssl_adapter.h"
|
||||||
#include "rtc_base/thread.h"
|
#include "rtc_base/thread.h"
|
||||||
#include "system_wrappers/include/field_trial.h"
|
#include "system_wrappers/include/field_trial.h"
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "api/media_stream_interface.h"
|
#include "api/media_stream_interface.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/video_frame.h"
|
#include "api/video/video_frame.h"
|
||||||
#include "api/video/video_sink_interface.h"
|
#include "api/video/video_sink_interface.h"
|
||||||
#include "examples/peerconnection/client/main_wnd.h"
|
#include "examples/peerconnection/client/main_wnd.h"
|
||||||
#include "examples/peerconnection/client/peer_connection_client.h"
|
#include "examples/peerconnection/client/peer_connection_client.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
// Forward declarations.
|
// Forward declarations.
|
||||||
typedef struct _GtkWidget GtkWidget;
|
typedef struct _GtkWidget GtkWidget;
|
||||||
|
|
|
@ -39,7 +39,7 @@ rtc_source_set("rtc_event_log_api") {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
"../api:libjingle_logging_api",
|
"../api:libjingle_logging_api",
|
||||||
"../rtc_base:ptr_util",
|
"../api:scoped_refptr",
|
||||||
"../rtc_base:rtc_base_approved",
|
"../rtc_base:rtc_base_approved",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
]
|
]
|
||||||
|
@ -65,7 +65,7 @@ rtc_source_set("rtc_event_pacing") {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":rtc_event_log_api",
|
":rtc_event_log_api",
|
||||||
"../rtc_base:ptr_util",
|
"../api:scoped_refptr",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -85,9 +85,9 @@ rtc_source_set("rtc_event_audio") {
|
||||||
deps = [
|
deps = [
|
||||||
":rtc_event_log_api",
|
":rtc_event_log_api",
|
||||||
":rtc_stream_config",
|
":rtc_stream_config",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../modules/audio_coding:audio_network_adaptor_config",
|
"../modules/audio_coding:audio_network_adaptor_config",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:ptr_util",
|
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -108,8 +108,8 @@ rtc_source_set("rtc_event_bwe") {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":rtc_event_log_api",
|
":rtc_event_log_api",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../modules/remote_bitrate_estimator:remote_bitrate_estimator",
|
"../modules/remote_bitrate_estimator:remote_bitrate_estimator",
|
||||||
"../rtc_base:ptr_util",
|
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -129,9 +129,9 @@ rtc_source_set("rtc_event_rtp_rtcp") {
|
||||||
deps = [
|
deps = [
|
||||||
":rtc_event_log_api",
|
":rtc_event_log_api",
|
||||||
"../api:array_view",
|
"../api:array_view",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../modules/rtp_rtcp:rtp_rtcp_format",
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:ptr_util",
|
|
||||||
"../rtc_base:rtc_base_approved",
|
"../rtc_base:rtc_base_approved",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
]
|
]
|
||||||
|
@ -148,8 +148,8 @@ rtc_source_set("rtc_event_video") {
|
||||||
deps = [
|
deps = [
|
||||||
":rtc_event_log_api",
|
":rtc_event_log_api",
|
||||||
":rtc_stream_config",
|
":rtc_stream_config",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:ptr_util",
|
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,6 +78,7 @@ rtc_static_library("rtc_media_base") {
|
||||||
deps = [
|
deps = [
|
||||||
"../api:array_view",
|
"../api:array_view",
|
||||||
"../api:audio_options_api",
|
"../api:audio_options_api",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:rtc_base_approved",
|
"../rtc_base:rtc_base_approved",
|
||||||
"../rtc_base:rtc_task_queue",
|
"../rtc_base:rtc_task_queue",
|
||||||
|
@ -190,6 +191,7 @@ rtc_static_library("rtc_simulcast_encoder_adapter") {
|
||||||
"engine/simulcast_encoder_adapter.h",
|
"engine/simulcast_encoder_adapter.h",
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../api/video:video_codec_constants",
|
"../api/video:video_codec_constants",
|
||||||
"../api/video:video_frame",
|
"../api/video:video_frame",
|
||||||
"../api/video:video_frame_i420",
|
"../api/video:video_frame_i420",
|
||||||
|
@ -302,6 +304,7 @@ rtc_static_library("rtc_audio_video") {
|
||||||
defines = []
|
defines = []
|
||||||
libs = []
|
libs = []
|
||||||
deps = [
|
deps = [
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../api/video:video_bitrate_allocation",
|
"../api/video:video_bitrate_allocation",
|
||||||
"../api/video:video_bitrate_allocator_factory",
|
"../api/video:video_bitrate_allocator_factory",
|
||||||
"../modules/audio_processing:api",
|
"../modules/audio_processing:api",
|
||||||
|
@ -460,6 +463,7 @@ if (rtc_include_tests) {
|
||||||
":rtc_audio_video",
|
":rtc_audio_video",
|
||||||
":rtc_simulcast_encoder_adapter",
|
":rtc_simulcast_encoder_adapter",
|
||||||
"../api:libjingle_peerconnection_api",
|
"../api:libjingle_peerconnection_api",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../api/video:encoded_image",
|
"../api/video:encoded_image",
|
||||||
"../api/video:video_frame_i420",
|
"../api/video:video_frame_i420",
|
||||||
"../call:video_stream_api",
|
"../call:video_stream_api",
|
||||||
|
@ -564,6 +568,7 @@ if (rtc_include_tests) {
|
||||||
":rtc_constants",
|
":rtc_constants",
|
||||||
":rtc_data",
|
":rtc_data",
|
||||||
"../:webrtc_common",
|
"../:webrtc_common",
|
||||||
|
"../api:scoped_refptr",
|
||||||
"../api/test/video:function_video_factory",
|
"../api/test/video:function_video_factory",
|
||||||
"../api/units:time_delta",
|
"../api/units:time_delta",
|
||||||
"../api/video:video_frame_i420",
|
"../api/video:video_frame_i420",
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
|
|
||||||
#include "media/base/adapted_video_track_source.h"
|
#include "media/base/adapted_video_track_source.h"
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/i420_buffer.h"
|
#include "api/video/i420_buffer.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "api/video/video_rotation.h"
|
#include "api/video/video_rotation.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/time_utils.h"
|
#include "rtc_base/time_utils.h"
|
||||||
|
|
||||||
namespace rtc {
|
namespace rtc {
|
||||||
|
|
|
@ -10,10 +10,10 @@
|
||||||
|
|
||||||
#include "media/base/fake_frame_source.h"
|
#include "media/base/fake_frame_source.h"
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/i420_buffer.h"
|
#include "api/video/i420_buffer.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/time_utils.h"
|
#include "rtc_base/time_utils.h"
|
||||||
|
|
||||||
namespace cricket {
|
namespace cricket {
|
||||||
|
|
|
@ -14,11 +14,11 @@
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
#include "absl/memory/memory.h"
|
#include "absl/memory/memory.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/i420_buffer.h"
|
#include "api/video/i420_buffer.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "rtc_base/arraysize.h"
|
#include "rtc_base/arraysize.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/time_utils.h"
|
#include "rtc_base/time_utils.h"
|
||||||
|
|
||||||
namespace cricket {
|
namespace cricket {
|
||||||
|
|
|
@ -13,12 +13,12 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/video_frame.h"
|
#include "api/video/video_frame.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "api/video/video_rotation.h"
|
#include "api/video/video_rotation.h"
|
||||||
#include "api/video/video_sink_interface.h"
|
#include "api/video/video_sink_interface.h"
|
||||||
#include "rtc_base/critical_section.h"
|
#include "rtc_base/critical_section.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace cricket {
|
namespace cricket {
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
#ifndef MEDIA_BASE_VIDEO_BROADCASTER_H_
|
#ifndef MEDIA_BASE_VIDEO_BROADCASTER_H_
|
||||||
#define MEDIA_BASE_VIDEO_BROADCASTER_H_
|
#define MEDIA_BASE_VIDEO_BROADCASTER_H_
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "api/video/video_source_interface.h"
|
#include "api/video/video_source_interface.h"
|
||||||
#include "media/base/video_source_base.h"
|
#include "media/base/video_source_base.h"
|
||||||
#include "rtc_base/critical_section.h"
|
#include "rtc_base/critical_section.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/thread_annotations.h"
|
#include "rtc_base/thread_annotations.h"
|
||||||
#include "rtc_base/thread_checker.h"
|
#include "rtc_base/thread_checker.h"
|
||||||
|
|
||||||
|
|
|
@ -14,13 +14,13 @@
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/i420_buffer.h"
|
#include "api/video/i420_buffer.h"
|
||||||
#include "api/video/video_frame.h"
|
#include "api/video/video_frame.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
#include "api/video/video_rotation.h"
|
#include "api/video/video_rotation.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/logging.h"
|
#include "rtc_base/logging.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/time_utils.h"
|
#include "rtc_base/time_utils.h"
|
||||||
|
|
||||||
namespace cricket {
|
namespace cricket {
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
|
|
||||||
#include "media/engine/apm_helpers.h"
|
#include "media/engine/apm_helpers.h"
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_processing/include/audio_processing.h"
|
#include "modules/audio_processing/include/audio_processing.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "test/gmock.h"
|
#include "test/gmock.h"
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/video/i420_buffer.h"
|
#include "api/video/i420_buffer.h"
|
||||||
#include "api/video/video_codec_constants.h"
|
#include "api/video/video_codec_constants.h"
|
||||||
#include "api/video/video_frame_buffer.h"
|
#include "api/video/video_frame_buffer.h"
|
||||||
|
@ -26,7 +27,6 @@
|
||||||
#include "modules/video_coding/utility/simulcast_rate_allocator.h"
|
#include "modules/video_coding/utility/simulcast_rate_allocator.h"
|
||||||
#include "rtc_base/atomic_ops.h"
|
#include "rtc_base/atomic_ops.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "system_wrappers/include/field_trial.h"
|
#include "system_wrappers/include/field_trial.h"
|
||||||
#include "third_party/libyuv/include/libyuv/scale.h"
|
#include "third_party/libyuv/include/libyuv/scale.h"
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#include "api/audio_codecs/audio_encoder_factory.h"
|
#include "api/audio_codecs/audio_encoder_factory.h"
|
||||||
#include "api/rtp_receiver_interface.h"
|
#include "api/rtp_receiver_interface.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "call/audio_state.h"
|
#include "call/audio_state.h"
|
||||||
#include "call/call.h"
|
#include "call/call.h"
|
||||||
#include "media/base/rtp_utils.h"
|
#include "media/base/rtp_utils.h"
|
||||||
|
@ -28,7 +29,6 @@
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/experiments/audio_allocation_settings.h"
|
#include "rtc_base/experiments/audio_allocation_settings.h"
|
||||||
#include "rtc_base/network_route.h"
|
#include "rtc_base/network_route.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/task_queue.h"
|
#include "rtc_base/task_queue.h"
|
||||||
#include "rtc_base/thread_checker.h"
|
#include "rtc_base/thread_checker.h"
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
#include "api/audio_codecs/builtin_audio_decoder_factory.h"
|
#include "api/audio_codecs/builtin_audio_decoder_factory.h"
|
||||||
#include "api/audio_codecs/builtin_audio_encoder_factory.h"
|
#include "api/audio_codecs/builtin_audio_encoder_factory.h"
|
||||||
#include "api/rtp_parameters.h"
|
#include "api/rtp_parameters.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "call/call.h"
|
#include "call/call.h"
|
||||||
#include "logging/rtc_event_log/rtc_event_log.h"
|
#include "logging/rtc_event_log/rtc_event_log.h"
|
||||||
#include "media/base/fake_media_engine.h"
|
#include "media/base/fake_media_engine.h"
|
||||||
|
@ -29,7 +30,6 @@
|
||||||
#include "rtc_base/arraysize.h"
|
#include "rtc_base/arraysize.h"
|
||||||
#include "rtc_base/byte_order.h"
|
#include "rtc_base/byte_order.h"
|
||||||
#include "rtc_base/numerics/safe_conversions.h"
|
#include "rtc_base/numerics/safe_conversions.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "test/field_trial.h"
|
#include "test/field_trial.h"
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
#include "test/mock_audio_decoder_factory.h"
|
#include "test/mock_audio_decoder_factory.h"
|
||||||
|
|
|
@ -391,6 +391,7 @@ rtc_static_library("isac_common") {
|
||||||
deps = [
|
deps = [
|
||||||
":isac_bwinfo",
|
":isac_bwinfo",
|
||||||
"../..:webrtc_common",
|
"../..:webrtc_common",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../api/audio_codecs:audio_codecs_api",
|
"../../api/audio_codecs:audio_codecs_api",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
|
@ -984,6 +985,7 @@ rtc_static_library("neteq") {
|
||||||
"../..:webrtc_common",
|
"../..:webrtc_common",
|
||||||
"../../api:array_view",
|
"../../api:array_view",
|
||||||
"../../api:libjingle_peerconnection_api",
|
"../../api:libjingle_peerconnection_api",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../api/audio:audio_frame_api",
|
"../../api/audio:audio_frame_api",
|
||||||
"../../api/audio_codecs:audio_codecs_api",
|
"../../api/audio_codecs:audio_codecs_api",
|
||||||
"../../common_audio",
|
"../../common_audio",
|
||||||
|
@ -1364,6 +1366,7 @@ if (rtc_include_tests) {
|
||||||
defines = audio_coding_defines
|
defines = audio_coding_defines
|
||||||
|
|
||||||
deps = audio_coding_deps + [
|
deps = audio_coding_deps + [
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"..:module_api",
|
"..:module_api",
|
||||||
":audio_coding",
|
":audio_coding",
|
||||||
"../../api/audio_codecs:audio_codecs_api",
|
"../../api/audio_codecs:audio_codecs_api",
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "api/audio_codecs/audio_decoder_factory.h"
|
#include "api/audio_codecs/audio_decoder_factory.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "system_wrappers/include/clock.h"
|
#include "system_wrappers/include/clock.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
|
|
||||||
#include "absl/types/optional.h"
|
#include "absl/types/optional.h"
|
||||||
#include "api/audio_codecs/audio_decoder.h"
|
#include "api/audio_codecs/audio_decoder.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_coding/codecs/isac/locked_bandwidth_info.h"
|
#include "modules/audio_coding/codecs/isac/locked_bandwidth_info.h"
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "api/audio_codecs/audio_encoder.h"
|
#include "api/audio_codecs/audio_encoder.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_coding/codecs/isac/locked_bandwidth_info.h"
|
#include "modules/audio_coding/codecs/isac/locked_bandwidth_info.h"
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
|
|
||||||
#include "api/audio_codecs/audio_decoder_factory.h"
|
#include "api/audio_codecs/audio_decoder_factory.h"
|
||||||
#include "api/audio_codecs/audio_format.h"
|
#include "api/audio_codecs/audio_format.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_coding/codecs/cng/webrtc_cng.h"
|
#include "modules/audio_coding/codecs/cng/webrtc_cng.h"
|
||||||
#include "modules/audio_coding/neteq/packet.h"
|
#include "modules/audio_coding/neteq/packet.h"
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#include "api/audio_codecs/audio_decoder.h"
|
#include "api/audio_codecs/audio_decoder.h"
|
||||||
#include "api/audio_codecs/audio_format.h"
|
#include "api/audio_codecs/audio_format.h"
|
||||||
#include "api/rtp_headers.h"
|
#include "api/rtp_headers.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_coding/neteq/defines.h"
|
#include "modules/audio_coding/neteq/defines.h"
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -98,6 +98,7 @@ rtc_source_set("audio_device_api") {
|
||||||
"include/audio_device_defines.h",
|
"include/audio_device_defines.h",
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:deprecation",
|
"../../rtc_base:deprecation",
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
|
@ -198,6 +199,7 @@ rtc_source_set("audio_device_module_from_input_and_output") {
|
||||||
":audio_device_api",
|
":audio_device_api",
|
||||||
":audio_device_buffer",
|
":audio_device_buffer",
|
||||||
":windows_core_audio_utility",
|
":windows_core_audio_utility",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
|
@ -216,6 +218,7 @@ rtc_source_set("audio_device_impl") {
|
||||||
":audio_device_default",
|
":audio_device_default",
|
||||||
":audio_device_generic",
|
":audio_device_generic",
|
||||||
"../../api:array_view",
|
"../../api:array_view",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../common_audio",
|
"../../common_audio",
|
||||||
"../../common_audio:common_audio_c",
|
"../../common_audio:common_audio_c",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
|
@ -424,6 +427,7 @@ if (rtc_include_tests) {
|
||||||
":audio_device_impl",
|
":audio_device_impl",
|
||||||
":audio_device_ios_objc",
|
":audio_device_ios_objc",
|
||||||
":mock_audio_device",
|
":mock_audio_device",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
"../../sdk:audio_objc",
|
"../../sdk:audio_objc",
|
||||||
"../../system_wrappers",
|
"../../system_wrappers",
|
||||||
|
@ -451,6 +455,7 @@ if (rtc_include_tests) {
|
||||||
":audio_device_impl",
|
":audio_device_impl",
|
||||||
":mock_audio_device",
|
":mock_audio_device",
|
||||||
"../../api:array_view",
|
"../../api:array_view",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../common_audio",
|
"../../common_audio",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_device/android/audio_common.h"
|
#include "modules/audio_device/android/audio_common.h"
|
||||||
#include "modules/audio_device/android/audio_manager.h"
|
#include "modules/audio_device/android/audio_manager.h"
|
||||||
#include "modules/audio_device/android/build_info.h"
|
#include "modules/audio_device/android/build_info.h"
|
||||||
|
@ -27,7 +28,6 @@
|
||||||
#include "rtc_base/critical_section.h"
|
#include "rtc_base/critical_section.h"
|
||||||
#include "rtc_base/event.h"
|
#include "rtc_base/event.h"
|
||||||
#include "rtc_base/format_macros.h"
|
#include "rtc_base/format_macros.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/time_utils.h"
|
#include "rtc_base/time_utils.h"
|
||||||
#include "test/gmock.h"
|
#include "test/gmock.h"
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
|
@ -12,12 +12,12 @@
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_device/audio_device_config.h" // IWYU pragma: keep
|
#include "modules/audio_device/audio_device_config.h" // IWYU pragma: keep
|
||||||
#include "modules/audio_device/audio_device_generic.h"
|
#include "modules/audio_device/audio_device_generic.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/logging.h"
|
#include "rtc_base/logging.h"
|
||||||
#include "rtc_base/ref_counted_object.h"
|
#include "rtc_base/ref_counted_object.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "system_wrappers/include/metrics.h"
|
#include "system_wrappers/include/metrics.h"
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include "absl/memory/memory.h"
|
#include "absl/memory/memory.h"
|
||||||
#include "absl/types/optional.h"
|
#include "absl/types/optional.h"
|
||||||
#include "api/array_view.h"
|
#include "api/array_view.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_device/audio_device_impl.h"
|
#include "modules/audio_device/audio_device_impl.h"
|
||||||
#include "modules/audio_device/include/audio_device.h"
|
#include "modules/audio_device/include/audio_device.h"
|
||||||
#include "modules/audio_device/include/mock_audio_transport.h"
|
#include "modules/audio_device/include/mock_audio_transport.h"
|
||||||
|
@ -25,7 +26,6 @@
|
||||||
#include "rtc_base/logging.h"
|
#include "rtc_base/logging.h"
|
||||||
#include "rtc_base/numerics/safe_conversions.h"
|
#include "rtc_base/numerics/safe_conversions.h"
|
||||||
#include "rtc_base/race_checker.h"
|
#include "rtc_base/race_checker.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/thread_annotations.h"
|
#include "rtc_base/thread_annotations.h"
|
||||||
#include "rtc_base/thread_checker.h"
|
#include "rtc_base/thread_checker.h"
|
||||||
#include "rtc_base/time_utils.h"
|
#include "rtc_base/time_utils.h"
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
#ifndef MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_
|
#ifndef MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_
|
||||||
#define MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_
|
#define MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_device/include/audio_device_defines.h"
|
#include "modules/audio_device/include/audio_device_defines.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_device/include/audio_device.h"
|
#include "modules/audio_device/include/audio_device.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "api/array_view.h"
|
#include "api/array_view.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_device/include/audio_device.h"
|
#include "modules/audio_device/include/audio_device.h"
|
||||||
#include "modules/audio_device/include/audio_device_defines.h"
|
#include "modules/audio_device/include/audio_device_defines.h"
|
||||||
#include "rtc_base/buffer.h"
|
#include "rtc_base/buffer.h"
|
||||||
#include "rtc_base/event.h"
|
#include "rtc_base/event.h"
|
||||||
#include "rtc_base/platform_file.h"
|
#include "rtc_base/platform_file.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_device/audio_device_impl.h"
|
#include "modules/audio_device/audio_device_impl.h"
|
||||||
#include "modules/audio_device/include/audio_device.h"
|
#include "modules/audio_device/include/audio_device.h"
|
||||||
#include "modules/audio_device/include/mock_audio_transport.h"
|
#include "modules/audio_device/include/mock_audio_transport.h"
|
||||||
|
@ -25,7 +26,6 @@
|
||||||
#include "rtc_base/event.h"
|
#include "rtc_base/event.h"
|
||||||
#include "rtc_base/format_macros.h"
|
#include "rtc_base/format_macros.h"
|
||||||
#include "rtc_base/logging.h"
|
#include "rtc_base/logging.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/time_utils.h"
|
#include "rtc_base/time_utils.h"
|
||||||
#include "test/gmock.h"
|
#include "test/gmock.h"
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
|
@ -26,8 +26,8 @@
|
||||||
#include <mediaobj.h> // IMediaObject
|
#include <mediaobj.h> // IMediaObject
|
||||||
#include <mmdeviceapi.h> // MMDevice
|
#include <mmdeviceapi.h> // MMDevice
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/critical_section.h"
|
#include "rtc_base/critical_section.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
// Use Multimedia Class Scheduler Service (MMCSS) to boost the thread priority
|
// Use Multimedia Class Scheduler Service (MMCSS) to boost the thread priority
|
||||||
#pragma comment(lib, "avrt.lib")
|
#pragma comment(lib, "avrt.lib")
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_device/include/audio_device.h"
|
#include "modules/audio_device/include/audio_device.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@ rtc_static_library("audio_mixer_impl") {
|
||||||
deps = [
|
deps = [
|
||||||
":audio_frame_manipulator",
|
":audio_frame_manipulator",
|
||||||
"../../api:array_view",
|
"../../api:array_view",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../api/audio:audio_frame_api",
|
"../../api/audio:audio_frame_api",
|
||||||
"../../api/audio:audio_mixer_api",
|
"../../api/audio:audio_mixer_api",
|
||||||
"../../audio/utility:audio_frame_operations",
|
"../../audio/utility:audio_frame_operations",
|
||||||
|
|
|
@ -17,12 +17,12 @@
|
||||||
|
|
||||||
#include "api/audio/audio_frame.h"
|
#include "api/audio/audio_frame.h"
|
||||||
#include "api/audio/audio_mixer.h"
|
#include "api/audio/audio_mixer.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_mixer/frame_combiner.h"
|
#include "modules/audio_mixer/frame_combiner.h"
|
||||||
#include "modules/audio_mixer/output_rate_calculator.h"
|
#include "modules/audio_mixer/output_rate_calculator.h"
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/critical_section.h"
|
#include "rtc_base/critical_section.h"
|
||||||
#include "rtc_base/race_checker.h"
|
#include "rtc_base/race_checker.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/thread_annotations.h"
|
#include "rtc_base/thread_annotations.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -50,11 +50,11 @@ rtc_source_set("api") {
|
||||||
":audio_processing_statistics",
|
":audio_processing_statistics",
|
||||||
":config",
|
":config",
|
||||||
":gain_control_interface",
|
":gain_control_interface",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../api/audio:aec3_config",
|
"../../api/audio:aec3_config",
|
||||||
"../../api/audio:echo_control",
|
"../../api/audio:echo_control",
|
||||||
"../../rtc_base:deprecation",
|
"../../rtc_base:deprecation",
|
||||||
"../../rtc_base:macromagic",
|
"../../rtc_base:macromagic",
|
||||||
"../../rtc_base:ptr_util",
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
"//third_party/abseil-cpp/absl/types:optional",
|
"//third_party/abseil-cpp/absl/types:optional",
|
||||||
|
@ -416,6 +416,7 @@ if (rtc_include_tests) {
|
||||||
":mocks",
|
":mocks",
|
||||||
"../..:webrtc_common",
|
"../..:webrtc_common",
|
||||||
"../../api:array_view",
|
"../../api:array_view",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../api/audio:aec3_config",
|
"../../api/audio:aec3_config",
|
||||||
"../../api/audio:aec3_factory",
|
"../../api/audio:aec3_factory",
|
||||||
"../../common_audio:common_audio",
|
"../../common_audio:common_audio",
|
||||||
|
|
|
@ -52,8 +52,8 @@ if (rtc_include_tests) {
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
"../../../../api:array_view",
|
"../../../../api:array_view",
|
||||||
|
"../../../../api:scoped_refptr",
|
||||||
"../../../../rtc_base:checks",
|
"../../../../rtc_base:checks",
|
||||||
"../../../../rtc_base:ptr_util",
|
|
||||||
"../../../../test:fileutils",
|
"../../../../test:fileutils",
|
||||||
"../../../../test:test_support",
|
"../../../../test:test_support",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
|
|
|
@ -13,12 +13,12 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "absl/memory/memory.h"
|
#include "absl/memory/memory.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_processing/include/audio_processing.h"
|
#include "modules/audio_processing/include/audio_processing.h"
|
||||||
#include "modules/audio_processing/test/echo_control_mock.h"
|
#include "modules/audio_processing/test/echo_control_mock.h"
|
||||||
#include "modules/audio_processing/test/test_utils.h"
|
#include "modules/audio_processing/test/test_utils.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/ref_counted_object.h"
|
#include "rtc_base/ref_counted_object.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "test/gmock.h"
|
#include "test/gmock.h"
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
#include "absl/types/optional.h"
|
#include "absl/types/optional.h"
|
||||||
#include "api/audio/echo_canceller3_config.h"
|
#include "api/audio/echo_canceller3_config.h"
|
||||||
#include "api/audio/echo_control.h"
|
#include "api/audio/echo_control.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/audio_processing/include/audio_generator.h"
|
#include "modules/audio_processing/include/audio_generator.h"
|
||||||
#include "modules/audio_processing/include/audio_processing_statistics.h"
|
#include "modules/audio_processing/include/audio_processing_statistics.h"
|
||||||
#include "modules/audio_processing/include/config.h"
|
#include "modules/audio_processing/include/config.h"
|
||||||
|
@ -33,7 +34,6 @@
|
||||||
#include "rtc_base/deprecation.h"
|
#include "rtc_base/deprecation.h"
|
||||||
#include "rtc_base/platform_file.h"
|
#include "rtc_base/platform_file.h"
|
||||||
#include "rtc_base/ref_count.h"
|
#include "rtc_base/ref_count.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/system/rtc_export.h"
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -37,6 +37,7 @@ rtc_static_library("congestion_controller") {
|
||||||
":transport_feedback",
|
":transport_feedback",
|
||||||
"..:module_api",
|
"..:module_api",
|
||||||
"../..:webrtc_common",
|
"../..:webrtc_common",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../api/transport:field_trial_based_config",
|
"../../api/transport:field_trial_based_config",
|
||||||
"../../api/transport:network_control",
|
"../../api/transport:network_control",
|
||||||
"../../api/transport:webrtc_key_value_config",
|
"../../api/transport:webrtc_key_value_config",
|
||||||
|
@ -44,7 +45,6 @@ rtc_static_library("congestion_controller") {
|
||||||
"../../api/units:timestamp",
|
"../../api/units:timestamp",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:deprecation",
|
"../../rtc_base:deprecation",
|
||||||
"../../rtc_base:ptr_util",
|
|
||||||
"../../rtc_base:rate_limiter",
|
"../../rtc_base:rate_limiter",
|
||||||
"../../rtc_base/experiments:rate_control_settings",
|
"../../rtc_base/experiments:rate_control_settings",
|
||||||
"../../rtc_base/network:sent_packet",
|
"../../rtc_base/network:sent_packet",
|
||||||
|
|
|
@ -30,6 +30,7 @@ rtc_static_library("primitives") {
|
||||||
]
|
]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
|
@ -46,6 +47,7 @@ if (rtc_include_tests) {
|
||||||
|
|
||||||
sources = []
|
sources = []
|
||||||
deps = [
|
deps = [
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"//third_party/abseil-cpp/absl/memory",
|
"//third_party/abseil-cpp/absl/memory",
|
||||||
]
|
]
|
||||||
|
@ -131,6 +133,7 @@ if (rtc_include_tests) {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":primitives",
|
":primitives",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
"../../system_wrappers",
|
"../../system_wrappers",
|
||||||
|
@ -236,6 +239,7 @@ if (is_mac) {
|
||||||
deps = [
|
deps = [
|
||||||
":desktop_capture_generic",
|
":desktop_capture_generic",
|
||||||
":primitives",
|
":primitives",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:rtc_base",
|
"../../rtc_base:rtc_base",
|
||||||
"../../rtc_base:rtc_base_approved",
|
"../../rtc_base:rtc_base_approved",
|
||||||
|
@ -425,6 +429,7 @@ rtc_static_library("desktop_capture_generic") {
|
||||||
deps = [
|
deps = [
|
||||||
":primitives",
|
":primitives",
|
||||||
"../../api:refcountedbase",
|
"../../api:refcountedbase",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806.
|
"../../rtc_base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806.
|
||||||
"../../rtc_base/synchronization:rw_lock_wrapper",
|
"../../rtc_base/synchronization:rw_lock_wrapper",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#ifndef MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURE_OPTIONS_H_
|
#ifndef MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURE_OPTIONS_H_
|
||||||
#define MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURE_OPTIONS_H_
|
#define MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURE_OPTIONS_H_
|
||||||
|
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/system/rtc_export.h"
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
#if defined(USE_X11)
|
#if defined(USE_X11)
|
||||||
|
|
|
@ -14,12 +14,12 @@
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/desktop_capture_options.h"
|
#include "modules/desktop_capture/desktop_capture_options.h"
|
||||||
#include "modules/desktop_capture/desktop_capture_types.h"
|
#include "modules/desktop_capture/desktop_capture_types.h"
|
||||||
#include "modules/desktop_capture/linux/shared_x_display.h"
|
#include "modules/desktop_capture/linux/shared_x_display.h"
|
||||||
#include "modules/desktop_capture/mouse_cursor.h"
|
#include "modules/desktop_capture/mouse_cursor.h"
|
||||||
#include "modules/desktop_capture/mouse_cursor_monitor.h"
|
#include "modules/desktop_capture/mouse_cursor_monitor.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "api/ref_counted_base.h"
|
#include "api/ref_counted_base.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
// Including Xlib.h will involve evil defines (Bool, Status, True, False), which
|
// Including Xlib.h will involve evil defines (Bool, Status, True, False), which
|
||||||
// easily conflict with other headers.
|
// easily conflict with other headers.
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/desktop_capture_types.h"
|
#include "modules/desktop_capture/desktop_capture_types.h"
|
||||||
#include "modules/desktop_capture/desktop_frame.h"
|
#include "modules/desktop_capture/desktop_frame.h"
|
||||||
#include "modules/desktop_capture/desktop_region.h"
|
#include "modules/desktop_capture/desktop_region.h"
|
||||||
|
@ -26,7 +27,6 @@
|
||||||
#include "modules/desktop_capture/linux/window_list_utils.h"
|
#include "modules/desktop_capture/linux/window_list_utils.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/logging.h"
|
#include "rtc_base/logging.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/trace_event.h"
|
#include "rtc_base/trace_event.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/desktop_capture_options.h"
|
#include "modules/desktop_capture/desktop_capture_options.h"
|
||||||
#include "modules/desktop_capture/desktop_capturer.h"
|
#include "modules/desktop_capture/desktop_capturer.h"
|
||||||
#include "modules/desktop_capture/desktop_geometry.h"
|
#include "modules/desktop_capture/desktop_geometry.h"
|
||||||
|
@ -24,7 +25,6 @@
|
||||||
#include "modules/desktop_capture/linux/x_atom_cache.h"
|
#include "modules/desktop_capture/linux/x_atom_cache.h"
|
||||||
#include "modules/desktop_capture/linux/x_server_pixel_buffer.h"
|
#include "modules/desktop_capture/linux/x_server_pixel_buffer.h"
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include <Cocoa/Cocoa.h>
|
#include <Cocoa/Cocoa.h>
|
||||||
#include <CoreFoundation/CoreFoundation.h>
|
#include <CoreFoundation/CoreFoundation.h>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/desktop_capture_options.h"
|
#include "modules/desktop_capture/desktop_capture_options.h"
|
||||||
#include "modules/desktop_capture/desktop_capture_types.h"
|
#include "modules/desktop_capture/desktop_capture_types.h"
|
||||||
#include "modules/desktop_capture/desktop_frame.h"
|
#include "modules/desktop_capture/desktop_frame.h"
|
||||||
|
@ -27,7 +28,6 @@
|
||||||
#include "modules/desktop_capture/mac/window_list_utils.h"
|
#include "modules/desktop_capture/mac/window_list_utils.h"
|
||||||
#include "modules/desktop_capture/mouse_cursor.h"
|
#include "modules/desktop_capture/mouse_cursor.h"
|
||||||
#include "rtc_base/mac_utils.h"
|
#include "rtc_base/mac_utils.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "absl/memory/memory.h"
|
#include "absl/memory/memory.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/desktop_capture_types.h"
|
#include "modules/desktop_capture/desktop_capture_types.h"
|
||||||
#include "modules/desktop_capture/desktop_geometry.h"
|
#include "modules/desktop_capture/desktop_geometry.h"
|
||||||
#include "modules/desktop_capture/linux/shared_x_display.h"
|
#include "modules/desktop_capture/linux/shared_x_display.h"
|
||||||
|
@ -21,7 +22,6 @@
|
||||||
#include "modules/desktop_capture/screen_drawer.h"
|
#include "modules/desktop_capture/screen_drawer.h"
|
||||||
#include "modules/desktop_capture/screen_drawer_lock_posix.h"
|
#include "modules/desktop_capture/screen_drawer_lock_posix.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "system_wrappers/include/sleep.h"
|
#include "system_wrappers/include/sleep.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/desktop_frame.h"
|
#include "modules/desktop_capture/desktop_frame.h"
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/ref_counted_object.h"
|
#include "rtc_base/ref_counted_object.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/system/rtc_export.h"
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/desktop_geometry.h"
|
#include "modules/desktop_capture/desktop_geometry.h"
|
||||||
#include "modules/desktop_capture/shared_desktop_frame.h"
|
#include "modules/desktop_capture/shared_desktop_frame.h"
|
||||||
#include "modules/desktop_capture/win/d3d_device.h"
|
#include "modules/desktop_capture/win/d3d_device.h"
|
||||||
|
@ -25,7 +26,6 @@
|
||||||
#include "modules/desktop_capture/win/dxgi_context.h"
|
#include "modules/desktop_capture/win/dxgi_context.h"
|
||||||
#include "modules/desktop_capture/win/dxgi_frame.h"
|
#include "modules/desktop_capture/win/dxgi_frame.h"
|
||||||
#include "rtc_base/critical_section.h"
|
#include "rtc_base/critical_section.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/desktop_capture_options.h"
|
#include "modules/desktop_capture/desktop_capture_options.h"
|
||||||
#include "modules/desktop_capture/desktop_capturer.h"
|
#include "modules/desktop_capture/desktop_capturer.h"
|
||||||
#include "modules/desktop_capture/desktop_region.h"
|
#include "modules/desktop_capture/desktop_region.h"
|
||||||
#include "modules/desktop_capture/screen_capture_frame_queue.h"
|
#include "modules/desktop_capture/screen_capture_frame_queue.h"
|
||||||
#include "modules/desktop_capture/win/dxgi_duplicator_controller.h"
|
#include "modules/desktop_capture/win/dxgi_duplicator_controller.h"
|
||||||
#include "modules/desktop_capture/win/dxgi_frame.h"
|
#include "modules/desktop_capture/win/dxgi_frame.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/desktop_capture_options.h"
|
#include "modules/desktop_capture/desktop_capture_options.h"
|
||||||
#include "modules/desktop_capture/desktop_capturer.h"
|
#include "modules/desktop_capture/desktop_capturer.h"
|
||||||
#include "modules/desktop_capture/desktop_frame.h"
|
#include "modules/desktop_capture/desktop_frame.h"
|
||||||
|
@ -26,7 +27,6 @@
|
||||||
#include "rtc_base/constructor_magic.h"
|
#include "rtc_base/constructor_magic.h"
|
||||||
#include "rtc_base/logging.h"
|
#include "rtc_base/logging.h"
|
||||||
#include "rtc_base/mac_utils.h"
|
#include "rtc_base/mac_utils.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "rtc_base/trace_event.h"
|
#include "rtc_base/trace_event.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -13,9 +13,9 @@
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/desktop_capture_types.h"
|
#include "modules/desktop_capture/desktop_capture_types.h"
|
||||||
#include "modules/desktop_capture/desktop_geometry.h"
|
#include "modules/desktop_capture/desktop_geometry.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
|
#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
|
||||||
#include "modules/desktop_capture/mac/desktop_configuration_monitor.h"
|
#include "modules/desktop_capture/mac/desktop_configuration_monitor.h"
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
#ifndef MODULES_DESKTOP_CAPTURE_WINDOW_FINDER_MAC_H_
|
#ifndef MODULES_DESKTOP_CAPTURE_WINDOW_FINDER_MAC_H_
|
||||||
#define MODULES_DESKTOP_CAPTURE_WINDOW_FINDER_MAC_H_
|
#define MODULES_DESKTOP_CAPTURE_WINDOW_FINDER_MAC_H_
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/window_finder.h"
|
#include "modules/desktop_capture/window_finder.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/desktop_capture/desktop_geometry.h"
|
#include "modules/desktop_capture/desktop_geometry.h"
|
||||||
#include "modules/desktop_capture/screen_drawer.h"
|
#include "modules/desktop_capture/screen_drawer.h"
|
||||||
#include "rtc_base/logging.h"
|
#include "rtc_base/logging.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
||||||
#if defined(USE_X11)
|
#if defined(USE_X11)
|
||||||
|
|
|
@ -199,6 +199,7 @@ rtc_static_library("rtp_rtcp") {
|
||||||
"../..:webrtc_common",
|
"../..:webrtc_common",
|
||||||
"../../api:array_view",
|
"../../api:array_view",
|
||||||
"../../api:libjingle_peerconnection_api",
|
"../../api:libjingle_peerconnection_api",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../api:transport_api",
|
"../../api:transport_api",
|
||||||
"../../api/audio_codecs:audio_codecs_api",
|
"../../api/audio_codecs:audio_codecs_api",
|
||||||
"../../api/video:video_bitrate_allocation",
|
"../../api/video:video_bitrate_allocation",
|
||||||
|
@ -427,6 +428,7 @@ if (rtc_include_tests) {
|
||||||
"../..:webrtc_common",
|
"../..:webrtc_common",
|
||||||
"../../api:array_view",
|
"../../api:array_view",
|
||||||
"../../api:libjingle_peerconnection_api",
|
"../../api:libjingle_peerconnection_api",
|
||||||
|
"../../api:scoped_refptr",
|
||||||
"../../api:transport_api",
|
"../../api:transport_api",
|
||||||
"../../api/video:video_bitrate_allocation",
|
"../../api/video:video_bitrate_allocation",
|
||||||
"../../api/video:video_bitrate_allocator",
|
"../../api/video:video_bitrate_allocator",
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/rtp_rtcp/source/byte_io.h"
|
#include "modules/rtp_rtcp/source/byte_io.h"
|
||||||
#include "modules/rtp_rtcp/source/forward_error_correction_internal.h"
|
#include "modules/rtp_rtcp/source/forward_error_correction_internal.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/logging.h"
|
#include "rtc_base/logging.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -13,13 +13,13 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/rtp_rtcp/source/byte_io.h"
|
#include "modules/rtp_rtcp/source/byte_io.h"
|
||||||
#include "modules/rtp_rtcp/source/flexfec_header_reader_writer.h"
|
#include "modules/rtp_rtcp/source/flexfec_header_reader_writer.h"
|
||||||
#include "modules/rtp_rtcp/source/forward_error_correction.h"
|
#include "modules/rtp_rtcp/source/forward_error_correction.h"
|
||||||
#include "modules/rtp_rtcp/source/forward_error_correction_internal.h"
|
#include "modules/rtp_rtcp/source/forward_error_correction_internal.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/random.h"
|
#include "rtc_base/random.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
#include "test/gmock.h"
|
#include "test/gmock.h"
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,9 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "api/array_view.h"
|
#include "api/array_view.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/logging.h"
|
#include "rtc_base/logging.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/include/module_fec_types.h"
|
#include "modules/include/module_fec_types.h"
|
||||||
#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h"
|
#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h"
|
||||||
#include "modules/rtp_rtcp/source/forward_error_correction_internal.h"
|
#include "modules/rtp_rtcp/source/forward_error_correction_internal.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,10 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "modules/rtp_rtcp/source/byte_io.h"
|
#include "modules/rtp_rtcp/source/byte_io.h"
|
||||||
#include "modules/rtp_rtcp/source/forward_error_correction_internal.h"
|
#include "modules/rtp_rtcp/source/forward_error_correction_internal.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/scoped_ref_ptr.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue