Adding NOLINT for typedefs.h and common_types.h
Now that we have moved WebRTC from src/webrtc to src/, common_types.h and typedefs.h are triggering a cpplint error. The cpplint complaint is: Include the directory when naming .h files [build/include] [4] This CL disables the error but we have to remove these two headers from the root directory. NOPRESUBMIT=true Bug: webrtc:5876 Change-Id: I08e1b69aadcc4b28ab83bf25e3819d135d41d333 Reviewed-on: https://webrtc-review.googlesource.com/1577 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Henrik Kjellander <kjellander@google.com> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#19859}
This commit is contained in:
committed by
Commit Bot
parent
563934e726
commit
7120742701
@ -10,7 +10,7 @@
|
||||
|
||||
#include "api/audio_codecs/L16/audio_decoder_L16.h"
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.h"
|
||||
#include "modules/audio_coding/codecs/pcm16b/pcm16b_common.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "api/audio_codecs/L16/audio_encoder_L16.h"
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h"
|
||||
#include "modules/audio_coding/codecs/pcm16b/pcm16b_common.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
#include "api/optional.h"
|
||||
#include "rtc_base/buffer.h"
|
||||
#include "rtc_base/constructormagic.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
#include "api/optional.h"
|
||||
#include "rtc_base/buffer.h"
|
||||
#include "rtc_base/deprecation.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "api/audio_codecs/audio_format.h"
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/g711/audio_decoder_pcm.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
#include "rtc_base/safe_conversions.h"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/g711/audio_encoder_pcm.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
#include "rtc_base/safe_conversions.h"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/g722/audio_decoder_g722.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
#include "rtc_base/safe_conversions.h"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/g722/audio_encoder_g722.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
#include "rtc_base/safe_conversions.h"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
#include "rtc_base/safe_conversions.h"
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "api/audio_codecs/isac/audio_decoder_isac_fix.h"
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/isac/fix/include/audio_decoder_isacfix.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "api/audio_codecs/isac/audio_decoder_isac_float.h"
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/isac/main/include/audio_decoder_isac.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "api/audio_codecs/isac/audio_encoder_isac_fix.h"
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/isac/fix/include/audio_encoder_isacfix.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
#include "rtc_base/string_to_number.h"
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "api/audio_codecs/isac/audio_encoder_isac_float.h"
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/isac/main/include/audio_encoder_isac.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
#include "rtc_base/string_to_number.h"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/opus/audio_decoder_opus.h"
|
||||
#include "rtc_base/ptr_util.h"
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
#include "api/optional.h"
|
||||
#include "api/ortc/packettransportinterface.h"
|
||||
#include "api/rtcerror.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -16,9 +16,9 @@
|
||||
#include <vector>
|
||||
|
||||
#include "api/video/video_frame.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "common_video/include/video_frame.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -17,10 +17,10 @@
|
||||
|
||||
#include "api/optional.h"
|
||||
#include "api/video/video_frame.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "common_video/include/video_frame.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -22,9 +22,9 @@
|
||||
#include "api/rtpparameters.h"
|
||||
#include "api/rtpreceiverinterface.h"
|
||||
#include "call/rtp_config.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
class AudioSinkInterface;
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
#include "api/rtpparameters.h"
|
||||
#include "call/rtp_config.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
#include "call/rtp_transport_controller_send_interface.h"
|
||||
#include "call/video_receive_stream.h"
|
||||
#include "call/video_send_stream.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "rtc_base/networkroute.h"
|
||||
#include "rtc_base/platform_file.h"
|
||||
#include "rtc_base/socket.h"
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#define CALL_FAKE_RTP_TRANSPORT_CONTROLLER_SEND_H_
|
||||
|
||||
#include "call/rtp_transport_controller_send_interface.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/congestion_controller/include/send_side_congestion_controller.h"
|
||||
#include "modules/pacing/packet_router.h"
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#include "api/call/transport.h"
|
||||
#include "api/rtpparameters.h"
|
||||
#include "call/rtp_packet_sink_interface.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
#include "call/rtcp_packet_sink_interface.h"
|
||||
#include "call/rtp_rtcp_demuxer_helper.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "rtc_base/checks.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include <set>
|
||||
|
||||
#include "call/rtcp_packet_sink_interface.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/rtp_rtcp/source/rtcp_packet/bye.h"
|
||||
#include "rtc_base/arraysize.h"
|
||||
#include "rtc_base/basictypes.h"
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
#include "call/ssrc_binding_observer.h"
|
||||
#include "call/test/mock_rtp_packet_sink_interface.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/rtp_rtcp/include/rtp_header_extension_map.h"
|
||||
#include "modules/rtp_rtcp/source/rtp_header_extensions.h"
|
||||
#include "modules/rtp_rtcp/source/rtp_packet_received.h"
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#define CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_
|
||||
|
||||
#include "call/rtp_transport_controller_send_interface.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/congestion_controller/include/send_side_congestion_controller.h"
|
||||
#include "rtc_base/constructormagic.h"
|
||||
|
||||
|
||||
@ -15,11 +15,11 @@
|
||||
#include <vector>
|
||||
|
||||
#include "api/optional.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "rtc_base/basictypes.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#include "api/call/transport.h"
|
||||
#include "api/rtpparameters.h"
|
||||
#include "call/rtp_config.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "common_video/include/frame_callback.h"
|
||||
#include "media/base/videosinkinterface.h"
|
||||
#include "rtc_base/platform_file.h"
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
#include "api/rtpparameters.h"
|
||||
#include "call/rtp_config.h"
|
||||
#include "call/video_config.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "common_video/include/frame_callback.h"
|
||||
#include "media/base/videosinkinterface.h"
|
||||
#include "media/base/videosourceinterface.h"
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "common_audio/include/audio_util.h"
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#include "common_audio/include/audio_util.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace {
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "common_audio/resampler/sinc_resampler.h"
|
||||
#include "rtc_base/constructormagic.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace {
|
||||
|
||||
@ -94,7 +94,7 @@
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "system_wrappers/include/cpu_features_wrapper.h"
|
||||
#include "typedefs.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 "system_wrappers/include/aligned_malloc.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#ifndef COMMON_AUDIO_SIGNAL_PROCESSING_COMPLEX_FFT_TABLES_H_
|
||||
#define COMMON_AUDIO_SIGNAL_PROCESSING_COMPLEX_FFT_TABLES_H_
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
static const int16_t kSinTable1024[] = {
|
||||
0, 201, 402, 603, 804, 1005, 1206, 1406,
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@ -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"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// For ComplexFFT(), the maximum fft order is 10;
|
||||
// for OpenMax FFT in ARM, it is 12;
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include "common_audio/signal_processing/dot_product_with_scale.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Macros specific for the fixed point implementation
|
||||
#define WEBRTC_SPL_WORD16_MAX 32767
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#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"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace {
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#ifndef COMMON_AUDIO_SIGNAL_PROCESSING_RESAMPLE_BY_2_INTERNAL_H_
|
||||
#define COMMON_AUDIO_SIGNAL_PROCESSING_RESAMPLE_BY_2_INTERNAL_H_
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
/*******************************************************************
|
||||
* resample_by_2_fast.c
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "common_audio/vad/include/webrtc_vad.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
typedef struct WebRtcVadInst VadInst;
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
#include "common_audio/vad/vad_filterbank.h"
|
||||
#include "common_audio/vad/vad_gmm.h"
|
||||
#include "common_audio/vad/vad_sp.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Spectrum Weighting
|
||||
static const int16_t kSpectrumWeight[kNumChannels] = { 6, 8, 10, 12, 14, 16 };
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#define COMMON_AUDIO_VAD_VAD_CORE_H_
|
||||
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "typedefs.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,7 @@
|
||||
|
||||
#include "common_audio/vad/vad_unittest.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
extern "C" {
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "typedefs.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,7 @@
|
||||
#define COMMON_AUDIO_VAD_VAD_FILTERBANK_H_
|
||||
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
#include "typedefs.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,7 @@
|
||||
|
||||
#include "common_audio/vad/vad_unittest.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
extern "C" {
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#include "common_audio/vad/vad_gmm.h"
|
||||
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "typedefs.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"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Calculates the probability for |input|, given that |input| comes from a
|
||||
// normal distribution with mean and standard deviation (|mean|, |std|).
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "common_audio/vad/vad_unittest.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
extern "C" {
|
||||
#include "common_audio/vad/vad_gmm.h"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#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"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Allpass filter coefficients, upper and lower, in Q13.
|
||||
// Upper: 0.64, Lower: 0.17.
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
#define COMMON_AUDIO_VAD_VAD_SP_H_
|
||||
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Downsamples the signal by a factor 2, eg. 32->16 or 16->8.
|
||||
//
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
#include "common_audio/vad/vad_unittest.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
extern "C" {
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include "rtc_base/arraysize.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
VadTest::VadTest() {}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include <stddef.h> // size_t
|
||||
|
||||
#include "test/gtest.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace test {
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "common_audio/vad/vad_core.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
static const int kInitCheck = 42;
|
||||
static const int kValidRates[] = { 8000, 16000, 32000, 48000 };
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
|
||||
#include <string.h>
|
||||
#include <algorithm>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#include "api/video/video_timing.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/deprecation.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
// Disable "new behavior: elements of array will be default initialized"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#ifndef COMMON_VIDEO_INCLUDE_VIDEO_BITRATE_ALLOCATOR_H_
|
||||
#define COMMON_VIDEO_INCLUDE_VIDEO_BITRATE_ALLOCATOR_H_
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -16,8 +16,8 @@
|
||||
// to refactor and clean up related interfaces, at which point it
|
||||
// should be moved to somewhere under api/.
|
||||
|
||||
#include "common_types.h"
|
||||
#include "typedefs.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
#include <vector>
|
||||
|
||||
#include "api/video/video_frame.h"
|
||||
#include "common_types.h" // VideoTypes.
|
||||
#include "typedefs.h"
|
||||
#include "common_types.h" // NOLINT(build/include) // VideoTypes.
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "system_wrappers/include/file_wrapper.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
#ifdef ENABLE_RTC_EVENT_LOG
|
||||
// *.pb.h files are generated at build-time by the protobuf compiler.
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
// TODO(eladalon): Get rid of this later in the CL-stack.
|
||||
#include "api/rtpparameters.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
// TODO(eladalon): Get rid of this later in the CL-stack.
|
||||
#include "logging/rtc_event_log/rtc_stream_config.h"
|
||||
#include "rtc_base/platform_file.h"
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include <utility> // pair
|
||||
|
||||
#include "call/video_config.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "logging/rtc_event_log/rtc_event_log_parser.h"
|
||||
#include "modules/rtp_rtcp/source/rtcp_packet/bye.h"
|
||||
#include "modules/rtp_rtcp/source/rtcp_packet/common_header.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "api/rtpparameters.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace rtclog {
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "api/rtpparameters.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "media/base/mediaconstants.h"
|
||||
|
||||
namespace cricket {
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "api/optional.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace H264 {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#ifndef MEDIA_ENGINE_ADM_HELPERS_H_
|
||||
#define MEDIA_ENGINE_ADM_HELPERS_H_
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#include "media/engine/payload_type_mapper.h"
|
||||
|
||||
#include "api/audio_codecs/audio_format.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "media/base/mediaconstants.h"
|
||||
|
||||
namespace cricket {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#ifndef MEDIA_ENGINE_WEBRTCCOMMON_H_
|
||||
#define MEDIA_ENGINE_WEBRTCCOMMON_H_
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
|
||||
namespace cricket {
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#ifndef MEDIA_ENGINE_WEBRTCVIDEODECODERFACTORY_H_
|
||||
#define MEDIA_ENGINE_WEBRTCVIDEODECODERFACTORY_H_
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "media/base/codec.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "media/base/codec.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "media/engine/webrtccommon.h"
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_device/include/audio_device.h"
|
||||
#include "voice_engine/include/voe_base.h"
|
||||
#include "voice_engine/include/voe_codec.h"
|
||||
|
||||
@ -16,9 +16,9 @@
|
||||
#ifndef MODULES_AUDIO_CODING_ACM2_ACM_CODEC_DATABASE_H_
|
||||
#define MODULES_AUDIO_CODING_ACM2_ACM_CODEC_DATABASE_H_
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/acm2/rent_a_codec.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
#include "api/audio_codecs/audio_decoder.h"
|
||||
#include "common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/acm2/acm_resampler.h"
|
||||
#include "modules/audio_coding/acm2/call_statistics.h"
|
||||
#include "modules/audio_coding/acm2/rent_a_codec.h"
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include "modules/include/module_common_types.h"
|
||||
#include "rtc_base/criticalsection.h"
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#define MODULES_AUDIO_CODING_ACM2_ACM_RESAMPLER_H_
|
||||
|
||||
#include "common_audio/resampler/include/push_resampler.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace acm2 {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#ifndef MODULES_AUDIO_CODING_ACM2_CALL_STATISTICS_H_
|
||||
#define MODULES_AUDIO_CODING_ACM2_CALL_STATISTICS_H_
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/include/module_common_types.h"
|
||||
|
||||
//
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
//#include "rtc_base/format_macros.h"
|
||||
#include "modules/audio_coding/acm2/rent_a_codec.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
namespace acm2 {
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include <map>
|
||||
|
||||
#include "api/optional.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/acm2/rent_a_codec.h"
|
||||
#include "modules/audio_coding/include/audio_coding_module.h"
|
||||
#include "modules/audio_coding/include/audio_coding_module_typedefs.h"
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
#include "modules/audio_coding/neteq/neteq_decoder_enum.h"
|
||||
#include "rtc_base/constructormagic.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#define MODULES_AUDIO_CODING_CODECS_AUDIO_FORMAT_CONVERSION_H_
|
||||
|
||||
#include "api/audio_codecs/audio_format.h"
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
#include "api/array_view.h"
|
||||
#include "rtc_base/buffer.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
#define WEBRTC_CNG_MAX_LPC_ORDER 12
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/g711/g711_interface.h"
|
||||
#include "rtc_base/checks.h"
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "g711.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
/* Copied from the CCITT G.711 specification */
|
||||
static const uint8_t ulaw_to_alaw_table[256] = {
|
||||
|
||||
@ -49,7 +49,7 @@ specification by other means.
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
#if defined(__i386__)
|
||||
/*! \brief Find the bit position of the highest set bit in a word
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#include <string.h>
|
||||
#include "g711.h"
|
||||
#include "g711_interface.h"
|
||||
#include "typedefs.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"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
// Comfort noise constants
|
||||
#define G711_WEBRTC_SPEECH 1
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
#include <limits>
|
||||
#include "common_types.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/audio_coding/codecs/g722/g722_interface.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/safe_conversions.h"
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "g722_enc_dec.h"
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
#if !defined(FALSE)
|
||||
#define FALSE 0
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
#if !defined(_G722_ENC_DEC_H_)
|
||||
#define _G722_ENC_DEC_H_
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "typedefs.h" // NOLINT(build/include)
|
||||
|
||||
/*! \page g722_page G.722 encoding and decoding
|
||||
\section g722_page_sec_1 What does it do?
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user