[Cleanup] Add missing #include. Remove useless ones. IWYU part 2.

This is a follow-up to
https://webrtc-review.googlesource.com/c/src/+/106280.
This time the whole code base is covered.
Some files may have not been fixed though, whenever the IWYU tool
was breaking the build.

Bug: webrtc:8311
Change-Id: I2c31f552a87e887d33931d46e87b6208b1e483ef
Reviewed-on: https://webrtc-review.googlesource.com/c/111965
Commit-Queue: Yves Gerey <yvesg@google.com>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25830}
This commit is contained in:
Yves Gerey 2018-11-28 16:47:49 +01:00 committed by Commit Bot
parent 0f9c38e3d1
commit 3e70781361
824 changed files with 3312 additions and 948 deletions

View File

@ -58,6 +58,7 @@ rtc_static_library("create_peerconnection_factory") {
"../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",
"../media:rtc_media_base",
"../modules/audio_device:audio_device_api", "../modules/audio_device:audio_device_api",
"../modules/audio_processing:api", "../modules/audio_processing:api",
"../pc:peerconnection", "../pc:peerconnection",
@ -202,6 +203,7 @@ rtc_source_set("test_dependency_factory") {
] ]
deps = [ deps = [
":video_quality_test_fixture_api", ":video_quality_test_fixture_api",
"../rtc_base:checks",
"../rtc_base:thread_checker", "../rtc_base:thread_checker",
"//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/memory",
] ]
@ -279,6 +281,7 @@ rtc_source_set("audio_options_api") {
] ]
deps = [ deps = [
":array_view",
"../rtc_base:stringutils", "../rtc_base:stringutils",
"//third_party/abseil-cpp/absl/types:optional", "//third_party/abseil-cpp/absl/types:optional",
] ]
@ -636,7 +639,7 @@ if (rtc_include_tests) {
deps = [ deps = [
":libjingle_peerconnection_api", ":libjingle_peerconnection_api",
"../rtc_base:checks", "../rtc_base:checks",
"//third_party/abseil-cpp/absl/memory:memory", "//third_party/abseil-cpp/absl/memory",
] ]
} }

View File

@ -110,6 +110,12 @@ specific_include_rules = {
"+rtc_base/bind.h", "+rtc_base/bind.h",
], ],
"proxy\.h": [
"+rtc_base/messagehandler.h", # Inherits from it.
"+rtc_base/messagequeue.h", # Inherits from MessageData.
"+rtc_base/scoped_ref_ptr.h",
],
"refcountedbase\.h": [ "refcountedbase\.h": [
"+rtc_base/constructormagic.h", "+rtc_base/constructormagic.h",
"+rtc_base/refcount.h", "+rtc_base/refcount.h",
@ -258,7 +264,8 @@ 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": [

View File

@ -55,6 +55,7 @@ rtc_source_set("aec3_config_json") {
] ]
deps = [ deps = [
":aec3_config", ":aec3_config",
"../../rtc_base:checks",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../rtc_base:rtc_json", "../../rtc_base:rtc_json",
"../../rtc_base/system:rtc_export", "../../rtc_base/system:rtc_export",

View File

@ -9,9 +9,11 @@
*/ */
#include "api/audio/echo_canceller3_config_json.h" #include "api/audio/echo_canceller3_config_json.h"
#include <stddef.h>
#include <string> #include <string>
#include <vector> #include <vector>
#include "rtc_base/checks.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"
#include "rtc_base/strings/json.h" #include "rtc_base/strings/json.h"
#include "rtc_base/strings/string_builder.h" #include "rtc_base/strings/string_builder.h"

View File

@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <stdint.h>
#include <string.h> // memcmp #include <string.h> // memcmp
#include "api/audio/audio_frame.h" #include "api/audio/audio_frame.h"

View File

@ -8,8 +8,6 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <string>
#include "api/audio/echo_canceller3_config.h" #include "api/audio/echo_canceller3_config.h"
#include "api/audio/echo_canceller3_config_json.h" #include "api/audio/echo_canceller3_config_json.h"
#include "test/gtest.h" #include "test/gtest.h"

View File

@ -10,6 +10,7 @@
#include "api/audio_options.h" #include "api/audio_options.h"
#include "api/array_view.h"
#include "rtc_base/strings/string_builder.h" #include "rtc_base/strings/string_builder.h"
namespace cricket { namespace cricket {

View File

@ -13,16 +13,21 @@
#include <memory> #include <memory>
#include <utility> #include <utility>
#include "api/audio/audio_mixer.h"
#include "api/audio_codecs/audio_decoder_factory.h"
#include "api/audio_codecs/audio_encoder_factory.h"
#include "api/call/callfactoryinterface.h" #include "api/call/callfactoryinterface.h"
#include "api/fec_controller.h"
#include "api/peerconnectioninterface.h" #include "api/peerconnectioninterface.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"
#include "logging/rtc_event_log/rtc_event_log_factory.h" #include "logging/rtc_event_log/rtc_event_log_factory.h"
#include "logging/rtc_event_log/rtc_event_log_factory_interface.h" #include "logging/rtc_event_log/rtc_event_log_factory_interface.h"
#include "media/base/mediaengine.h"
#include "media/engine/webrtcmediaengine.h" #include "media/engine/webrtcmediaengine.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/bind.h"
#include "rtc_base/scoped_ref_ptr.h" #include "rtc_base/scoped_ref_ptr.h"
#include "rtc_base/thread.h" #include "rtc_base/thread.h"

View File

@ -9,8 +9,6 @@
*/ */
#include "api/mediastreaminterface.h" #include "api/mediastreaminterface.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h"
namespace webrtc { namespace webrtc {

View File

@ -53,12 +53,20 @@
#define API_PROXY_H_ #define API_PROXY_H_
#include <memory> #include <memory>
#include <string>
#include <utility> #include <utility>
#include "rtc_base/event.h" #include "rtc_base/event.h"
#include "rtc_base/messagehandler.h"
#include "rtc_base/messagequeue.h"
#include "rtc_base/refcountedobject.h" #include "rtc_base/refcountedobject.h"
#include "rtc_base/scoped_ref_ptr.h"
#include "rtc_base/thread.h" #include "rtc_base/thread.h"
namespace rtc {
class Location;
}
namespace webrtc { namespace webrtc {
template <typename R> template <typename R>

View File

@ -8,8 +8,6 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <utility>
#include "api/rtpparameters.h" #include "api/rtpparameters.h"
#include "test/gtest.h" #include "test/gtest.h"

View File

@ -11,7 +11,8 @@
#ifndef API_STATS_RTCSTATS_H_ #ifndef API_STATS_RTCSTATS_H_
#define API_STATS_RTCSTATS_H_ #define API_STATS_RTCSTATS_H_
#include <map> #include <stddef.h>
#include <stdint.h>
#include <memory> #include <memory>
#include <string> #include <string>
#include <utility> #include <utility>

View File

@ -11,6 +11,7 @@
#ifndef API_STATS_RTCSTATS_OBJECTS_H_ #ifndef API_STATS_RTCSTATS_OBJECTS_H_
#define API_STATS_RTCSTATS_OBJECTS_H_ #define API_STATS_RTCSTATS_OBJECTS_H_
#include <stdint.h>
#include <memory> #include <memory>
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -11,6 +11,8 @@
#ifndef API_STATS_RTCSTATSREPORT_H_ #ifndef API_STATS_RTCSTATSREPORT_H_
#define API_STATS_RTCSTATSREPORT_H_ #define API_STATS_RTCSTATSREPORT_H_
#include <stddef.h>
#include <stdint.h>
#include <map> #include <map>
#include <memory> #include <memory>
#include <string> #include <string>

View File

@ -11,9 +11,13 @@
#ifndef API_TEST_FAKE_FRAME_DECRYPTOR_H_ #ifndef API_TEST_FAKE_FRAME_DECRYPTOR_H_
#define API_TEST_FAKE_FRAME_DECRYPTOR_H_ #define API_TEST_FAKE_FRAME_DECRYPTOR_H_
#include <stddef.h>
#include <stdint.h>
#include <vector> #include <vector>
#include "api/array_view.h"
#include "api/crypto/framedecryptorinterface.h" #include "api/crypto/framedecryptorinterface.h"
#include "api/mediatypes.h"
#include "rtc_base/refcountedobject.h" #include "rtc_base/refcountedobject.h"
namespace webrtc { namespace webrtc {

View File

@ -11,7 +11,12 @@
#ifndef API_TEST_FAKE_FRAME_ENCRYPTOR_H_ #ifndef API_TEST_FAKE_FRAME_ENCRYPTOR_H_
#define API_TEST_FAKE_FRAME_ENCRYPTOR_H_ #define API_TEST_FAKE_FRAME_ENCRYPTOR_H_
#include <stddef.h>
#include <stdint.h>
#include "api/array_view.h"
#include "api/crypto/frameencryptorinterface.h" #include "api/crypto/frameencryptorinterface.h"
#include "api/mediatypes.h"
#include "rtc_base/refcountedobject.h" #include "rtc_base/refcountedobject.h"
namespace webrtc { namespace webrtc {

View File

@ -13,6 +13,7 @@
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "api/test/test_dependency_factory.h" #include "api/test/test_dependency_factory.h"
#include "rtc_base/checks.h"
#include "rtc_base/thread_checker.h" #include "rtc_base/thread_checker.h"
namespace webrtc { namespace webrtc {

View File

@ -14,7 +14,6 @@
#include <memory> #include <memory>
#include "api/test/video_quality_test_fixture.h" #include "api/test/video_quality_test_fixture.h"
#include "rtc_base/thread_checker.h"
namespace webrtc { namespace webrtc {

View File

@ -11,7 +11,8 @@
#ifndef API_TEST_VIDEOCODEC_TEST_STATS_H_ #ifndef API_TEST_VIDEOCODEC_TEST_STATS_H_
#define API_TEST_VIDEOCODEC_TEST_STATS_H_ #define API_TEST_VIDEOCODEC_TEST_STATS_H_
#include <map> #include <stddef.h>
#include <stdint.h>
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -69,6 +69,10 @@ if (rtc_include_tests) {
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../test:test_support", "../../test:test_support",
"../units:data_rate",
"../units:data_size",
"../units:time_delta",
"../units:timestamp",
"//third_party/abseil-cpp/absl/types:optional", "//third_party/abseil-cpp/absl/types:optional",
] ]
} }

View File

@ -10,8 +10,11 @@
#include "api/transport/goog_cc_factory.h" #include "api/transport/goog_cc_factory.h"
#include <stdint.h>
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "modules/congestion_controller/goog_cc/goog_cc_network_control.h" #include "modules/congestion_controller/goog_cc/goog_cc_network_control.h"
namespace webrtc { namespace webrtc {
GoogCcNetworkControllerFactory::GoogCcNetworkControllerFactory( GoogCcNetworkControllerFactory::GoogCcNetworkControllerFactory(
RtcEventLog* event_log) RtcEventLog* event_log)

View File

@ -11,8 +11,13 @@
#include "api/transport/test/network_control_tester.h" #include "api/transport/test/network_control_tester.h"
#include <algorithm> #include <algorithm>
#include <string>
#include <vector>
#include "absl/types/optional.h"
#include "api/transport/network_control.h" #include "api/transport/network_control.h"
#include "api/units/data_size.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"
namespace webrtc { namespace webrtc {

View File

@ -11,12 +11,16 @@
#ifndef API_TRANSPORT_TEST_NETWORK_CONTROL_TESTER_H_ #ifndef API_TRANSPORT_TEST_NETWORK_CONTROL_TESTER_H_
#define API_TRANSPORT_TEST_NETWORK_CONTROL_TESTER_H_ #define API_TRANSPORT_TEST_NETWORK_CONTROL_TESTER_H_
#include <stdint.h>
#include <deque> #include <deque>
#include <functional> #include <functional>
#include <memory> #include <memory>
#include "absl/types/optional.h"
#include "api/transport/network_control.h" #include "api/transport/network_control.h"
#include "api/transport/network_types.h"
#include "api/units/data_rate.h"
#include "api/units/time_delta.h"
#include "api/units/timestamp.h"
namespace webrtc { namespace webrtc {
namespace test { namespace test {

View File

@ -18,6 +18,7 @@ rtc_source_set("data_rate") {
deps = [ deps = [
":data_size", ":data_size",
":time_delta", ":time_delta",
"..:array_view",
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:stringutils", "../../rtc_base:stringutils",
"../../rtc_base/units:unit_base", "../../rtc_base/units:unit_base",
@ -32,6 +33,7 @@ rtc_source_set("data_size") {
] ]
deps = [ deps = [
"..:array_view",
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:stringutils", "../../rtc_base:stringutils",
"../../rtc_base/units:unit_base", "../../rtc_base/units:unit_base",
@ -46,6 +48,7 @@ rtc_source_set("time_delta") {
] ]
deps = [ deps = [
"..:array_view",
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:stringutils", "../../rtc_base:stringutils",
"../../rtc_base/units:unit_base", "../../rtc_base/units:unit_base",
@ -61,6 +64,7 @@ rtc_source_set("timestamp") {
deps = [ deps = [
":time_delta", ":time_delta",
"..:array_view",
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:stringutils", "../../rtc_base:stringutils",
"../../rtc_base/units:unit_base", "../../rtc_base/units:unit_base",

View File

@ -10,6 +10,7 @@
#include "api/units/data_rate.h" #include "api/units/data_rate.h"
#include "api/array_view.h"
#include "rtc_base/strings/string_builder.h" #include "rtc_base/strings/string_builder.h"
namespace webrtc { namespace webrtc {

View File

@ -10,6 +10,7 @@
#include "api/units/data_size.h" #include "api/units/data_size.h"
#include "api/array_view.h"
#include "rtc_base/strings/string_builder.h" #include "rtc_base/strings/string_builder.h"
namespace webrtc { namespace webrtc {

View File

@ -10,6 +10,7 @@
#include "api/units/time_delta.h" #include "api/units/time_delta.h"
#include "api/array_view.h"
#include "rtc_base/strings/string_builder.h" #include "rtc_base/strings/string_builder.h"
namespace webrtc { namespace webrtc {

View File

@ -10,6 +10,7 @@
#include "api/units/timestamp.h" #include "api/units/timestamp.h"
#include "api/array_view.h"
#include "rtc_base/strings/string_builder.h" #include "rtc_base/strings/string_builder.h"
namespace webrtc { namespace webrtc {

View File

@ -32,6 +32,7 @@ rtc_source_set("video_frame") {
] ]
deps = [ deps = [
"..:array_view",
"../../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",
@ -199,6 +200,7 @@ rtc_source_set("video_stream_encoder_create") {
} }
deps = [ deps = [
":video_frame",
":video_stream_encoder", ":video_stream_encoder",
"../../rtc_base:ptr_util", "../../rtc_base:ptr_util",
"../../video:video_stream_encoder_impl", "../../video:video_stream_encoder_impl",
@ -216,12 +218,15 @@ rtc_static_library("builtin_video_bitrate_allocator_factory") {
deps = [ deps = [
":video_bitrate_allocation", ":video_bitrate_allocation",
":video_bitrate_allocator",
":video_bitrate_allocator_factory", ":video_bitrate_allocator_factory",
"../../:webrtc_common",
"../../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:ptr_util",
"../../rtc_base/system:fallthrough", "../../rtc_base/system:fallthrough",
"../video_codecs:video_codecs_api",
"//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/memory",
] ]
} }

View File

@ -11,7 +11,9 @@
#include "api/video/builtin_video_bitrate_allocator_factory.h" #include "api/video/builtin_video_bitrate_allocator_factory.h"
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "media/base/codec.h" #include "api/video/video_bitrate_allocator.h"
#include "api/video_codecs/video_codec.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/video_coding/codecs/vp9/svc_rate_allocator.h" #include "modules/video_coding/codecs/vp9/svc_rate_allocator.h"
#include "modules/video_coding/utility/default_video_bitrate_allocator.h" #include "modules/video_coding/utility/default_video_bitrate_allocator.h"
#include "modules/video_coding/utility/simulcast_rate_allocator.h" #include "modules/video_coding/utility/simulcast_rate_allocator.h"

View File

@ -13,6 +13,9 @@
#include "modules/video_coding/encoded_frame.h" #include "modules/video_coding/encoded_frame.h"
#include <stddef.h>
#include <stdint.h>
namespace webrtc { namespace webrtc {
namespace video_coding { namespace video_coding {

View File

@ -9,14 +9,12 @@
*/ */
#include "api/video/i010_buffer.h" #include "api/video/i010_buffer.h"
#include <algorithm>
#include <utility> #include <utility>
#include "api/video/i420_buffer.h" #include "api/video/i420_buffer.h"
#include "rtc_base/checks.h" #include "rtc_base/checks.h"
#include "rtc_base/refcountedobject.h" #include "rtc_base/refcountedobject.h"
#include "third_party/libyuv/include/libyuv/convert.h" #include "third_party/libyuv/include/libyuv/convert.h"
#include "third_party/libyuv/include/libyuv/planar_functions.h"
#include "third_party/libyuv/include/libyuv/scale.h" #include "third_party/libyuv/include/libyuv/scale.h"
// Aligning pointer to 64 bytes for improved performance, e.g. use SIMD. // Aligning pointer to 64 bytes for improved performance, e.g. use SIMD.

View File

@ -11,11 +11,13 @@
#ifndef API_VIDEO_I010_BUFFER_H_ #ifndef API_VIDEO_I010_BUFFER_H_
#define API_VIDEO_I010_BUFFER_H_ #define API_VIDEO_I010_BUFFER_H_
#include <stdint.h>
#include <memory> #include <memory>
#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 {

View File

@ -10,12 +10,11 @@
#include "api/video/i420_buffer.h" #include "api/video/i420_buffer.h"
#include <string.h> #include <string.h>
#include <algorithm> #include <algorithm>
#include <utility> #include <utility>
#include "rtc_base/checks.h" #include "rtc_base/checks.h"
#include "rtc_base/keep_ref_until_done.h" #include "rtc_base/refcountedobject.h"
#include "third_party/libyuv/include/libyuv/convert.h" #include "third_party/libyuv/include/libyuv/convert.h"
#include "third_party/libyuv/include/libyuv/planar_functions.h" #include "third_party/libyuv/include/libyuv/planar_functions.h"
#include "third_party/libyuv/include/libyuv/scale.h" #include "third_party/libyuv/include/libyuv/scale.h"

View File

@ -18,5 +18,6 @@ rtc_source_set("rtc_api_video_unittests") {
"..:video_bitrate_allocation", "..:video_bitrate_allocation",
"..:video_frame", "..:video_frame",
"../../../test:test_support", "../../../test:test_support",
"//third_party/abseil-cpp/absl/types:optional",
] ]
} }

View File

@ -8,9 +8,9 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <memory> #include <vector>
#include <string>
#include "absl/types/optional.h"
#include "api/video/video_bitrate_allocation.h" #include "api/video/video_bitrate_allocation.h"
#include "test/gtest.h" #include "test/gtest.h"

View File

@ -11,6 +11,7 @@
#include "api/video/video_stream_encoder_create.h" #include "api/video/video_stream_encoder_create.h"
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "video/overuse_frame_detector.h"
#include "video/video_stream_encoder.h" #include "video/video_stream_encoder.h"
namespace webrtc { namespace webrtc {

View File

@ -11,10 +11,11 @@
#ifndef API_VIDEO_VIDEO_STREAM_ENCODER_CREATE_H_ #ifndef API_VIDEO_VIDEO_STREAM_ENCODER_CREATE_H_
#define API_VIDEO_VIDEO_STREAM_ENCODER_CREATE_H_ #define API_VIDEO_VIDEO_STREAM_ENCODER_CREATE_H_
#include <map> #include <stdint.h>
#include <memory> #include <memory>
#include <utility>
#include "api/video/video_frame.h"
#include "api/video/video_sink_interface.h"
#include "api/video/video_stream_encoder_interface.h" #include "api/video/video_stream_encoder_interface.h"
#include "api/video/video_stream_encoder_observer.h" #include "api/video/video_stream_encoder_observer.h"
#include "api/video/video_stream_encoder_settings.h" #include "api/video/video_stream_encoder_settings.h"

View File

@ -10,6 +10,7 @@
#include "api/video/video_timing.h" #include "api/video/video_timing.h"
#include "api/array_view.h"
#include "rtc_base/strings/string_builder.h" #include "rtc_base/strings/string_builder.h"
namespace webrtc { namespace webrtc {

View File

@ -80,6 +80,7 @@ rtc_static_library("builtin_video_encoder_factory") {
"../../media:rtc_internal_video_codecs", "../../media:rtc_internal_video_codecs",
"../../media:rtc_media_base", "../../media:rtc_media_base",
"../../media:rtc_vp8_encoder_simulcast_proxy", "../../media:rtc_vp8_encoder_simulcast_proxy",
"../../rtc_base:checks",
"../../rtc_base:ptr_util", "../../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",
@ -101,7 +102,7 @@ rtc_static_library("create_vp8_temporal_layers") {
"../../modules/video_coding:video_codec_interface", "../../modules/video_coding:video_codec_interface",
"../../modules/video_coding:webrtc_vp8_temporal_layers", "../../modules/video_coding:webrtc_vp8_temporal_layers",
"../../system_wrappers:system_wrappers", "../../system_wrappers:system_wrappers",
"//third_party/abseil-cpp/absl/memory:memory", "//third_party/abseil-cpp/absl/memory",
] ]
} }
@ -122,6 +123,7 @@ rtc_static_library("rtc_software_fallback_wrappers") {
deps = [ deps = [
":video_codecs_api", ":video_codecs_api",
"../../:webrtc_common",
"../../media:rtc_h264_profile_id", "../../media:rtc_h264_profile_id",
"../../media:rtc_media_base", "../../media:rtc_media_base",
"../../modules/video_coding:video_codec_interface", "../../modules/video_coding:video_codec_interface",
@ -129,7 +131,10 @@ rtc_static_library("rtc_software_fallback_wrappers") {
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../rtc_base/system:fallthrough", "../../rtc_base/system:fallthrough",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
"../video:encoded_image",
"../video:video_bitrate_allocation", "../video:video_bitrate_allocation",
"../video:video_frame",
"//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/memory",
"//third_party/abseil-cpp/absl/types:optional",
] ]
} }

View File

@ -15,10 +15,12 @@
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "absl/strings/match.h" #include "absl/strings/match.h"
#include "api/video_codecs/sdp_video_format.h" #include "api/video_codecs/sdp_video_format.h"
#include "api/video_codecs/video_encoder.h"
#include "media/base/codec.h" #include "media/base/codec.h"
#include "media/base/mediaconstants.h" #include "media/base/mediaconstants.h"
#include "media/engine/internalencoderfactory.h" #include "media/engine/internalencoderfactory.h"
#include "media/engine/vp8_encoder_simulcast_proxy.h" #include "media/engine/vp8_encoder_simulcast_proxy.h"
#include "rtc_base/checks.h"
namespace webrtc { namespace webrtc {

View File

@ -22,14 +22,19 @@ if (rtc_include_tests) {
"..:rtc_software_fallback_wrappers", "..:rtc_software_fallback_wrappers",
"..:video_codecs_api", "..:video_codecs_api",
"../..:mock_video_encoder", "../..:mock_video_encoder",
"../../../:webrtc_common",
"../../../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",
"../../video:encoded_image",
"../../video:video_bitrate_allocation", "../../video:video_bitrate_allocation",
"../../video:video_frame",
"../../video:video_frame_i420", "../../video:video_frame_i420",
"//testing/gtest", "//testing/gtest",
] ]

View File

@ -11,9 +11,11 @@
#include "api/video_codecs/builtin_video_encoder_factory.h" #include "api/video_codecs/builtin_video_encoder_factory.h"
#include <memory> #include <memory>
#include <string>
#include <vector>
#include "api/video_codecs/sdp_video_format.h" #include "api/video_codecs/sdp_video_format.h"
#include "test/gmock.h" #include "test/gtest.h"
namespace webrtc { namespace webrtc {

View File

@ -9,8 +9,17 @@
*/ */
#include "api/video_codecs/video_decoder_software_fallback_wrapper.h" #include "api/video_codecs/video_decoder_software_fallback_wrapper.h"
#include <stdint.h>
#include "absl/types/optional.h"
#include "api/video/encoded_image.h"
#include "api/video/video_frame.h"
#include "api/video_codecs/video_codec.h"
#include "api/video_codecs/video_decoder.h" #include "api/video_codecs/video_decoder.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/video_coding/codecs/vp8/include/vp8.h" #include "modules/video_coding/codecs/vp8/include/vp8.h"
#include "modules/video_coding/include/video_codec_interface.h"
#include "modules/video_coding/include/video_error_codes.h" #include "modules/video_coding/include/video_error_codes.h"
#include "rtc_base/checks.h" #include "rtc_base/checks.h"
#include "test/gtest.h" #include "test/gtest.h"

View File

@ -8,19 +8,31 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <utility> #include <stddef.h>
#include <stdint.h>
#include <memory>
#include <string>
#include <vector>
#include "absl/types/optional.h"
#include "api/test/mock_video_encoder.h" #include "api/test/mock_video_encoder.h"
#include "api/video/encoded_image.h"
#include "api/video/i420_buffer.h" #include "api/video/i420_buffer.h"
#include "api/video/video_bitrate_allocation.h" #include "api/video/video_bitrate_allocation.h"
#include "api/video/video_frame.h"
#include "api/video/video_frame_buffer.h"
#include "api/video/video_rotation.h"
#include "api/video_codecs/video_codec.h"
#include "api/video_codecs/video_encoder.h"
#include "api/video_codecs/video_encoder_software_fallback_wrapper.h" #include "api/video_codecs/video_encoder_software_fallback_wrapper.h"
#include "api/video_codecs/vp8_temporal_layers.h" #include "common_types.h" // NOLINT(build/include)
#include "modules/include/module_common_types.h"
#include "modules/video_coding/codecs/vp8/include/vp8.h" #include "modules/video_coding/codecs/vp8/include/vp8.h"
#include "modules/video_coding/include/video_codec_interface.h" #include "modules/video_coding/include/video_codec_interface.h"
#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/checks.h"
#include "rtc_base/fakeclock.h" #include "rtc_base/fakeclock.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"

View File

@ -10,10 +10,13 @@
#include "api/video_codecs/video_decoder_software_fallback_wrapper.h" #include "api/video_codecs/video_decoder_software_fallback_wrapper.h"
#include <stdint.h>
#include <string> #include <string>
#include <utility> #include <utility>
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "api/video/encoded_image.h"
#include "api/video_codecs/video_codec.h"
#include "modules/video_coding/include/video_error_codes.h" #include "modules/video_coding/include/video_error_codes.h"
#include "rtc_base/checks.h" #include "rtc_base/checks.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"

View File

@ -10,18 +10,21 @@
#include "api/video_codecs/video_encoder_software_fallback_wrapper.h" #include "api/video_codecs/video_encoder_software_fallback_wrapper.h"
#include <stdint.h>
#include <cstdio> #include <cstdio>
#include <string> #include <string>
#include <utility> #include <utility>
#include <vector> #include <vector>
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "media/base/codec.h" #include "absl/types/optional.h"
#include "media/base/h264_profile_level_id.h" #include "api/video/video_bitrate_allocation.h"
#include "api/video/video_frame.h"
#include "api/video_codecs/video_codec.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/video_coding/include/video_error_codes.h" #include "modules/video_coding/include/video_error_codes.h"
#include "rtc_base/checks.h" #include "rtc_base/checks.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"
#include "rtc_base/timeutils.h"
#include "system_wrappers/include/field_trial.h" #include "system_wrappers/include/field_trial.h"
namespace webrtc { namespace webrtc {

View File

@ -124,6 +124,10 @@ rtc_source_set("rtp_sender") {
"../api:fec_controller_api", "../api:fec_controller_api",
"../api:transport_api", "../api:transport_api",
"../api/transport:network_control", "../api/transport:network_control",
"../api/units:data_rate",
"../api/units:time_delta",
"../api/units:timestamp",
"../api/video:video_frame",
"../api/video_codecs:video_codecs_api", "../api/video_codecs:video_codecs_api",
"../logging:rtc_event_log_api", "../logging:rtc_event_log_api",
"../modules/congestion_controller", "../modules/congestion_controller",
@ -133,6 +137,7 @@ rtc_source_set("rtp_sender") {
"../modules/rtp_rtcp:rtp_rtcp_format", "../modules/rtp_rtcp:rtp_rtcp_format",
"../modules/rtp_rtcp:rtp_video_header", "../modules/rtp_rtcp:rtp_video_header",
"../modules/utility", "../modules/utility",
"../modules/video_coding:codec_globals_headers",
"../modules/video_coding:video_codec_interface", "../modules/video_coding:video_codec_interface",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:rate_limiter", "../rtc_base:rate_limiter",
@ -140,7 +145,10 @@ rtc_source_set("rtp_sender") {
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_task_queue", "../rtc_base:rtc_task_queue",
"../system_wrappers:field_trial", "../system_wrappers:field_trial",
"//third_party/abseil-cpp/absl/container:inlined_vector",
"//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/memory",
"//third_party/abseil-cpp/absl/types:optional",
"//third_party/abseil-cpp/absl/types:variant",
] ]
} }
@ -155,6 +163,7 @@ rtc_source_set("bitrate_configurator") {
"../api/transport:bitrate_settings", "../api/transport:bitrate_settings",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"//third_party/abseil-cpp/absl/types:optional",
] ]
} }
@ -199,10 +208,16 @@ rtc_static_library("call") {
":rtp_sender", ":rtp_sender",
":simulated_network", ":simulated_network",
":video_stream_api", ":video_stream_api",
"..:webrtc_common",
"../api:array_view",
"../api:callfactory_api", "../api:callfactory_api",
"../api:fec_controller_api",
"../api:libjingle_peerconnection_api",
"../api:simulated_network_api", "../api:simulated_network_api",
"../api:transport_api", "../api:transport_api",
"../api/transport:network_control", "../api/transport:network_control",
"../api/units:time_delta",
"../api/video_codecs:video_codecs_api",
"../audio", "../audio",
"../logging:rtc_event_audio", "../logging:rtc_event_audio",
"../logging:rtc_event_log_api", "../logging:rtc_event_log_api",
@ -223,6 +238,7 @@ rtc_static_library("call") {
"../rtc_base:safe_minmax", "../rtc_base:safe_minmax",
"../rtc_base:sequenced_task_checker", "../rtc_base:sequenced_task_checker",
"../rtc_base/experiments:field_trial_parser", "../rtc_base/experiments:field_trial_parser",
"../rtc_base/network:sent_packet",
"../rtc_base/synchronization:rw_lock_wrapper", "../rtc_base/synchronization:rw_lock_wrapper",
"../system_wrappers", "../system_wrappers",
"../system_wrappers:field_trial", "../system_wrappers:field_trial",
@ -265,6 +281,7 @@ rtc_source_set("simulated_network") {
"../api/units:data_rate", "../api/units:data_rate",
"../api/units:data_size", "../api/units:data_size",
"../api/units:time_delta", "../api/units:time_delta",
"../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",
"//third_party/abseil-cpp/absl/types:optional", "//third_party/abseil-cpp/absl/types:optional",
@ -291,10 +308,13 @@ rtc_source_set("fake_network") {
":call_interfaces", ":call_interfaces",
":simulated_network", ":simulated_network",
":simulated_packet_receiver", ":simulated_packet_receiver",
"..:webrtc_common",
"../api:libjingle_peerconnection_api",
"../api:simulated_network_api", "../api:simulated_network_api",
"../api:transport_api", "../api:transport_api",
"../modules:module_api", "../modules:module_api",
"../modules/utility", "../modules/utility",
"../rtc_base:checks",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:sequenced_task_checker", "../rtc_base:sequenced_task_checker",
"../system_wrappers", "../system_wrappers",
@ -330,12 +350,15 @@ if (rtc_include_tests) {
":rtp_receiver", ":rtp_receiver",
":rtp_sender", ":rtp_sender",
":simulated_network", ":simulated_network",
"../:webrtc_common",
"../api:array_view", "../api:array_view",
"../api:fake_media_transport", "../api:fake_media_transport",
"../api:fake_media_transport", "../api:fake_media_transport",
"../api:libjingle_peerconnection_api", "../api:libjingle_peerconnection_api",
"../api:mock_audio_mixer", "../api:mock_audio_mixer",
"../api:transport_api",
"../api/audio_codecs:builtin_audio_decoder_factory", "../api/audio_codecs:builtin_audio_decoder_factory",
"../api/video:video_frame",
"../audio:audio", "../audio:audio",
"../logging:rtc_event_log_api", "../logging:rtc_event_log_api",
"../logging:rtc_event_log_impl_base", "../logging:rtc_event_log_impl_base",
@ -351,6 +374,7 @@ if (rtc_include_tests) {
"../modules/rtp_rtcp:mock_rtp_rtcp", "../modules/rtp_rtcp:mock_rtp_rtcp",
"../modules/rtp_rtcp:rtp_rtcp_format", "../modules/rtp_rtcp:rtp_rtcp_format",
"../modules/utility:mock_process_thread", "../modules/utility:mock_process_thread",
"../modules/video_coding:codec_globals_headers",
"../modules/video_coding:video_codec_interface", "../modules/video_coding:video_codec_interface",
"../modules/video_coding:video_coding", "../modules/video_coding:video_coding",
"../rtc_base:checks", "../rtc_base:checks",
@ -367,6 +391,7 @@ if (rtc_include_tests) {
"../video:video", "../video:video",
"//testing/gmock", "//testing/gmock",
"//testing/gtest", "//testing/gtest",
"//third_party/abseil-cpp/absl/container:inlined_vector",
"//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/memory",
"//third_party/abseil-cpp/absl/types:optional", "//third_party/abseil-cpp/absl/types:optional",
] ]

View File

@ -10,14 +10,15 @@
#include "call/callfactory.h" #include "call/callfactory.h"
#include <stdio.h>
#include <memory> #include <memory>
#include <string> #include <string>
#include <utility>
#include "absl/types/optional.h" #include "absl/types/optional.h"
#include "api/test/simulated_network.h"
#include "call/call.h" #include "call/call.h"
#include "call/degraded_call.h" #include "call/degraded_call.h"
#include "call/fake_network_pipe.h" #include "rtc_base/checks.h"
#include "system_wrappers/include/field_trial.h" #include "system_wrappers/include/field_trial.h"
namespace webrtc { namespace webrtc {

View File

@ -12,6 +12,8 @@
#define CALL_CALLFACTORY_H_ #define CALL_CALLFACTORY_H_
#include "api/call/callfactoryinterface.h" #include "api/call/callfactoryinterface.h"
#include "call/call.h"
#include "call/call_config.h"
namespace webrtc { namespace webrtc {

View File

@ -10,9 +10,9 @@
#include <utility> #include <utility>
#include "call/degraded_call.h"
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "call/degraded_call.h"
#include "rtc_base/location.h"
namespace webrtc { namespace webrtc {
DegradedCall::DegradedCall( DegradedCall::DegradedCall(

View File

@ -11,15 +11,31 @@
#ifndef CALL_DEGRADED_CALL_H_ #ifndef CALL_DEGRADED_CALL_H_
#define CALL_DEGRADED_CALL_H_ #define CALL_DEGRADED_CALL_H_
#include <stddef.h>
#include <stdint.h>
#include <memory> #include <memory>
#include "absl/types/optional.h" #include "absl/types/optional.h"
#include "api/call/transport.h" #include "api/call/transport.h"
#include "api/fec_controller.h"
#include "api/mediatypes.h"
#include "api/rtp_headers.h"
#include "api/test/simulated_network.h" #include "api/test/simulated_network.h"
#include "api/video_codecs/video_encoder_config.h"
#include "call/audio_receive_stream.h"
#include "call/audio_send_stream.h"
#include "call/call.h" #include "call/call.h"
#include "call/fake_network_pipe.h" #include "call/fake_network_pipe.h"
#include "call/flexfec_receive_stream.h"
#include "call/packet_receiver.h"
#include "call/rtp_transport_controller_send_interface.h"
#include "call/simulated_network.h" #include "call/simulated_network.h"
#include "call/video_receive_stream.h"
#include "call/video_send_stream.h"
#include "modules/utility/include/process_thread.h" #include "modules/utility/include/process_thread.h"
#include "rtc_base/bitrateallocationstrategy.h"
#include "rtc_base/copyonwritebuffer.h"
#include "rtc_base/network/sent_packet.h"
#include "system_wrappers/include/clock.h" #include "system_wrappers/include/clock.h"
namespace webrtc { namespace webrtc {

View File

@ -8,17 +8,16 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <math.h>
#include <string.h> #include <string.h>
#include <algorithm> #include <algorithm>
#include <queue>
#include <utility> #include <utility>
#include <vector>
#include "absl/memory/memory.h" #include "api/mediatypes.h"
#include "call/call.h"
#include "call/fake_network_pipe.h" #include "call/fake_network_pipe.h"
#include "call/simulated_network.h"
#include "modules/utility/include/process_thread.h" #include "modules/utility/include/process_thread.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"
#include "system_wrappers/include/clock.h" #include "system_wrappers/include/clock.h"

View File

@ -10,8 +10,14 @@
#include "call/flexfec_receive_stream_impl.h" #include "call/flexfec_receive_stream_impl.h"
#include <stddef.h>
#include <cstdint>
#include <string> #include <string>
#include <vector>
#include "api/array_view.h"
#include "api/call/transport.h"
#include "api/rtpparameters.h"
#include "call/rtp_stream_receiver_controller_interface.h" #include "call/rtp_stream_receiver_controller_interface.h"
#include "modules/rtp_rtcp/include/flexfec_receiver.h" #include "modules/rtp_rtcp/include/flexfec_receiver.h"
#include "modules/rtp_rtcp/include/receive_statistics.h" #include "modules/rtp_rtcp/include/receive_statistics.h"

View File

@ -8,20 +8,24 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include "call/flexfec_receive_stream_impl.h" #include <cstdint>
#include <stdint.h>
#include <memory> #include <memory>
#include <vector>
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "api/array_view.h" #include "api/array_view.h"
#include "api/call/transport.h"
#include "api/rtp_headers.h"
#include "api/rtpparameters.h"
#include "call/flexfec_receive_stream.h"
#include "call/flexfec_receive_stream_impl.h"
#include "call/rtp_stream_receiver_controller.h" #include "call/rtp_stream_receiver_controller.h"
#include "modules/pacing/packet_router.h" #include "modules/rtp_rtcp/include/rtp_rtcp_defines.h"
#include "modules/rtp_rtcp/include/flexfec_receiver.h"
#include "modules/rtp_rtcp/mocks/mock_recovered_packet_receiver.h" #include "modules/rtp_rtcp/mocks/mock_recovered_packet_receiver.h"
#include "modules/rtp_rtcp/mocks/mock_rtcp_rtt_stats.h" #include "modules/rtp_rtcp/mocks/mock_rtcp_rtt_stats.h"
#include "modules/rtp_rtcp/source/byte_io.h" #include "modules/rtp_rtcp/source/byte_io.h"
#include "modules/rtp_rtcp/source/rtp_header_extensions.h" #include "modules/rtp_rtcp/source/rtp_header_extensions.h"
#include "modules/rtp_rtcp/source/rtp_packet_received.h"
#include "modules/utility/include/mock/mock_process_thread.h" #include "modules/utility/include/mock/mock_process_thread.h"
#include "test/gmock.h" #include "test/gmock.h"
#include "test/gtest.h" #include "test/gtest.h"

View File

@ -11,10 +11,10 @@
#include "call/receive_time_calculator.h" #include "call/receive_time_calculator.h"
#include <string> #include <string>
#include <type_traits>
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "rtc_base/experiments/field_trial_parser.h" #include "rtc_base/experiments/field_trial_parser.h"
#include "rtc_base/logging.h"
#include "rtc_base/numerics/safe_minmax.h" #include "rtc_base/numerics/safe_minmax.h"
#include "system_wrappers/include/field_trial.h" #include "system_wrappers/include/field_trial.h"

View File

@ -10,9 +10,11 @@
#ifndef CALL_RECEIVE_TIME_CALCULATOR_H_ #ifndef CALL_RECEIVE_TIME_CALCULATOR_H_
#define CALL_RECEIVE_TIME_CALCULATOR_H_ #define CALL_RECEIVE_TIME_CALCULATOR_H_
#include <stdint.h>
#include <memory> #include <memory>
#include "rtc_base/experiments/field_trial_units.h" #include "api/units/time_delta.h"
#include "rtc_base/experiments/field_trial_parser.h"
namespace webrtc { namespace webrtc {

View File

@ -10,12 +10,12 @@
#include "call/receive_time_calculator.h" #include "call/receive_time_calculator.h"
#include <stdlib.h>
#include <algorithm> #include <algorithm>
#include <iostream> #include <cmath>
#include <tuple> #include <cstdint>
#include <vector> #include <vector>
#include "absl/memory/memory.h"
#include "absl/types/optional.h" #include "absl/types/optional.h"
#include "rtc_base/random.h" #include "rtc_base/random.h"
#include "rtc_base/timeutils.h" #include "rtc_base/timeutils.h"

View File

@ -10,6 +10,11 @@
#include "call/rtcp_demuxer.h" #include "call/rtcp_demuxer.h"
#include <stddef.h>
#include <algorithm>
#include <utility>
#include "absl/types/optional.h"
#include "api/rtp_headers.h" #include "api/rtp_headers.h"
#include "call/rtcp_packet_sink_interface.h" #include "call/rtcp_packet_sink_interface.h"
#include "call/rtp_rtcp_demuxer_helper.h" #include "call/rtp_rtcp_demuxer_helper.h"

View File

@ -10,14 +10,14 @@
#include "call/rtcp_demuxer.h" #include "call/rtcp_demuxer.h"
#include <memory> #include <stddef.h>
#include <set> #include <set>
#include "absl/memory/memory.h"
#include "api/rtp_headers.h" #include "api/rtp_headers.h"
#include "call/rtcp_packet_sink_interface.h" #include "call/rtcp_packet_sink_interface.h"
#include "modules/rtp_rtcp/source/rtcp_packet/bye.h" #include "modules/rtp_rtcp/source/rtcp_packet/bye.h"
#include "rtc_base/arraysize.h" #include "rtc_base/arraysize.h"
#include "rtc_base/buffer.h"
#include "rtc_base/checks.h" #include "rtc_base/checks.h"
#include "test/gmock.h" #include "test/gmock.h"
#include "test/gtest.h" #include "test/gtest.h"

View File

@ -11,6 +11,7 @@
#ifndef CALL_RTP_BITRATE_CONFIGURATOR_H_ #ifndef CALL_RTP_BITRATE_CONFIGURATOR_H_
#define CALL_RTP_BITRATE_CONFIGURATOR_H_ #define CALL_RTP_BITRATE_CONFIGURATOR_H_
#include "absl/types/optional.h"
#include "api/bitrate_constraints.h" #include "api/bitrate_constraints.h"
#include "api/transport/bitrate_settings.h" #include "api/transport/bitrate_settings.h"
#include "rtc_base/constructormagic.h" #include "rtc_base/constructormagic.h"

View File

@ -10,7 +10,17 @@
#include "call/rtp_payload_params.h" #include "call/rtp_payload_params.h"
#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include <stddef.h>
#include "absl/container/inlined_vector.h"
#include "absl/types/optional.h"
#include "absl/types/variant.h"
#include "api/video/video_timing.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/video_coding/codecs/h264/include/h264_globals.h"
#include "modules/video_coding/codecs/interface/common_constants.h"
#include "modules/video_coding/codecs/vp8/include/vp8_globals.h"
#include "modules/video_coding/codecs/vp9/include/vp9_globals.h"
#include "modules/video_coding/include/video_codec_interface.h" #include "modules/video_coding/include/video_codec_interface.h"
#include "rtc_base/checks.h" #include "rtc_base/checks.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"

View File

@ -8,10 +8,21 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <memory> #include <string.h>
#include <map>
#include <set> #include <set>
#include "absl/container/inlined_vector.h"
#include "absl/types/optional.h"
#include "absl/types/variant.h"
#include "api/video/video_content_type.h"
#include "api/video/video_rotation.h"
#include "call/rtp_payload_params.h" #include "call/rtp_payload_params.h"
#include "common_types.h" // NOLINT(build/include)
#include "modules/video_coding/codecs/h264/include/h264_globals.h"
#include "modules/video_coding/codecs/interface/common_constants.h"
#include "modules/video_coding/codecs/vp8/include/vp8_globals.h"
#include "modules/video_coding/codecs/vp9/include/vp9_globals.h"
#include "modules/video_coding/include/video_codec_interface.h" #include "modules/video_coding/include/video_codec_interface.h"
#include "test/field_trial.h" #include "test/field_trial.h"
#include "test/gtest.h" #include "test/gtest.h"

View File

@ -11,9 +11,8 @@
#ifndef CALL_RTP_RTCP_DEMUXER_HELPER_H_ #ifndef CALL_RTP_RTCP_DEMUXER_HELPER_H_
#define CALL_RTP_RTCP_DEMUXER_HELPER_H_ #define CALL_RTP_RTCP_DEMUXER_HELPER_H_
#include <algorithm> #include <stddef.h>
#include <map> #include <stdint.h>
#include <utility>
#include "absl/types/optional.h" #include "absl/types/optional.h"
#include "api/array_view.h" #include "api/array_view.h"

View File

@ -8,10 +8,10 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <string.h>
#include <cstdio> #include <cstdio>
#include "call/rtp_rtcp_demuxer_helper.h" #include "call/rtp_rtcp_demuxer_helper.h"
#include "modules/rtp_rtcp/source/rtcp_packet/bye.h" #include "modules/rtp_rtcp/source/rtcp_packet/bye.h"
#include "modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h" #include "modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h"
#include "modules/rtp_rtcp/source/rtcp_packet/extended_reports.h" #include "modules/rtp_rtcp/source/rtcp_packet/extended_reports.h"

View File

@ -11,9 +11,16 @@
#include <vector> #include <vector>
#include "absl/memory/memory.h" #include "absl/memory/memory.h"
#include "absl/types/optional.h"
#include "api/transport/network_types.h"
#include "api/units/data_rate.h"
#include "api/units/time_delta.h"
#include "api/units/timestamp.h"
#include "call/rtp_transport_controller_send.h" #include "call/rtp_transport_controller_send.h"
#include "call/rtp_video_sender.h"
#include "modules/congestion_controller/include/send_side_congestion_controller.h" #include "modules/congestion_controller/include/send_side_congestion_controller.h"
#include "modules/congestion_controller/rtp/include/send_side_congestion_controller.h" #include "modules/congestion_controller/rtp/include/send_side_congestion_controller.h"
#include "rtc_base/checks.h"
#include "rtc_base/location.h" #include "rtc_base/location.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"
#include "rtc_base/rate_limiter.h" #include "rtc_base/rate_limiter.h"

View File

@ -8,11 +8,15 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <string.h>
#include <utility> #include <utility>
#include "api/array_view.h"
#include "call/rtx_receive_stream.h" #include "call/rtx_receive_stream.h"
#include "modules/rtp_rtcp/include/receive_statistics.h" #include "modules/rtp_rtcp/include/receive_statistics.h"
#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h"
#include "modules/rtp_rtcp/source/rtp_packet_received.h" #include "modules/rtp_rtcp/source/rtp_packet_received.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"
namespace webrtc { namespace webrtc {

View File

@ -13,7 +13,11 @@
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>
#include <utility> #include <utility>
#include "api/units/data_rate.h" #include "api/units/data_rate.h"
#include "api/units/data_size.h"
#include "api/units/time_delta.h"
#include "rtc_base/checks.h"
namespace webrtc { namespace webrtc {

View File

@ -10,11 +10,11 @@
#ifndef CALL_SIMULATED_NETWORK_H_ #ifndef CALL_SIMULATED_NETWORK_H_
#define CALL_SIMULATED_NETWORK_H_ #define CALL_SIMULATED_NETWORK_H_
#include <stdint.h>
#include <deque> #include <deque>
#include <queue> #include <queue>
#include <vector> #include <vector>
#include "absl/memory/memory.h"
#include "absl/types/optional.h" #include "absl/types/optional.h"
#include "api/test/simulated_network.h" #include "api/test/simulated_network.h"
#include "rtc_base/criticalsection.h" #include "rtc_base/criticalsection.h"

View File

@ -58,7 +58,7 @@ rtc_static_library("common_audio") {
"../system_wrappers:cpu_features_api", "../system_wrappers:cpu_features_api",
"third_party/fft4g:fft4g", "third_party/fft4g:fft4g",
"//third_party/abseil-cpp/absl/container:inlined_vector", "//third_party/abseil-cpp/absl/container:inlined_vector",
"//third_party/abseil-cpp/absl/memory:memory", "//third_party/abseil-cpp/absl/memory",
"//third_party/abseil-cpp/absl/types:optional", "//third_party/abseil-cpp/absl/types:optional",
] ]

View File

@ -86,10 +86,14 @@ if (rtc_include_tests) {
deps = [ deps = [
":common_video", ":common_video",
"../:webrtc_common",
"../api/units:time_delta",
"../api/video:video_frame", "../api/video:video_frame",
"../api/video:video_frame_i010", "../api/video:video_frame_i010",
"../api/video:video_frame_i420", "../api/video:video_frame_i420",
"../media:rtc_h264_profile_id",
"../modules/video_capture:video_capture", "../modules/video_capture:video_capture",
"../rtc_base:checks",
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils", "../rtc_base:rtc_base_tests_utils",

View File

@ -9,6 +9,8 @@
*/ */
#include "common_video/include/bitrate_adjuster.h" #include "common_video/include/bitrate_adjuster.h"
#include "api/units/time_delta.h"
#include "rtc_base/fakeclock.h" #include "rtc_base/fakeclock.h"
#include "test/gtest.h" #include "test/gtest.h"

View File

@ -10,12 +10,10 @@
#include "common_video/h264/pps_parser.h" #include "common_video/h264/pps_parser.h"
#include <limits>
#include <memory>
#include "common_video/h264/h264_common.h" #include "common_video/h264/h264_common.h"
#include "rtc_base/bitbuffer.h" #include "rtc_base/bitbuffer.h"
#include "rtc_base/buffer.h" #include "rtc_base/buffer.h"
#include "rtc_base/checks.h"
#include "test/gtest.h" #include "test/gtest.h"
namespace webrtc { namespace webrtc {

View File

@ -10,6 +10,12 @@
#include "common_video/h264/profile_level_id.h" #include "common_video/h264/profile_level_id.h"
#include <map>
#include <string>
#include "absl/types/optional.h"
#include "common_types.h" // NOLINT(build/include)
#include "media/base/h264_profile_level_id.h"
#include "test/gtest.h" #include "test/gtest.h"
namespace webrtc { namespace webrtc {

View File

@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <cstdint>
#include <vector> #include <vector>
#include "common_video/h264/h264_common.h" #include "common_video/h264/h264_common.h"

View File

@ -8,9 +8,13 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <string> #include <stdint.h>
#include <string.h>
#include "api/video/i420_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 {

View File

@ -10,7 +10,7 @@
#include "common_video/libyuv/include/webrtc_libyuv.h" #include "common_video/libyuv/include/webrtc_libyuv.h"
#include <string.h> #include <cstdint>
#include "api/video/i420_buffer.h" #include "api/video/i420_buffer.h"
#include "common_video/include/video_frame_buffer.h" #include "common_video/include/video_frame_buffer.h"

View File

@ -9,16 +9,10 @@
*/ */
#include "common_video/include/video_frame_buffer.h" #include "common_video/include/video_frame_buffer.h"
#include <string.h>
#include <algorithm>
#include "api/video/i420_buffer.h" #include "api/video/i420_buffer.h"
#include "rtc_base/checks.h" #include "rtc_base/checks.h"
#include "rtc_base/keep_ref_until_done.h" #include "rtc_base/refcountedobject.h"
#include "third_party/libyuv/include/libyuv/convert.h" #include "third_party/libyuv/include/libyuv/convert.h"
#include "third_party/libyuv/include/libyuv/planar_functions.h"
#include "third_party/libyuv/include/libyuv/scale.h"
namespace webrtc { namespace webrtc {

View File

@ -683,14 +683,21 @@ if (is_linux || is_win) {
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
} }
deps = [ deps = [
"../api:audio_options_api",
"../api:create_peerconnection_factory", "../api:create_peerconnection_factory",
"../api:libjingle_peerconnection_api", "../api:libjingle_peerconnection_api",
"../api/audio:audio_mixer_api",
"../api/audio_codecs:audio_codecs_api",
"../api/video:video_frame_i420", "../api/video:video_frame_i420",
"../api/video_codecs:video_codecs_api",
"../media:rtc_media_base",
"../p2p:rtc_p2p",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:stringutils", "../rtc_base:stringutils",
"../rtc_base/third_party/sigslot", "../rtc_base/third_party/sigslot",
"../system_wrappers:field_trial", "../system_wrappers:field_trial",
"../test:field_trial", "../test:field_trial",
"//third_party/abseil-cpp/absl/types:optional",
] ]
if (is_win) { if (is_win) {
sources += [ sources += [

View File

@ -10,22 +10,37 @@
#include "examples/peerconnection/client/conductor.h" #include "examples/peerconnection/client/conductor.h"
#include <stddef.h>
#include <stdint.h>
#include <memory> #include <memory>
#include <utility> #include <utility>
#include <vector> #include <vector>
#include "absl/types/optional.h"
#include "api/audio/audio_mixer.h"
#include "api/audio_codecs/audio_decoder_factory.h"
#include "api/audio_codecs/audio_encoder_factory.h"
#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/audio_options.h"
#include "api/create_peerconnection_factory.h" #include "api/create_peerconnection_factory.h"
#include "api/rtpsenderinterface.h"
#include "api/video_codecs/builtin_video_decoder_factory.h" #include "api/video_codecs/builtin_video_decoder_factory.h"
#include "api/video_codecs/builtin_video_encoder_factory.h" #include "api/video_codecs/builtin_video_encoder_factory.h"
#include "api/video_codecs/video_decoder_factory.h"
#include "api/video_codecs/video_encoder_factory.h"
#include "examples/peerconnection/client/defaults.h" #include "examples/peerconnection/client/defaults.h"
#include "media/base/device.h"
#include "media/engine/webrtcvideocapturerfactory.h" #include "media/engine/webrtcvideocapturerfactory.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 "modules/video_capture/video_capture.h"
#include "modules/video_capture/video_capture_factory.h" #include "modules/video_capture/video_capture_factory.h"
#include "p2p/base/portallocator.h"
#include "rtc_base/checks.h" #include "rtc_base/checks.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"
#include "rtc_base/refcountedobject.h"
#include "rtc_base/rtccertificategenerator.h"
#include "rtc_base/strings/json.h" #include "rtc_base/strings/json.h"
// Names used for a IceCandidate JSON object. // Names used for a IceCandidate JSON object.

View File

@ -11,7 +11,6 @@
#include "examples/peerconnection/client/defaults.h" #include "examples/peerconnection/client/defaults.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#ifdef WIN32 #ifdef WIN32
#include <winsock2.h> #include <winsock2.h>

View File

@ -8,13 +8,19 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <glib.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <stdio.h>
#include "examples/peerconnection/client/conductor.h" #include "examples/peerconnection/client/conductor.h"
#include "examples/peerconnection/client/flagdefs.h" #include "examples/peerconnection/client/flagdefs.h"
#include "examples/peerconnection/client/linux/main_wnd.h" #include "examples/peerconnection/client/linux/main_wnd.h"
#include "examples/peerconnection/client/peer_connection_client.h" #include "examples/peerconnection/client/peer_connection_client.h"
#include "rtc_base/flags.h"
#include "rtc_base/messagequeue.h"
#include "rtc_base/physicalsocketserver.h"
#include "rtc_base/refcountedobject.h"
#include "rtc_base/scoped_ref_ptr.h"
#include "rtc_base/ssladapter.h" #include "rtc_base/ssladapter.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"

View File

@ -10,12 +10,25 @@
#include "examples/peerconnection/client/linux/main_wnd.h" #include "examples/peerconnection/client/linux/main_wnd.h"
#include <cairo.h>
#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include <glib-object.h>
#include <glib.h>
#include <gobject/gclosure.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <stddef.h> #include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cstdint>
#include <map>
#include <utility>
#include "api/video/i420_buffer.h" #include "api/video/i420_buffer.h"
#include "examples/peerconnection/client/defaults.h" #include "api/video/video_frame_buffer.h"
#include "api/video/video_rotation.h"
#include "api/video/video_source_interface.h"
#include "rtc_base/checks.h" #include "rtc_base/checks.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"
#include "third_party/libyuv/include/libyuv/convert_from.h" #include "third_party/libyuv/include/libyuv/convert_from.h"

View File

@ -11,11 +11,16 @@
#ifndef EXAMPLES_PEERCONNECTION_CLIENT_LINUX_MAIN_WND_H_ #ifndef EXAMPLES_PEERCONNECTION_CLIENT_LINUX_MAIN_WND_H_
#define EXAMPLES_PEERCONNECTION_CLIENT_LINUX_MAIN_WND_H_ #define EXAMPLES_PEERCONNECTION_CLIENT_LINUX_MAIN_WND_H_
#include <stdint.h>
#include <memory> #include <memory>
#include <string> #include <string>
#include "api/mediastreaminterface.h"
#include "api/video/video_frame.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;

View File

@ -11,13 +11,15 @@
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #if defined(WEBRTC_POSIX)
#include <sys/select.h>
#endif
#include <time.h>
#include <string>
#include <vector> #include <vector>
#include "examples/peerconnection/server/data_socket.h" #include "examples/peerconnection/server/data_socket.h"
#include "examples/peerconnection/server/peer_channel.h" #include "examples/peerconnection/server/peer_channel.h"
#include "examples/peerconnection/server/utils.h"
#include "rtc_base/flags.h" #include "rtc_base/flags.h"
#include "rtc_tools/simple_command_line_parser.h" #include "rtc_tools/simple_command_line_parser.h"
#include "system_wrappers/include/field_trial.h" #include "system_wrappers/include/field_trial.h"

View File

@ -10,10 +10,9 @@
#include "examples/peerconnection/server/peer_channel.h" #include "examples/peerconnection/server/peer_channel.h"
#include <assert.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <algorithm> #include <algorithm>
#include "examples/peerconnection/server/data_socket.h" #include "examples/peerconnection/server/data_socket.h"

View File

@ -11,6 +11,7 @@
#ifndef EXAMPLES_PEERCONNECTION_SERVER_UTILS_H_ #ifndef EXAMPLES_PEERCONNECTION_SERVER_UTILS_H_
#define EXAMPLES_PEERCONNECTION_SERVER_UTILS_H_ #define EXAMPLES_PEERCONNECTION_SERVER_UTILS_H_
#include <stddef.h>
#include <string> #include <string>
#ifndef ARRAYSIZE #ifndef ARRAYSIZE

View File

@ -12,6 +12,9 @@
#include <memory> #include <memory>
#include "p2p/base/relayserver.h" #include "p2p/base/relayserver.h"
#include "rtc_base/asyncudpsocket.h"
#include "rtc_base/socketaddress.h"
#include "rtc_base/socketserver.h"
#include "rtc_base/thread.h" #include "rtc_base/thread.h"
int main(int argc, char** argv) { int main(int argc, char** argv) {

View File

@ -8,25 +8,20 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <map>
#include <memory> #include <memory>
#include <set>
#include <sstream> #include <sstream>
#include <string>
#include <vector>
#include "p2p/base/basicpacketsocketfactory.h" #include "p2p/base/basicpacketsocketfactory.h"
#include "p2p/stunprober/stunprober.h" #include "p2p/stunprober/stunprober.h"
#include "rtc_base/checks.h"
#include "rtc_base/flags.h" #include "rtc_base/flags.h"
#include "rtc_base/helpers.h" #include "rtc_base/helpers.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"
#include "rtc_base/nethelpers.h"
#include "rtc_base/network.h" #include "rtc_base/network.h"
#include "rtc_base/socketaddress.h"
#include "rtc_base/ssladapter.h" #include "rtc_base/ssladapter.h"
#include "rtc_base/strings/string_builder.h"
#include "rtc_base/stringutils.h"
#include "rtc_base/thread.h" #include "rtc_base/thread.h"
#include "rtc_base/timeutils.h" #include "rtc_base/timeutils.h"

View File

@ -7,14 +7,12 @@
* in the file PATENTS. All contributing project authors may * in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#if defined(WEBRTC_POSIX)
#include <errno.h>
#endif // WEBRTC_POSIX
#include <iostream> #include <iostream>
#include "p2p/base/stunserver.h" #include "p2p/base/stunserver.h"
#include "rtc_base/asyncudpsocket.h"
#include "rtc_base/socketaddress.h"
#include "rtc_base/socketserver.h"
#include "rtc_base/thread.h" #include "rtc_base/thread.h"
using cricket::StunServer; using cricket::StunServer;

View File

@ -9,6 +9,9 @@
*/ */
#include "examples/turnserver/read_auth_file.h" #include "examples/turnserver/read_auth_file.h"
#include <stddef.h>
#include "rtc_base/stringencode.h" #include "rtc_base/stringencode.h"
namespace webrtc_examples { namespace webrtc_examples {

View File

@ -12,12 +12,16 @@
#include <iostream> #include <iostream>
#include <map> #include <map>
#include <string> #include <string>
#include <utility>
#include "examples/turnserver/read_auth_file.h" #include "examples/turnserver/read_auth_file.h"
#include "p2p/base/basicpacketsocketfactory.h" #include "p2p/base/basicpacketsocketfactory.h"
#include "p2p/base/portinterface.h"
#include "p2p/base/turnserver.h" #include "p2p/base/turnserver.h"
#include "rtc_base/asyncudpsocket.h" #include "rtc_base/asyncudpsocket.h"
#include "rtc_base/stringencode.h" #include "rtc_base/ipaddress.h"
#include "rtc_base/socketaddress.h"
#include "rtc_base/socketserver.h"
#include "rtc_base/thread.h" #include "rtc_base/thread.h"
namespace { namespace {

View File

@ -173,6 +173,8 @@ rtc_static_library("rtc_event_log_impl_encoder") {
defines = [] defines = []
deps = [ deps = [
"../api:libjingle_peerconnection_api",
"../api/transport:network_control",
"../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",
@ -346,6 +348,7 @@ if (rtc_enable_protobuf) {
":rtc_event_rtp_rtcp", ":rtc_event_rtp_rtcp",
":rtc_event_video", ":rtc_event_video",
":rtc_stream_config", ":rtc_stream_config",
"../api:array_view",
"../api:libjingle_peerconnection_api", "../api:libjingle_peerconnection_api",
"../call", "../call",
"../call:call_interfaces", "../call:call_interfaces",
@ -355,6 +358,7 @@ if (rtc_enable_protobuf) {
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils", "../rtc_base:rtc_base_tests_utils",
"../system_wrappers:system_wrappers",
"../test:fileutils", "../test:fileutils",
"../test:test_support", "../test:test_support",
"//testing/gtest", "//testing/gtest",
@ -375,13 +379,15 @@ if (rtc_enable_protobuf) {
deps = [ deps = [
":rtc_event_log_api", ":rtc_event_log_api",
":rtc_event_log_parser", ":rtc_event_log_parser",
"../api:array_view",
"../api:libjingle_peerconnection_api",
"../modules/rtp_rtcp", "../modules/rtp_rtcp",
"../modules/rtp_rtcp:rtp_rtcp_format", "../modules/rtp_rtcp:rtp_rtcp_format",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:protobuf_utils", "../rtc_base:protobuf_utils",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../test:rtp_test_utils", "../test:rtp_test_utils",
"//third_party/abseil-cpp/absl/memory:memory", "//third_party/abseil-cpp/absl/memory",
"//third_party/abseil-cpp/absl/types:optional", "//third_party/abseil-cpp/absl/types:optional",
] ]
if (!build_with_chromium && is_clang) { if (!build_with_chromium && is_clang) {

View File

@ -4,4 +4,5 @@ include_rules = [
"+modules/congestion_controller", "+modules/congestion_controller",
"+modules/remote_bitrate_estimator/include", "+modules/remote_bitrate_estimator/include",
"+modules/rtp_rtcp", "+modules/rtp_rtcp",
"+system_wrappers",
] ]

View File

@ -10,9 +10,10 @@
#include "logging/rtc_event_log/encoder/blob_encoding.h" #include "logging/rtc_event_log/encoder/blob_encoding.h"
#include <algorithm> #include <cstdint>
#include "logging/rtc_event_log/encoder/varint.h" #include "logging/rtc_event_log/encoder/varint.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h" #include "rtc_base/logging.h"
namespace webrtc { namespace webrtc {

View File

@ -11,6 +11,7 @@
#ifndef LOGGING_RTC_EVENT_LOG_ENCODER_BLOB_ENCODING_H_ #ifndef LOGGING_RTC_EVENT_LOG_ENCODER_BLOB_ENCODING_H_
#define LOGGING_RTC_EVENT_LOG_ENCODER_BLOB_ENCODING_H_ #define LOGGING_RTC_EVENT_LOG_ENCODER_BLOB_ENCODING_H_
#include <stddef.h>
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -11,6 +11,8 @@
#ifndef LOGGING_RTC_EVENT_LOG_ENCODER_DELTA_ENCODING_H_ #ifndef LOGGING_RTC_EVENT_LOG_ENCODER_DELTA_ENCODING_H_
#define LOGGING_RTC_EVENT_LOG_ENCODER_DELTA_ENCODING_H_ #define LOGGING_RTC_EVENT_LOG_ENCODER_DELTA_ENCODING_H_
#include <stddef.h>
#include <stdint.h>
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -10,6 +10,7 @@
#include "logging/rtc_event_log/encoder/rtc_event_log_encoder_common.h" #include "logging/rtc_event_log/encoder/rtc_event_log_encoder_common.h"
#include <cstdint>
#include <limits> #include <limits>
#include <type_traits> #include <type_traits>
#include <vector> #include <vector>

View File

@ -10,6 +10,13 @@
#include "logging/rtc_event_log/encoder/rtc_event_log_encoder_legacy.h" #include "logging/rtc_event_log/encoder/rtc_event_log_encoder_legacy.h"
#include <string.h>
#include <vector>
#include "absl/types/optional.h"
#include "api/rtp_headers.h"
#include "api/rtpparameters.h"
#include "api/transport/network_types.h"
#include "logging/rtc_event_log/events/rtc_event_alr_state.h" #include "logging/rtc_event_log/events/rtc_event_alr_state.h"
#include "logging/rtc_event_log/events/rtc_event_audio_network_adaptation.h" #include "logging/rtc_event_log/events/rtc_event_audio_network_adaptation.h"
#include "logging/rtc_event_log/events/rtc_event_audio_playout.h" #include "logging/rtc_event_log/events/rtc_event_audio_playout.h"

View File

@ -11,6 +11,8 @@
#ifndef LOGGING_RTC_EVENT_LOG_ENCODER_VARINT_H_ #ifndef LOGGING_RTC_EVENT_LOG_ENCODER_VARINT_H_
#define LOGGING_RTC_EVENT_LOG_ENCODER_VARINT_H_ #define LOGGING_RTC_EVENT_LOG_ENCODER_VARINT_H_
#include <stddef.h>
#include <stdint.h>
#include <string> #include <string>
#include "absl/strings/string_view.h" #include "absl/strings/string_view.h"

Some files were not shown because too many files have changed in this diff Show More