shithub: opus

Download patch

ref: 6c79a9325c328f86fa048bf124ff6a8912a60a3e
parent: 619a9681bc03248a4d61efe1c7cb6530f71ab192
author: Jean-Marc Valin <[email protected]>
date: Sat Jan 16 18:35:45 EST 2010

Getting "make dist" to work again with the files that got removed

--- a/libcelt/Makefile.am
+++ b/libcelt/Makefile.am
@@ -25,7 +25,7 @@
 	cwrs.h ecintrin.h entcode.h entdec.h entenc.h fixed_generic.h float_cast.h \
 	kfft_double.h kiss_fft.h laplace.h mdct.h mfrngcod.h \
 	mathops.h modes.h os_support.h pitch.h \
-	quant_bands.h rate.h stack_alloc.h vq.h
+	quant_bands.h rate.h stack_alloc.h vq.h plc.c
 
 noinst_PROGRAMS = testcelt dump_modes
 testcelt_SOURCES = testcelt.c
--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -42,12 +42,10 @@
 #include <math.h>
 #include "celt.h"
 #include "pitch.h"
-#include "kiss_fftr.h"
 #include "bands.h"
 #include "modes.h"
 #include "entcode.h"
 #include "quant_bands.h"
-#include "psy.h"
 #include "rate.h"
 #include "stack_alloc.h"
 #include "mathops.h"
--- a/libcelt/modes.h
+++ b/libcelt/modes.h
@@ -38,7 +38,6 @@
 #include "celt.h"
 #include "arch.h"
 #include "mdct.h"
-#include "psy.h"
 #include "pitch.h"
 
 #define CELT_BITSTREAM_VERSION 0x8000000b
--- a/libcelt/pitch.h
+++ b/libcelt/pitch.h
@@ -39,12 +39,7 @@
 #ifndef _PITCH_H
 #define _PITCH_H
 
-#include "kiss_fftr.h"
-#include "psy.h"
 #include "modes.h"
-
-kiss_fftr_cfg pitch_state_alloc(int max_lag);
-void pitch_state_free(kiss_fftr_cfg st);
 
 void pitch_downsample(const celt_sig * restrict x, celt_word16 * restrict x_lp, int len, int end, int _C, celt_sig * restrict xmem, celt_word16 * restrict filt_mem);
 
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,14 +1,13 @@
 INCLUDES = -I$(top_srcdir)/libcelt
 METASOURCES = AUTO
 
-TESTS = type-test ectest cwrs32-test real-fft-test dft-test laplace-test mdct-test mathops-test tandem-test
+TESTS = type-test ectest cwrs32-test dft-test laplace-test mdct-test mathops-test tandem-test
 
-noinst_PROGRAMS = type-test ectest cwrs32-test real-fft-test dft-test laplace-test mdct-test mathops-test tandem-test
+noinst_PROGRAMS = type-test ectest cwrs32-test dft-test laplace-test mdct-test mathops-test tandem-test
 
 type_test_SOURCES = type-test.c
 ectest_SOURCES = ectest.c
 cwrs32_test_SOURCES = cwrs32-test.c
-real_fft_test_SOURCES = real-fft-test.c
 dft_test_SOURCES = dft-test.c
 laplace_test_SOURCES = laplace-test.c
 mdct_test_SOURCES = mdct-test.c