mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
Delete root header file typedef.h.
Usage replaced with stdint.h, rtc_base/system/arch.h and rtc_base/system/unused.h, as appropriate. Bug: webrtc:6854 Change-Id: I97225465d14b969903d92979e2df3c3c05d35f18 Reviewed-on: https://webrtc-review.googlesource.com/90249 Reviewed-by: Niklas Enbom <niklas.enbom@webrtc.org> Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24100}
This commit is contained in:
parent
e41c433502
commit
a12c42a6b2
435 changed files with 203 additions and 540 deletions
11
BUILD.gn
11
BUILD.gn
|
@ -384,22 +384,11 @@ if (!build_with_chromium) {
|
|||
}
|
||||
}
|
||||
|
||||
rtc_source_set("typedefs") {
|
||||
sources = [
|
||||
"typedefs.h",
|
||||
]
|
||||
deps = [
|
||||
"rtc_base/system:arch",
|
||||
"rtc_base/system:unused",
|
||||
]
|
||||
}
|
||||
|
||||
rtc_source_set("webrtc_common") {
|
||||
sources = [
|
||||
"common_types.h",
|
||||
]
|
||||
deps = [
|
||||
":typedefs",
|
||||
"api:array_view",
|
||||
"api/video:video_bitrate_allocation",
|
||||
"rtc_base:checks",
|
||||
|
|
|
@ -111,7 +111,6 @@ rtc_static_library("libjingle_peerconnection_api") {
|
|||
# Basically, don't add stuff here. You might break sensitive downstream
|
||||
# targets like pnacl. API should not depend on anything outside of this
|
||||
# file, really. All these should arguably go away in time.
|
||||
"..:typedefs",
|
||||
"..:webrtc_common",
|
||||
"../logging:rtc_event_log_api",
|
||||
"../media:rtc_media_config",
|
||||
|
|
|
@ -16,7 +16,6 @@ rtc_source_set("audio_frame_api") {
|
|||
]
|
||||
|
||||
deps = [
|
||||
"../../:typedefs",
|
||||
"../../rtc_base:checks",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
]
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
#define API_AUDIO_AUDIO_FRAME_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "rtc_base/constructormagic.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ rtc_source_set("audio_codecs_api") {
|
|||
deps = [
|
||||
"..:array_view",
|
||||
"../..:webrtc_common",
|
||||
"../../:typedefs",
|
||||
"../../rtc_base:checks",
|
||||
"../../rtc_base:deprecation",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "api/array_view.h"
|
||||
#include "rtc_base/buffer.h"
|
||||
#include "rtc_base/constructormagic.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include "api/array_view.h"
|
||||
#include "rtc_base/buffer.h"
|
||||
#include "rtc_base/deprecation.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/deprecation.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -84,7 +84,6 @@ rtc_source_set("video_bitrate_allocation") {
|
|||
"video_bitrate_allocation.h",
|
||||
]
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../../rtc_base:checks",
|
||||
"../../rtc_base:safe_conversions",
|
||||
"../../rtc_base:stringutils",
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <vector>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ rtc_static_library("audio_frame_operations") {
|
|||
|
||||
deps = [
|
||||
"../..:webrtc_common",
|
||||
"../../:typedefs",
|
||||
"../../api/audio:audio_frame_api",
|
||||
"../../rtc_base:checks",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include <stddef.h>
|
||||
|
||||
#include "api/audio/audio_frame.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@ rtc_source_set("call_interfaces") {
|
|||
":rtp_interfaces",
|
||||
":video_stream_api",
|
||||
"..:webrtc_common",
|
||||
"../:typedefs",
|
||||
"../api:fec_controller_api",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:transport_api",
|
||||
|
@ -236,7 +235,6 @@ rtc_source_set("video_stream_api") {
|
|||
]
|
||||
deps = [
|
||||
":rtp_interfaces",
|
||||
"../:typedefs",
|
||||
"../:webrtc_common",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:transport_api",
|
||||
|
@ -258,7 +256,6 @@ rtc_source_set("fake_network") {
|
|||
]
|
||||
deps = [
|
||||
":call_interfaces",
|
||||
"..:typedefs",
|
||||
"..:webrtc_common",
|
||||
"../api:simulated_network_api",
|
||||
"../api:transport_api",
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "call/rtp_config.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
class AudioSinkInterface;
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "call/rtp_config.h"
|
||||
#include "modules/audio_processing/include/audio_processing_statistics.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include "rtc_base/criticalsection.h"
|
||||
#include "rtc_base/random.h"
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -55,12 +55,12 @@ rtc_static_library("common_audio") {
|
|||
":fft4g",
|
||||
":sinc_resampler",
|
||||
"..:webrtc_common",
|
||||
"../:typedefs",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:gtest_prod",
|
||||
"../rtc_base:rtc_base_approved",
|
||||
"../rtc_base/memory:aligned_array",
|
||||
"../rtc_base/memory:aligned_malloc",
|
||||
"../rtc_base/system:arch",
|
||||
"../system_wrappers",
|
||||
"../system_wrappers:cpu_features_api",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
|
@ -192,11 +192,11 @@ rtc_source_set("common_audio_c") {
|
|||
":common_audio_cc",
|
||||
":fft4g",
|
||||
"..:webrtc_common",
|
||||
"../:typedefs",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:compile_assert_c",
|
||||
"../rtc_base:rtc_base_approved",
|
||||
"../rtc_base:sanitizer",
|
||||
"../rtc_base/system:arch",
|
||||
"../system_wrappers",
|
||||
"../system_wrappers:cpu_features_api",
|
||||
]
|
||||
|
@ -218,7 +218,6 @@ rtc_source_set("common_audio_cc") {
|
|||
|
||||
deps = [
|
||||
"..:webrtc_common",
|
||||
"../:typedefs",
|
||||
"../rtc_base:rtc_base_approved",
|
||||
"../system_wrappers",
|
||||
]
|
||||
|
@ -230,10 +229,10 @@ rtc_source_set("sinc_resampler") {
|
|||
]
|
||||
deps = [
|
||||
"..:webrtc_common",
|
||||
"../:typedefs",
|
||||
"../rtc_base:gtest_prod",
|
||||
"../rtc_base:rtc_base_approved",
|
||||
"../rtc_base/memory:aligned_malloc",
|
||||
"../rtc_base/system:arch",
|
||||
"../system_wrappers",
|
||||
]
|
||||
}
|
||||
|
@ -257,6 +256,7 @@ rtc_source_set("fir_filter_factory") {
|
|||
":fir_filter",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:rtc_base_approved",
|
||||
"../rtc_base/system:arch",
|
||||
"../system_wrappers:cpu_features_api",
|
||||
]
|
||||
if (current_cpu == "x86" || current_cpu == "x64") {
|
||||
|
@ -353,6 +353,7 @@ if (rtc_build_with_neon) {
|
|||
":common_audio_c",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:rtc_base_approved",
|
||||
"../rtc_base/system:arch",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -404,10 +405,10 @@ if (rtc_include_tests) {
|
|||
":fir_filter_factory",
|
||||
":sinc_resampler",
|
||||
"..:webrtc_common",
|
||||
"../:typedefs",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:rtc_base_approved",
|
||||
"../rtc_base:rtc_base_tests_utils",
|
||||
"../rtc_base/system:arch",
|
||||
"../system_wrappers:cpu_features_api",
|
||||
"../test:fileutils",
|
||||
"../test:test_main",
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
|
||||
#include "common_audio/include/audio_util.h"
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
void FloatToS16(const float* src, size_t size, int16_t* dest) {
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "rtc_base/arraysize.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace {
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include "common_audio/fir_filter_c.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/system/arch.h"
|
||||
#include "system_wrappers/include/cpu_features_wrapper.h"
|
||||
|
||||
#if defined(WEBRTC_HAS_NEON)
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include <limits>
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -13,8 +13,6 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
class PushSincResampler;
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
#define COMMON_AUDIO_RESAMPLER_INCLUDE_RESAMPLER_H_
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include "common_audio/resampler/sinc_resampler.h"
|
||||
#include "rtc_base/constructormagic.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "rtc_base/timeutils.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace {
|
||||
|
|
|
@ -93,8 +93,8 @@
|
|||
#include <limits>
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/system/arch.h"
|
||||
#include "system_wrappers/include/cpu_features_wrapper.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include "rtc_base/constructormagic.h"
|
||||
#include "rtc_base/gtest_prod_util.h"
|
||||
#include "rtc_base/memory/aligned_malloc.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include "rtc_base/system/arch.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "common_audio/resampler/sinc_resampler.h"
|
||||
#include "common_audio/resampler/sinusoidal_linear_chirp_source.h"
|
||||
#include "rtc_base/stringize_macros.h"
|
||||
#include "rtc_base/system/arch.h"
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "system_wrappers/include/cpu_features_wrapper.h"
|
||||
#include "test/gmock.h"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include "common_audio/signal_processing/complex_fft_tables.h"
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "rtc_base/system/arch.h"
|
||||
|
||||
#define CFFTSFT 14
|
||||
#define CFFTRND 1
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef COMMON_AUDIO_SIGNAL_PROCESSING_COMPLEX_FFT_TABLES_H_
|
||||
#define COMMON_AUDIO_SIGNAL_PROCESSING_COMPLEX_FFT_TABLES_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
static const int16_t kSinTable1024[] = {
|
||||
0, 201, 402, 603, 804, 1005, 1206, 1406, 1607,
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
*/
|
||||
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "rtc_base/system/arch.h"
|
||||
|
||||
#include <arm_neon.h>
|
||||
|
||||
|
|
|
@ -11,10 +11,9 @@
|
|||
#ifndef COMMON_AUDIO_SIGNAL_PROCESSING_DOT_PRODUCT_WITH_SCALE_H_
|
||||
#define COMMON_AUDIO_SIGNAL_PROCESSING_DOT_PRODUCT_WITH_SCALE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef COMMON_AUDIO_SIGNAL_PROCESSING_INCLUDE_REAL_FFT_H_
|
||||
#define COMMON_AUDIO_SIGNAL_PROCESSING_INCLUDE_REAL_FFT_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
// For ComplexFFT(), the maximum fft order is 10;
|
||||
// WebRTC APM uses orders of only 7 and 8.
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
#include <string.h>
|
||||
#include "common_audio/signal_processing/dot_product_with_scale.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Macros specific for the fixed point implementation
|
||||
#define WEBRTC_SPL_WORD16_MAX 32767
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "common_audio/signal_processing/include/real_fft.h"
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#ifndef COMMON_AUDIO_SIGNAL_PROCESSING_RESAMPLE_BY_2_INTERNAL_H_
|
||||
#define COMMON_AUDIO_SIGNAL_PROCESSING_RESAMPLE_BY_2_INTERNAL_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
/*******************************************************************
|
||||
* resample_by_2_fast.c
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include "common_audio/vad/include/webrtc_vad.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -17,8 +17,7 @@
|
|||
#define COMMON_AUDIO_VAD_INCLUDE_WEBRTC_VAD_H_
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct WebRtcVadInst VadInst;
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "common_audio/vad/vad_filterbank.h"
|
||||
#include "common_audio/vad/vad_gmm.h"
|
||||
#include "common_audio/vad/vad_sp.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Spectrum Weighting
|
||||
static const int16_t kSpectrumWeight[kNumChannels] = { 6, 8, 10, 12, 14, 16 };
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#define COMMON_AUDIO_VAD_VAD_CORE_H_
|
||||
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
enum { kNumChannels = 6 }; // Number of frequency bands (named channels).
|
||||
enum { kNumGaussians = 2 }; // Number of Gaussians per channel in the GMM.
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include "common_audio/vad/vad_unittest.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
extern "C" {
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Constants used in LogOfEnergy().
|
||||
static const int16_t kLogConst = 24660; // 160*log10(2) in Q9.
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#define COMMON_AUDIO_VAD_VAD_FILTERBANK_H_
|
||||
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Takes |data_length| samples of |data_in| and calculates the logarithm of the
|
||||
// energy of each of the |kNumChannels| = 6 frequency bands used by the VAD:
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include "common_audio/vad/vad_unittest.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
extern "C" {
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "common_audio/vad/vad_gmm.h"
|
||||
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
static const int32_t kCompVar = 22005;
|
||||
static const int16_t kLog2Exp = 5909; // log2(exp(1)) in Q12.
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#ifndef COMMON_AUDIO_VAD_VAD_GMM_H_
|
||||
#define COMMON_AUDIO_VAD_VAD_GMM_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
// Calculates the probability for |input|, given that |input| comes from a
|
||||
// normal distribution with mean and standard deviation (|mean|, |std|).
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
#include "common_audio/vad/vad_unittest.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
extern "C" {
|
||||
#include "common_audio/vad/vad_gmm.h"
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "rtc_base/checks.h"
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Allpass filter coefficients, upper and lower, in Q13.
|
||||
// Upper: 0.64, Lower: 0.17.
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#define COMMON_AUDIO_VAD_VAD_SP_H_
|
||||
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Downsamples the signal by a factor 2, eg. 32->16 or 16->8.
|
||||
//
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include "common_audio/vad/vad_unittest.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
extern "C" {
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "rtc_base/arraysize.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
VadTest::VadTest() {}
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include <stddef.h> // size_t
|
||||
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace test {
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
static const int kInitCheck = 42;
|
||||
static const int kValidRates[] = { 8000, 16000, 32000, 48000 };
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/numerics/safe_conversions.h"
|
||||
#include "rtc_base/system/arch.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include "common_audio/include/audio_util.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/system/arch.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace {
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "api/video/video_bitrate_allocation.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/deprecation.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
// Disable "new behavior: elements of array will be default initialized"
|
||||
|
|
|
@ -43,7 +43,6 @@ rtc_static_library("common_video") {
|
|||
|
||||
deps = [
|
||||
"..:webrtc_common",
|
||||
"../:typedefs",
|
||||
"../api/video:video_bitrate_allocation",
|
||||
"../api/video:video_bitrate_allocator",
|
||||
"../api/video:video_frame",
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "api/video/video_rotation.h"
|
||||
#include "api/video/video_timing.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
#include "api/video/video_frame.h"
|
||||
#include "common_types.h" // NOLINT(build/include) // VideoTypes.
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -66,7 +66,6 @@ rtc_source_set("rtc_event_pacing") {
|
|||
|
||||
deps = [
|
||||
":rtc_event_log_api",
|
||||
"../:typedefs",
|
||||
"../rtc_base:ptr_util",
|
||||
"//third_party/abseil-cpp/absl/memory",
|
||||
]
|
||||
|
|
|
@ -36,7 +36,6 @@ rtc_source_set("module_api_public") {
|
|||
]
|
||||
deps = [
|
||||
"..:webrtc_common",
|
||||
"../:typedefs",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
@ -51,7 +50,6 @@ rtc_source_set("module_api") {
|
|||
":module_api_public",
|
||||
":module_fec_api",
|
||||
"..:webrtc_common",
|
||||
"../:typedefs",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api/transport:network_control",
|
||||
"../api/video:video_frame",
|
||||
|
|
|
@ -66,7 +66,6 @@ rtc_static_library("rent_a_codec") {
|
|||
"acm2/rent_a_codec.h",
|
||||
]
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../../rtc_base:checks",
|
||||
"../../api:array_view",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
|
@ -89,7 +88,6 @@ rtc_source_set("audio_coding_module_typedefs") {
|
|||
"include/audio_coding_module_typedefs.h",
|
||||
]
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
]
|
||||
}
|
||||
|
@ -122,7 +120,6 @@ rtc_static_library("audio_coding") {
|
|||
"../../api/audio:audio_frame_api",
|
||||
"..:module_api",
|
||||
"../../common_audio:common_audio_c",
|
||||
"../..:typedefs",
|
||||
"../../rtc_base:deprecation",
|
||||
"../../rtc_base:checks",
|
||||
"../../system_wrappers:metrics_api",
|
||||
|
@ -161,7 +158,6 @@ rtc_static_library("cng") {
|
|||
]
|
||||
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api:array_view",
|
||||
"../../api/audio_codecs:audio_codecs_api",
|
||||
|
@ -215,7 +211,6 @@ rtc_source_set("g711_c") {
|
|||
"codecs/g711/g711_interface.h",
|
||||
]
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../third_party/g711:g711_3p",
|
||||
]
|
||||
|
@ -251,7 +246,6 @@ rtc_source_set("g722_c") {
|
|||
"codecs/g722/g722_interface.h",
|
||||
]
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../third_party/g722:g722_3p",
|
||||
]
|
||||
|
@ -426,7 +420,6 @@ rtc_source_set("ilbc_c") {
|
|||
]
|
||||
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api/audio_codecs:audio_codecs_api",
|
||||
"../../common_audio",
|
||||
|
@ -434,6 +427,8 @@ rtc_source_set("ilbc_c") {
|
|||
"../../rtc_base:checks",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
"../../rtc_base:sanitizer",
|
||||
"../../rtc_base/system:arch",
|
||||
"../../rtc_base/system:unused",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -449,7 +444,6 @@ rtc_static_library("isac_common") {
|
|||
]
|
||||
deps = [
|
||||
":isac_bwinfo",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api/audio_codecs:audio_codecs_api",
|
||||
"../../rtc_base:checks",
|
||||
|
@ -481,9 +475,7 @@ rtc_source_set("isac_bwinfo") {
|
|||
sources = [
|
||||
"codecs/isac/bandwidth_info.h",
|
||||
]
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
]
|
||||
deps = []
|
||||
}
|
||||
|
||||
rtc_source_set("isac_vad") {
|
||||
|
@ -503,8 +495,8 @@ rtc_source_set("isac_vad") {
|
|||
]
|
||||
deps = [
|
||||
":isac_bwinfo",
|
||||
"../..:typedefs",
|
||||
"../../rtc_base:compile_assert_c",
|
||||
"../../rtc_base/system:arch",
|
||||
"../../rtc_base/system:ignore_warnings",
|
||||
]
|
||||
}
|
||||
|
@ -560,13 +552,13 @@ rtc_static_library("isac_c") {
|
|||
deps = [
|
||||
":isac_bwinfo",
|
||||
":isac_vad",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../common_audio",
|
||||
"../../common_audio:common_audio_c",
|
||||
"../../rtc_base:checks",
|
||||
"../../rtc_base:compile_assert_c",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
"../../rtc_base/system:arch",
|
||||
"../third_party/fft:fft",
|
||||
]
|
||||
}
|
||||
|
@ -608,7 +600,6 @@ rtc_source_set("isac_fix_common") {
|
|||
]
|
||||
deps = [
|
||||
":isac_bwinfo",
|
||||
"../..:typedefs",
|
||||
"../../common_audio",
|
||||
"../../common_audio:common_audio_c",
|
||||
]
|
||||
|
@ -676,7 +667,6 @@ rtc_source_set("isac_fix_c") {
|
|||
deps = [
|
||||
":isac_bwinfo",
|
||||
":isac_common",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api/audio_codecs:audio_codecs_api",
|
||||
"../../common_audio",
|
||||
|
@ -800,7 +790,6 @@ rtc_source_set("pcm16b_c") {
|
|||
]
|
||||
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
]
|
||||
}
|
||||
|
@ -862,7 +851,6 @@ rtc_source_set("webrtc_opus_c") {
|
|||
}
|
||||
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../rtc_base:checks",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
|
@ -1050,7 +1038,6 @@ rtc_static_library("neteq") {
|
|||
":cng",
|
||||
":neteq_decoder_enum",
|
||||
"..:module_api",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api:libjingle_peerconnection_api",
|
||||
"../../api/audio:audio_frame_api",
|
||||
|
@ -1093,7 +1080,6 @@ rtc_source_set("neteq_tools_minimal") {
|
|||
|
||||
deps = [
|
||||
":neteq",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api:libjingle_peerconnection_api",
|
||||
"../../api/audio:audio_frame_api",
|
||||
|
@ -1132,7 +1118,6 @@ rtc_source_set("neteq_test_tools") {
|
|||
|
||||
deps = [
|
||||
":pcm16b",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api:array_view",
|
||||
"../../api:libjingle_peerconnection_api",
|
||||
|
@ -1141,6 +1126,7 @@ rtc_source_set("neteq_test_tools") {
|
|||
"../../rtc_base:rtc_base",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
"../../rtc_base:rtc_base_tests_utils",
|
||||
"../../rtc_base/system:arch",
|
||||
"../../test:rtp_test_utils",
|
||||
"../rtp_rtcp",
|
||||
"../rtp_rtcp:rtp_rtcp_format",
|
||||
|
@ -1180,7 +1166,6 @@ rtc_source_set("neteq_tools") {
|
|||
|
||||
deps = [
|
||||
"..:module_api",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api:array_view",
|
||||
"../../api/audio_codecs:audio_codecs_api",
|
||||
|
@ -1207,7 +1192,6 @@ rtc_source_set("neteq_input_audio_tools") {
|
|||
]
|
||||
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../common_audio",
|
||||
"../../rtc_base:checks",
|
||||
|
@ -1333,7 +1317,6 @@ if (rtc_include_tests) {
|
|||
":audio_format_conversion",
|
||||
":pcm16b_c",
|
||||
"..:module_api",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api/audio:audio_frame_api",
|
||||
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
||||
|
@ -1363,7 +1346,6 @@ if (rtc_include_tests) {
|
|||
deps = [
|
||||
":neteq_test_support",
|
||||
":neteq_test_tools",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api/audio_codecs/opus:audio_encoder_opus",
|
||||
"../../rtc_base:protobuf_utils",
|
||||
|
@ -1442,7 +1424,6 @@ if (rtc_include_tests) {
|
|||
":audio_coding_module_typedefs",
|
||||
":audio_format_conversion",
|
||||
"..:module_api",
|
||||
"../..:typedefs",
|
||||
"../../:webrtc_common",
|
||||
"../../api/audio:audio_frame_api",
|
||||
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
||||
|
@ -1490,6 +1471,7 @@ if (rtc_include_tests) {
|
|||
"../../api/audio_codecs/opus:audio_encoder_opus",
|
||||
"../../common_audio",
|
||||
"../../rtc_base:protobuf_utils",
|
||||
"../../rtc_base/system:arch",
|
||||
"../../test:test_main",
|
||||
"//testing/gtest",
|
||||
] + audio_coding_deps
|
||||
|
@ -1517,7 +1499,6 @@ if (rtc_include_tests) {
|
|||
testonly = true
|
||||
defines = []
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../../rtc_base:checks",
|
||||
"../../test:fileutils",
|
||||
]
|
||||
|
@ -1561,7 +1542,6 @@ if (rtc_include_tests) {
|
|||
testonly = true
|
||||
defines = []
|
||||
deps = [
|
||||
"../..:typedefs",
|
||||
"../../test:fileutils",
|
||||
]
|
||||
sources = [
|
||||
|
@ -1620,7 +1600,6 @@ if (rtc_include_tests) {
|
|||
":neteq",
|
||||
":neteq_test_tools",
|
||||
":pcm16b",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api/audio:audio_frame_api",
|
||||
"../../api/audio_codecs:audio_codecs_api",
|
||||
|
@ -1649,7 +1628,6 @@ if (rtc_include_tests) {
|
|||
deps = [
|
||||
":neteq",
|
||||
":neteq_test_tools",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
||||
"../../rtc_base:checks",
|
||||
|
@ -1665,7 +1643,6 @@ if (rtc_include_tests) {
|
|||
|
||||
deps = audio_coding_deps + [
|
||||
"//third_party/abseil-cpp/absl/memory",
|
||||
"../..:typedefs",
|
||||
":audio_coding",
|
||||
":neteq_input_audio_tools",
|
||||
"../../api/audio:audio_frame_api",
|
||||
|
@ -1690,7 +1667,6 @@ if (rtc_include_tests) {
|
|||
testonly = true
|
||||
|
||||
deps = audio_coding_deps + [
|
||||
"../..:typedefs",
|
||||
"../../system_wrappers:system_wrappers_default",
|
||||
"../rtp_rtcp:rtp_rtcp_format",
|
||||
"../../api:array_view",
|
||||
|
@ -1765,7 +1741,6 @@ if (rtc_include_tests) {
|
|||
deps = [
|
||||
":neteq",
|
||||
":neteq_test_support",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
"../../system_wrappers:system_wrappers_default",
|
||||
|
@ -1912,7 +1887,6 @@ if (rtc_include_tests) {
|
|||
|
||||
deps = [
|
||||
":g722",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
]
|
||||
}
|
||||
|
@ -2080,7 +2054,6 @@ if (rtc_include_tests) {
|
|||
":rent_a_codec",
|
||||
":webrtc_opus",
|
||||
"..:module_api",
|
||||
"../..:typedefs",
|
||||
"../..:webrtc_common",
|
||||
"../../api/audio:audio_frame_api",
|
||||
"../../api/audio_codecs:audio_codecs_api",
|
||||
|
@ -2100,6 +2073,7 @@ if (rtc_include_tests) {
|
|||
"../../rtc_base:rtc_base_approved",
|
||||
"../../rtc_base:rtc_base_tests_utils",
|
||||
"../../rtc_base:sanitizer",
|
||||
"../../rtc_base/system:arch",
|
||||
"../../system_wrappers",
|
||||
"../../system_wrappers:cpu_features_api",
|
||||
"../../test:audio_codec_mocks",
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/acm2/rent_a_codec.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include "modules/audio_coding/neteq/include/neteq.h"
|
||||
#include "rtc_base/criticalsection.h"
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#define MODULES_AUDIO_CODING_ACM2_ACM_RESAMPLER_H_
|
||||
|
||||
#include "common_audio/resampler/include/push_resampler.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace acm2 {
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include "rtc_base/numerics/safe_conversions.h"
|
||||
#include "rtc_base/platform_thread.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/system/arch.h"
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
#include "system_wrappers/include/clock.h"
|
||||
#include "system_wrappers/include/event_wrapper.h"
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
//#include "rtc_base/format_macros.h"
|
||||
#include "modules/audio_coding/acm2/rent_a_codec.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace acm2 {
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "modules/audio_coding/neteq/neteq_decoder_enum.h"
|
||||
#include "rtc_base/constructormagic.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include "api/array_view.h"
|
||||
#include "rtc_base/buffer.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
#define WEBRTC_CNG_MAX_LPC_ORDER 12
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include "modules/third_party/g711/g711.h"
|
||||
#include "modules/audio_coding/codecs/g711/g711_interface.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
size_t WebRtcG711_EncodeA(const int16_t* speechIn,
|
||||
size_t len,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_G711_G711_INTERFACE_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_G711_G711_INTERFACE_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
// Comfort noise constants
|
||||
#define G711_WEBRTC_SPEECH 1
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
#include "modules/audio_coding/codecs/g722/g722_interface.h"
|
||||
#include "modules/third_party/g722/g722_enc_dec.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
int16_t WebRtcG722_CreateEncoder(G722EncInst **G722enc_inst)
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_G722_G722_INTERFACE_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_G722_G722_INTERFACE_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
* Solution to support multiple instances
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
/* include API */
|
||||
#include "modules/audio_coding/codecs/g722/g722_interface.h"
|
||||
|
|
|
@ -20,7 +20,10 @@
|
|||
#define MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_CB_CONSTRUCT_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "modules/audio_coding/codecs/ilbc/defines.h"
|
||||
#include "rtc_base/system/unused.h"
|
||||
|
||||
/*----------------------------------------------------------------*
|
||||
* Construct decoded vector from codebook and gains.
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#define MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_CONSTANTS_H_
|
||||
|
||||
#include "modules/audio_coding/codecs/ilbc/defines.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
/* high pass filters */
|
||||
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
|
||||
******************************************************************/
|
||||
|
||||
// Defines WEBRTC_ARCH_BIG_ENDIAN, used below.
|
||||
#include "rtc_base/system/arch.h"
|
||||
|
||||
#include "modules/audio_coding/codecs/ilbc/defines.h"
|
||||
#include "modules/audio_coding/codecs/ilbc/simple_lsf_dequant.h"
|
||||
#include "modules/audio_coding/codecs/ilbc/decoder_interpolate_lsf.h"
|
||||
|
|
|
@ -19,7 +19,10 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_DECODE_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_DECODE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "modules/audio_coding/codecs/ilbc/defines.h"
|
||||
#include "rtc_base/system/unused.h"
|
||||
|
||||
/*----------------------------------------------------------------*
|
||||
* main decoder function
|
||||
|
|
|
@ -20,7 +20,10 @@
|
|||
#define MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_DECODE_RESIDUAL_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "modules/audio_coding/codecs/ilbc/defines.h"
|
||||
#include "rtc_base/system/unused.h"
|
||||
|
||||
/*----------------------------------------------------------------*
|
||||
* frame residual decoder function (subrutine to iLBC_decode)
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
/* general codec settings */
|
||||
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
// Defines WEBRTC_ARCH_BIG_ENDIAN, used below.
|
||||
#include "rtc_base/system/arch.h"
|
||||
|
||||
#include "modules/audio_coding/codecs/ilbc/defines.h"
|
||||
#include "modules/audio_coding/codecs/ilbc/lpc_encode.h"
|
||||
#include "modules/audio_coding/codecs/ilbc/frame_classify.h"
|
||||
|
|
|
@ -20,8 +20,11 @@
|
|||
#define MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_GET_CD_VEC_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "modules/audio_coding/codecs/ilbc/defines.h"
|
||||
#include "rtc_base/system/unused.h"
|
||||
|
||||
// Returns true on success, false on failure. In case of failure, the decoder
|
||||
// state may be corrupted and needs resetting.
|
||||
|
|
|
@ -19,12 +19,7 @@
|
|||
#define MODULES_AUDIO_CODING_CODECS_ILBC_ILBC_H_
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
/*
|
||||
* Define the fixpoint numeric formats
|
||||
*/
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
* Solution to support multiple instances
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_VQ3_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_VQ3_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
/*----------------------------------------------------------------*
|
||||
* Vector quantization of order 3 (based on MSE)
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_VQ4_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_VQ4_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
/*----------------------------------------------------------------*
|
||||
* Vector quantization of order 4 (based on MSE)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_ISAC_BANDWIDTH_INFO_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_ISAC_BANDWIDTH_INFO_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
int in_use;
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include <stddef.h>
|
||||
|
||||
#include "modules/audio_coding/codecs/isac/bandwidth_info.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
typedef struct { void* dummy; } ISACFIX_MainStruct;
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FILTERBANK_INTERNAL_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FILTERBANK_INTERNAL_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
extern "C" {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FILTERBANK_TABLES_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FILTERBANK_TABLES_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
extern "C" {
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "rtc_base/sanitizer.h"
|
||||
#include "system_wrappers/include/cpu_features_wrapper.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
class FilterBanksTest : public testing::Test {
|
||||
protected:
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "modules/audio_coding/codecs/isac/fix/source/codec.h"
|
||||
#include "system_wrappers/include/cpu_features_wrapper.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
class FiltersTest : public testing::Test {
|
||||
protected:
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "modules/audio_coding/codecs/isac/fix/source/settings.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
/* Filter ar_g_Q0[] and ar_f_Q0[] through an AR filter with coefficients
|
||||
* cth_Q15[] and sth_Q15[].
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include <stddef.h>
|
||||
|
||||
#include "modules/audio_coding/codecs/isac/fix/source/settings.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Filter ar_g_Q0[] and ar_f_Q0[] through an AR filter with coefficients
|
||||
// cth_Q15[] and sth_Q15[].
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "modules/audio_coding/codecs/isac/fix/source/lpc_masking_model.h"
|
||||
#include "system_wrappers/include/cpu_features_wrapper.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
class LpcMaskingModelTest : public testing::Test {
|
||||
protected:
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_LPC_TABLES_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_LPC_TABLES_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
/* indices of KLT coefficients used */
|
||||
extern const uint16_t WebRtcIsacfix_kSelIndGain[12];
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_GAIN_TABLES_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_GAIN_TABLES_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
/********************* Pitch Filter Gain Coefficient Tables
|
||||
* ************************/
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_LAG_TABLES_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_LAG_TABLES_H_
|
||||
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
#include <stdint.h>
|
||||
|
||||
/********************* Pitch Filter Lag Coefficient Tables
|
||||
* ************************/
|
||||
|
|
|
@ -19,8 +19,9 @@
|
|||
#ifndef MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_SPECTRUM_AR_MODEL_TABLES_H_
|
||||
#define MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_SPECTRUM_AR_MODEL_TABLES_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "modules/audio_coding/codecs/isac/fix/source/settings.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
/********************* AR Coefficient Tables ************************/
|
||||
/* cdf for quantized reflection coefficient 1 */
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "modules/audio_coding/codecs/isac/bandwidth_info.h"
|
||||
#include "modules/audio_coding/codecs/isac/fix/source/settings.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
/* Bitstream struct for decoder */
|
||||
typedef struct Bitstreamstruct_dec {
|
||||
|
|
|
@ -13,8 +13,9 @@
|
|||
* transform functions WebRtcIsacfix_Time2Spec and WebRtcIsacfix_Spec2Time.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "modules/audio_coding/codecs/isac/fix/source/settings.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
/* Cosine table 1 in Q14. */
|
||||
const int16_t WebRtcIsacfix_kCosTab1[FRAMESAMPLES/2] = {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue