Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@amazon.com>2023-06-28 00:13:06 +0300
committerJean-Marc Valin <jmvalin@amazon.com>2023-06-28 00:13:06 +0300
commitf9f35904f4e6a263ee49b2dd73165e3ff5e9ba1d (patch)
tree4606fca30bc22973addf71f0d2ccaa2dc02a635d
parentf94bd54302d4b67f7035e11598f07dc8caa0c26b (diff)
No longer need to #include "common.h"
-rw-r--r--dnn/common.h2
-rw-r--r--dnn/dred_rdovae_dec.c1
-rw-r--r--dnn/dred_rdovae_enc.c1
-rw-r--r--dnn/freq.c1
-rw-r--r--dnn/lpcnet_demo.c1
-rw-r--r--dnn/lpcnet_plc.c1
-rw-r--r--dnn/lpcnet_private.h1
-rw-r--r--dnn/nnet.c1
-rw-r--r--dnn/write_lpcnet_weights.c1
9 files changed, 1 insertions, 9 deletions
diff --git a/dnn/common.h b/dnn/common.h
index df3dcca1..b3bec730 100644
--- a/dnn/common.h
+++ b/dnn/common.h
@@ -8,8 +8,6 @@
#include <math.h>
#include "opus_defines.h"
-float lpc_from_cepstrum(float *lpc, const float *cepstrum);
-
#define LOG256 5.5451774445f
static OPUS_INLINE float log2_approx(float x)
{
diff --git a/dnn/dred_rdovae_dec.c b/dnn/dred_rdovae_dec.c
index 5f712524..7e4b2ca9 100644
--- a/dnn/dred_rdovae_dec.c
+++ b/dnn/dred_rdovae_dec.c
@@ -29,7 +29,6 @@
#include "config.h"
#endif
-#include "common.h"
#include "dred_rdovae_dec.h"
#include "dred_rdovae_constants.h"
#include "os_support.h"
diff --git a/dnn/dred_rdovae_enc.c b/dnn/dred_rdovae_enc.c
index 2f21d9fb..d1bee1ee 100644
--- a/dnn/dred_rdovae_enc.c
+++ b/dnn/dred_rdovae_enc.c
@@ -33,7 +33,6 @@
#include "dred_rdovae_enc.h"
-#include "common.h"
#include "os_support.h"
void dred_rdovae_encode_dframe(
diff --git a/dnn/freq.c b/dnn/freq.c
index 261acd2b..8e91649a 100644
--- a/dnn/freq.c
+++ b/dnn/freq.c
@@ -32,7 +32,6 @@
#include <string.h>
#include <stdio.h>
#include "kiss_fft.h"
-#include "common.h"
#include <math.h>
#include "freq.h"
#include "pitch.h"
diff --git a/dnn/lpcnet_demo.c b/dnn/lpcnet_demo.c
index 0b5956b4..df751137 100644
--- a/dnn/lpcnet_demo.c
+++ b/dnn/lpcnet_demo.c
@@ -32,7 +32,6 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include "common.h"
#include "arch.h"
#include "lpcnet.h"
#include "freq.h"
diff --git a/dnn/lpcnet_plc.c b/dnn/lpcnet_plc.c
index 6cba005b..d0067583 100644
--- a/dnn/lpcnet_plc.c
+++ b/dnn/lpcnet_plc.c
@@ -32,6 +32,7 @@
#include "lpcnet.h"
#include "plc_data.h"
#include "os_support.h"
+#include "common.h"
#ifndef M_PI
#define M_PI 3.141592653
diff --git a/dnn/lpcnet_private.h b/dnn/lpcnet_private.h
index a2eba6db..87d142a1 100644
--- a/dnn/lpcnet_private.h
+++ b/dnn/lpcnet_private.h
@@ -2,7 +2,6 @@
#define LPCNET_PRIVATE_H
#include <stdio.h>
-#include "common.h"
#include "freq.h"
#include "lpcnet.h"
#include "nnet_data.h"
diff --git a/dnn/nnet.c b/dnn/nnet.c
index b4fe8457..e9b8a28a 100644
--- a/dnn/nnet.c
+++ b/dnn/nnet.c
@@ -34,7 +34,6 @@
#include <math.h>
#include "opus_types.h"
#include "arch.h"
-#include "common.h"
#include "tansig_table.h"
#include "nnet.h"
#include "nnet_data.h"
diff --git a/dnn/write_lpcnet_weights.c b/dnn/write_lpcnet_weights.c
index 2742f30a..b1760161 100644
--- a/dnn/write_lpcnet_weights.c
+++ b/dnn/write_lpcnet_weights.c
@@ -32,7 +32,6 @@
#include <string.h>
#include <stddef.h>
#include "nnet.h"
-#include "common.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,