Revert 7041 " Audio codecs to include webrtc/typedefs.h"

Breaks gn build, see e.g. http://chromegw.corp.google.com/i/chromium.webrtc.fyi/builders/Linux%20GN/builds/1248/steps/compile/logs/stdio

R=turaj@webrtc.org
TBR=andresp@webrtc.org
BUG=N/A

Review URL: https://webrtc-codereview.appspot.com/19219004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7046 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrike@webrtc.org 2014-09-03 19:42:16 +00:00
parent fa4535b270
commit 1b8b4c4959
42 changed files with 61 additions and 53 deletions

View File

@ -11,7 +11,7 @@
#include "cng_helpfuns.h"
#include "signal_processing_library.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
#include "webrtc_cng.h"
/* Values in |k| are Q15, and |a| Q12. */

View File

@ -10,7 +10,7 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_CNG_CNG_HELPFUNS_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_CNG_CNG_HELPFUNS_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
#ifdef __cplusplus
extern "C" {

View File

@ -12,7 +12,7 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_CNG_MAIN_INTERFACE_WEBRTC_CNG_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_CNG_MAIN_INTERFACE_WEBRTC_CNG_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
#ifdef __cplusplus
extern "C" {

View File

@ -21,7 +21,7 @@
*/
#include "g711.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
/* Copied from the CCITT G.711 specification */
static const uint8_t ulaw_to_alaw_table[256] = {

View File

@ -49,7 +49,7 @@ specification by other means.
extern "C" {
#endif
#include "webrtc/typedefs.h"
#include "typedefs.h"
#if defined(__i386__)
/*! \brief Find the bit position of the highest set bit in a word

View File

@ -10,7 +10,7 @@
#include <string.h>
#include "g711.h"
#include "g711_interface.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
int16_t WebRtcG711_EncodeA(void* state,
int16_t* speechIn,

View File

@ -11,7 +11,7 @@
#ifndef MODULES_AUDIO_CODING_CODECS_G711_MAIN_INTERFACE_G711_INTERFACE_H_
#define MODULES_AUDIO_CODING_CODECS_G711_MAIN_INTERFACE_G711_INTERFACE_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
// Comfort noise constants
#define G711_WEBRTC_SPEECH 1

View File

@ -34,12 +34,13 @@
#include <config.h>
#endif
#include <memory.h>
#include <stdio.h>
#include <memory.h>
#include <stdlib.h>
#include "typedefs.h"
#include "g722_enc_dec.h"
#include "webrtc/typedefs.h"
#if !defined(FALSE)
#define FALSE 0

View File

@ -31,8 +31,6 @@
#if !defined(_G722_ENC_DEC_H_)
#define _G722_ENC_DEC_H_
#include "webrtc/typedefs.h"
/*! \page g722_page G.722 encoding and decoding
\section g722_page_sec_1 What does it do?
The G.722 module is a bit exact implementation of the ITU G.722 specification for all three

View File

@ -34,12 +34,12 @@
#include <config.h>
#endif
#include <memory.h>
#include <stdio.h>
#include <memory.h>
#include <stdlib.h>
#include "typedefs.h"
#include "g722_enc_dec.h"
#include "webrtc/typedefs.h"
#if !defined(FALSE)
#define FALSE 0

View File

@ -12,9 +12,10 @@
#include <stdlib.h>
#include <string.h>
#include "g722_enc_dec.h"
#include "g722_interface.h"
#include "webrtc/typedefs.h"
#include "g722_enc_dec.h"
#include "typedefs.h"
int16_t WebRtcG722_CreateEncoder(G722EncInst **G722enc_inst)
{

View File

@ -11,7 +11,7 @@
#ifndef MODULES_AUDIO_CODING_CODECS_G722_MAIN_INTERFACE_G722_INTERFACE_H_
#define MODULES_AUDIO_CODING_CODECS_G722_MAIN_INTERFACE_G722_INTERFACE_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
/*
* Solution to support multiple instances

View File

@ -15,7 +15,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "webrtc/typedefs.h"
#include "typedefs.h"
/* include API */
#include "g722_interface.h"

View File

@ -20,7 +20,7 @@
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_CONSTANTS_H_
#include "defines.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
/* high pass filters */

View File

@ -18,9 +18,9 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_DEFINES_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_DEFINES_H_
#include <string.h>
#include "typedefs.h"
#include "signal_processing_library.h"
#include "webrtc/typedefs.h"
#include <string.h>
/* general codec settings */

View File

@ -22,7 +22,7 @@
* Define the fixpoint numeric formats
*/
#include "webrtc/typedefs.h"
#include "typedefs.h"
/*
* Solution to support multiple instances

View File

@ -19,7 +19,7 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_VQ3_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_VQ3_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
/*----------------------------------------------------------------*
* Vector quantization of order 3 (based on MSE)

View File

@ -19,7 +19,7 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_VQ4_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_VQ4_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
/*----------------------------------------------------------------*
* Vector quantization of order 4 (based on MSE)

View File

@ -14,7 +14,8 @@
/*
* Define the fixpoint numeric formats
*/
#include "webrtc/typedefs.h"
#include "typedefs.h"
typedef struct {
void *dummy;

View File

@ -11,7 +11,7 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FILTERBANK_INTERNAL_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FILTERBANK_INTERNAL_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {

View File

@ -19,7 +19,7 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FILTERBANK_TABLES_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FILTERBANK_TABLES_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {

View File

@ -16,7 +16,7 @@
#include "settings.h"
#include "signal_processing_library.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
/* Filter ar_g_Q0[] and ar_f_Q0[] through an AR filter with coefficients
* cth_Q15[] and sth_Q15[].

View File

@ -18,7 +18,8 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_LPC_TABLES_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_LPC_TABLES_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
/* indices of KLT coefficients used */
extern const uint16_t WebRtcIsacfix_kSelIndGain[12];

View File

@ -18,7 +18,8 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_GAIN_TABLES_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_GAIN_TABLES_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
/********************* Pitch Filter Gain Coefficient Tables ************************/
/* cdf for quantized pitch filter gains */

View File

@ -18,7 +18,9 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_LAG_TABLES_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_LAG_TABLES_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
/********************* Pitch Filter Lag Coefficient Tables ************************/

View File

@ -19,8 +19,9 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_SPECTRUM_AR_MODEL_TABLES_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_SPECTRUM_AR_MODEL_TABLES_H_
#include "typedefs.h"
#include "settings.h"
#include "webrtc/typedefs.h"
/********************* AR Coefficient Tables ************************/
/* cdf for quantized reflection coefficient 1 */

View File

@ -21,7 +21,7 @@
#include "common_audio/signal_processing/include/signal_processing_library.h"
#include "modules/audio_coding/codecs/isac/fix/source/settings.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
/* Bitstream struct for decoder */
typedef struct Bitstreamstruct_dec {

View File

@ -18,7 +18,7 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_CRC_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_CRC_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
/****************************************************************************
* WebRtcIsac_GetCrc(...)

View File

@ -17,16 +17,16 @@
*/
#include "encode_lpc_swb.h"
#include "typedefs.h"
#include "settings.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "lpc_gain_swb_tables.h"
#include "lpc_shape_swb12_tables.h"
#include "lpc_shape_swb16_tables.h"
#include "settings.h"
#include "webrtc/typedefs.h"
#include "lpc_gain_swb_tables.h"
#include <stdio.h>
#include <string.h>
#include <math.h>
/******************************************************************************
* WebRtcIsac_RemoveLarMean()

View File

@ -19,9 +19,10 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_ENCODE_LPC_SWB_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_ENCODE_LPC_SWB_H_
#include "typedefs.h"
#include "settings.h"
#include "structs.h"
#include "webrtc/typedefs.h"
/******************************************************************************
* WebRtcIsac_RemoveLarMean()

View File

@ -18,7 +18,7 @@
#include "lpc_gain_swb_tables.h"
#include "settings.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
const double WebRtcIsac_kQSizeLpcGain = 0.100000;

View File

@ -20,7 +20,7 @@
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_GAIN_SWB_TABLES_H_
#include "settings.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
extern const double WebRtcIsac_kQSizeLpcGain;

View File

@ -18,7 +18,7 @@
#include "lpc_shape_swb12_tables.h"
#include "settings.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
/*
* Mean value of LAR

View File

@ -20,7 +20,7 @@
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_SHAPE_SWB12_TABLES_H_
#include "settings.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
extern const double WebRtcIsac_kMeanLarUb12[UB_LPC_ORDER];

View File

@ -18,7 +18,7 @@
#include "lpc_shape_swb16_tables.h"
#include "settings.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
/*
* Mean value of LAR

View File

@ -20,7 +20,8 @@
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_SHAPE_SWB16_TABLES_H_
#include "settings.h"
#include "webrtc/typedefs.h"
#include "typedefs.h"
extern const double WebRtcIsac_kMeanLarUb16[UB_LPC_ORDER];

View File

@ -13,7 +13,7 @@
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_OS_SPECIFIC_INLINE_H_
#include <math.h>
#include "webrtc/typedefs.h"
#include "typedefs.h"
#if defined(WEBRTC_POSIX)
#define WebRtcIsac_lrint lrint

View File

@ -18,7 +18,7 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_PITCH_GAIN_TABLES_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_PITCH_GAIN_TABLES_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
/* header file for coding tables for the pitch filter side-info in the entropy coder */
/********************* Pitch Filter Gain Coefficient Tables ************************/

View File

@ -18,7 +18,7 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_PITCH_LAG_TABLES_H_
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_PITCH_LAG_TABLES_H_
#include "webrtc/typedefs.h"
#include "typedefs.h"
/* header file for coding tables for the pitch filter side-info in the entropy coder */
/********************* Pitch Filter Lag Coefficient Tables ************************/

View File

@ -14,7 +14,7 @@
* Define the fixpoint numeric formats
*/
#include "webrtc/typedefs.h"
#include "typedefs.h"
#ifdef __cplusplus
extern "C" {

View File

@ -16,7 +16,7 @@
#include <string.h>
#endif
#include "webrtc/typedefs.h"
#include "typedefs.h"
#define HIGHEND 0xFF00
#define LOWEND 0xFF

View File

@ -11,7 +11,7 @@
#ifndef TIMED_TRACE_H
#define TIMED_TRACE_H
#include "webrtc/typedefs.h"
#include "typedefs.h"
#include <stdio.h>
#include <stdlib.h>