No longer need to #include "common.h"

This commit is contained in:
Jean-Marc Valin 2023-06-27 17:13:06 -04:00
parent f94bd54302
commit f9f35904f4
No known key found for this signature in database
GPG key ID: 531A52533318F00A
9 changed files with 1 additions and 9 deletions

View file

@ -8,8 +8,6 @@
#include <math.h> #include <math.h>
#include "opus_defines.h" #include "opus_defines.h"
float lpc_from_cepstrum(float *lpc, const float *cepstrum);
#define LOG256 5.5451774445f #define LOG256 5.5451774445f
static OPUS_INLINE float log2_approx(float x) static OPUS_INLINE float log2_approx(float x)
{ {

View file

@ -29,7 +29,6 @@
#include "config.h" #include "config.h"
#endif #endif
#include "common.h"
#include "dred_rdovae_dec.h" #include "dred_rdovae_dec.h"
#include "dred_rdovae_constants.h" #include "dred_rdovae_constants.h"
#include "os_support.h" #include "os_support.h"

View file

@ -33,7 +33,6 @@
#include "dred_rdovae_enc.h" #include "dred_rdovae_enc.h"
#include "common.h"
#include "os_support.h" #include "os_support.h"
void dred_rdovae_encode_dframe( void dred_rdovae_encode_dframe(

View file

@ -32,7 +32,6 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "kiss_fft.h" #include "kiss_fft.h"
#include "common.h"
#include <math.h> #include <math.h>
#include "freq.h" #include "freq.h"
#include "pitch.h" #include "pitch.h"

View file

@ -32,7 +32,6 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include "common.h"
#include "arch.h" #include "arch.h"
#include "lpcnet.h" #include "lpcnet.h"
#include "freq.h" #include "freq.h"

View file

@ -32,6 +32,7 @@
#include "lpcnet.h" #include "lpcnet.h"
#include "plc_data.h" #include "plc_data.h"
#include "os_support.h" #include "os_support.h"
#include "common.h"
#ifndef M_PI #ifndef M_PI
#define M_PI 3.141592653 #define M_PI 3.141592653

View file

@ -2,7 +2,6 @@
#define LPCNET_PRIVATE_H #define LPCNET_PRIVATE_H
#include <stdio.h> #include <stdio.h>
#include "common.h"
#include "freq.h" #include "freq.h"
#include "lpcnet.h" #include "lpcnet.h"
#include "nnet_data.h" #include "nnet_data.h"

View file

@ -34,7 +34,6 @@
#include <math.h> #include <math.h>
#include "opus_types.h" #include "opus_types.h"
#include "arch.h" #include "arch.h"
#include "common.h"
#include "tansig_table.h" #include "tansig_table.h"
#include "nnet.h" #include "nnet.h"
#include "nnet_data.h" #include "nnet_data.h"

View file

@ -32,7 +32,6 @@
#include <string.h> #include <string.h>
#include <stddef.h> #include <stddef.h>
#include "nnet.h" #include "nnet.h"
#include "common.h"
#include "os_support.h" #include "os_support.h"
/* This is a bit of a hack because we need to build nnet_data.c and plc_data.c without USE_WEIGHTS_FILE, /* This is a bit of a hack because we need to build nnet_data.c and plc_data.c without USE_WEIGHTS_FILE,