mirror of
https://github.com/xiph/opus.git
synced 2025-05-16 08:28:29 +00:00
renames the libcelt/ directory to celt/
This commit is contained in:
parent
92675068a4
commit
c37499090b
75 changed files with 93 additions and 110 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -29,5 +29,5 @@ tests/*test
|
|||
tools/celtdec
|
||||
tools/celtenc
|
||||
celt.pc
|
||||
libcelt.spec
|
||||
libcelt/dump_modes/dump_modes
|
||||
celt.spec
|
||||
celt/dump_modes/dump_modes
|
||||
|
|
10
Makefile.am
10
Makefile.am
|
@ -2,9 +2,9 @@ AUTOMAKE_OPTIONS = subdir-objects
|
|||
|
||||
lib_LTLIBRARIES = libopus.la
|
||||
|
||||
SUBDIRS = . libcelt/tests doc
|
||||
SUBDIRS = . celt/tests doc
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/libcelt -I$(top_srcdir)/silk -I$(top_srcdir)/silk/float -I$(top_srcdir)/silk/fixed
|
||||
INCLUDES = -I$(top_srcdir)/celt -I$(top_srcdir)/silk -I$(top_srcdir)/silk/float -I$(top_srcdir)/silk/fixed
|
||||
|
||||
include celt_sources.mk
|
||||
include silk_sources.mk
|
||||
|
@ -22,7 +22,7 @@ include opus_headers.txt
|
|||
|
||||
libopus_la_SOURCES = $(CELT_SOURCES) $(SILK_SOURCES) $(OPUS_SOURCES)
|
||||
|
||||
pkginclude_HEADERS = src/opus.h src/opus_multistream.h libcelt/opus_types.h libcelt/opus_defines.h
|
||||
pkginclude_HEADERS = src/opus.h src/opus_multistream.h celt/opus_types.h celt/opus_defines.h
|
||||
|
||||
noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD)
|
||||
|
||||
|
@ -37,9 +37,9 @@ test_repacketizer_SOURCES = src/test_repacketizer.c
|
|||
test_repacketizer_LDADD = libopus.la -lm
|
||||
|
||||
if CUSTOM_MODES
|
||||
pkginclude_HEADERS += libcelt/opus_custom.h
|
||||
pkginclude_HEADERS += celt/opus_custom.h
|
||||
noinst_PROGRAMS += test_opus_custom
|
||||
test_opus_custom_SOURCES = libcelt/test_opus_custom.c
|
||||
test_opus_custom_SOURCES = celt/test_opus_custom.c
|
||||
test_opus_custom_LDADD = libopus.la -lm
|
||||
endif
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ ARCHIVE.cmdline = $(AR) $(ARFLAGS) $@ $^ && $(RANLIB) $@
|
|||
CINCLUDES += silk/ \
|
||||
silk/float/ \
|
||||
silk/fixed/ \
|
||||
libcelt/ \
|
||||
celt/ \
|
||||
src/
|
||||
|
||||
# VPATH e.g. VPATH = src:../headers
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{245603E3-F580-41A5-9632-B25FE3372CBF}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>libcelt</RootNamespace>
|
||||
<RootNamespace>celt</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
|
@ -122,4 +122,4 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
INCLUDES = -I$(top_srcdir)/libcelt
|
||||
INCLUDES = -I$(top_srcdir)/celt
|
||||
METASOURCES = AUTO
|
||||
|
||||
TESTS = type-test ectest cwrs32-test dft-test laplace-test mdct-test mathops-test rotation-test
|
|
@ -6,13 +6,13 @@
|
|||
#include <string.h>
|
||||
|
||||
#define CELT_C
|
||||
#include "../libcelt/stack_alloc.h"
|
||||
#include "../libcelt/entenc.c"
|
||||
#include "../libcelt/entdec.c"
|
||||
#include "../libcelt/entcode.c"
|
||||
#include "../libcelt/cwrs.c"
|
||||
#include "../libcelt/mathops.c"
|
||||
#include "../libcelt/rate.h"
|
||||
#include "../celt/stack_alloc.h"
|
||||
#include "../celt/entenc.c"
|
||||
#include "../celt/entdec.c"
|
||||
#include "../celt/entcode.c"
|
||||
#include "../celt/cwrs.c"
|
||||
#include "../celt/mathops.c"
|
||||
#include "../celt/rate.h"
|
||||
|
||||
#define NMAX (240)
|
||||
#define KMAX (128)
|
|
@ -12,10 +12,10 @@
|
|||
#include "kiss_fft.h"
|
||||
|
||||
#define CELT_C
|
||||
#include "../libcelt/stack_alloc.h"
|
||||
#include "../libcelt/kiss_fft.c"
|
||||
#include "../libcelt/mathops.c"
|
||||
#include "../libcelt/entcode.c"
|
||||
#include "../celt/stack_alloc.h"
|
||||
#include "../celt/kiss_fft.c"
|
||||
#include "../celt/mathops.c"
|
||||
#include "../celt/entcode.c"
|
||||
|
||||
|
||||
#ifndef M_PI
|
|
@ -11,9 +11,9 @@
|
|||
#include "entdec.h"
|
||||
#include <string.h>
|
||||
|
||||
#include "../libcelt/entenc.c"
|
||||
#include "../libcelt/entdec.c"
|
||||
#include "../libcelt/entcode.c"
|
||||
#include "../celt/entenc.c"
|
||||
#include "../celt/entdec.c"
|
||||
#include "../celt/entcode.c"
|
||||
|
||||
#ifndef M_LOG2E
|
||||
# define M_LOG2E 1.4426950408889634074
|
|
@ -6,12 +6,12 @@
|
|||
#include <stdlib.h>
|
||||
#include "laplace.h"
|
||||
#define CELT_C
|
||||
#include "../libcelt/stack_alloc.h"
|
||||
#include "../celt/stack_alloc.h"
|
||||
|
||||
#include "../libcelt/entenc.c"
|
||||
#include "../libcelt/entdec.c"
|
||||
#include "../libcelt/entcode.c"
|
||||
#include "../libcelt/laplace.c"
|
||||
#include "../celt/entenc.c"
|
||||
#include "../celt/entdec.c"
|
||||
#include "../celt/entcode.c"
|
||||
#include "../celt/laplace.c"
|
||||
|
||||
#define DATA_SIZE 40000
|
||||
|
|
@ -11,12 +11,12 @@
|
|||
#include <stdio.h>
|
||||
#include "mdct.h"
|
||||
#define CELT_C
|
||||
#include "../libcelt/stack_alloc.h"
|
||||
#include "../celt/stack_alloc.h"
|
||||
|
||||
#include "../libcelt/kiss_fft.c"
|
||||
#include "../libcelt/mdct.c"
|
||||
#include "../libcelt/mathops.c"
|
||||
#include "../libcelt/entcode.c"
|
||||
#include "../celt/kiss_fft.c"
|
||||
#include "../celt/mdct.c"
|
||||
#include "../celt/mathops.c"
|
||||
#include "../celt/entcode.c"
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.141592653
|
|
@ -8,9 +8,9 @@
|
|||
#include <string.h>
|
||||
|
||||
#define CELT_C
|
||||
#include "../libcelt/stack_alloc.h"
|
||||
#include "../libcelt/kiss_fft.c"
|
||||
#include "../libcelt/kiss_fftr.c"
|
||||
#include "../celt/stack_alloc.h"
|
||||
#include "../celt/kiss_fft.c"
|
||||
#include "../celt/kiss_fftr.c"
|
||||
|
||||
#ifdef FIXED_DEBUG
|
||||
long long celt_mips=0;
|
|
@ -1,30 +1,30 @@
|
|||
CELT_HEAD = \
|
||||
libcelt/arch.h \
|
||||
libcelt/bands.h \
|
||||
libcelt/celt.h \
|
||||
libcelt/opus_types.h \
|
||||
libcelt/opus_defines.h \
|
||||
libcelt/cwrs.h \
|
||||
libcelt/ecintrin.h \
|
||||
libcelt/entcode.h \
|
||||
libcelt/entdec.h \
|
||||
libcelt/entenc.h \
|
||||
libcelt/fixed_debug.h \
|
||||
libcelt/fixed_generic.h \
|
||||
libcelt/float_cast.h \
|
||||
libcelt/_kiss_fft_guts.h \
|
||||
libcelt/kiss_fft.h \
|
||||
libcelt/laplace.h \
|
||||
libcelt/mathops.h \
|
||||
libcelt/mdct.h \
|
||||
libcelt/mfrngcod.h \
|
||||
libcelt/modes.h \
|
||||
libcelt/os_support.h \
|
||||
libcelt/pitch.h \
|
||||
libcelt/plc.h \
|
||||
libcelt/quant_bands.h \
|
||||
libcelt/rate.h \
|
||||
libcelt/stack_alloc.h \
|
||||
libcelt/vq.h \
|
||||
libcelt/static_modes_float.h \
|
||||
libcelt/static_modes_fixed.h
|
||||
celt/arch.h \
|
||||
celt/bands.h \
|
||||
celt/celt.h \
|
||||
celt/opus_types.h \
|
||||
celt/opus_defines.h \
|
||||
celt/cwrs.h \
|
||||
celt/ecintrin.h \
|
||||
celt/entcode.h \
|
||||
celt/entdec.h \
|
||||
celt/entenc.h \
|
||||
celt/fixed_debug.h \
|
||||
celt/fixed_generic.h \
|
||||
celt/float_cast.h \
|
||||
celt/_kiss_fft_guts.h \
|
||||
celt/kiss_fft.h \
|
||||
celt/laplace.h \
|
||||
celt/mathops.h \
|
||||
celt/mdct.h \
|
||||
celt/mfrngcod.h \
|
||||
celt/modes.h \
|
||||
celt/os_support.h \
|
||||
celt/pitch.h \
|
||||
celt/plc.h \
|
||||
celt/quant_bands.h \
|
||||
celt/rate.h \
|
||||
celt/stack_alloc.h \
|
||||
celt/vq.h \
|
||||
celt/static_modes_float.h \
|
||||
celt/static_modes_fixed.h
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
CELT_SOURCES = libcelt/bands.c \
|
||||
libcelt/celt.c \
|
||||
libcelt/cwrs.c \
|
||||
libcelt/entcode.c \
|
||||
libcelt/entdec.c \
|
||||
libcelt/entenc.c \
|
||||
libcelt/kiss_fft.c \
|
||||
libcelt/laplace.c \
|
||||
libcelt/mathops.c \
|
||||
libcelt/mdct.c \
|
||||
libcelt/modes.c \
|
||||
libcelt/pitch.c \
|
||||
libcelt/plc.c \
|
||||
libcelt/quant_bands.c \
|
||||
libcelt/rate.c \
|
||||
libcelt/vq.c
|
||||
CELT_SOURCES = celt/bands.c \
|
||||
celt/celt.c \
|
||||
celt/cwrs.c \
|
||||
celt/entcode.c \
|
||||
celt/entdec.c \
|
||||
celt/entenc.c \
|
||||
celt/kiss_fft.c \
|
||||
celt/laplace.c \
|
||||
celt/mathops.c \
|
||||
celt/mdct.c \
|
||||
celt/modes.c \
|
||||
celt/pitch.c \
|
||||
celt/plc.c \
|
||||
celt/quant_bands.c \
|
||||
celt/rate.c \
|
||||
celt/vq.c
|
||||
|
|
|
@ -219,7 +219,7 @@ fi
|
|||
AM_CONDITIONAL([FIXED_POINT], [test x$ac_enable_fixed = xyes])
|
||||
AM_CONDITIONAL([CUSTOM_MODES], [test x$ac_enable_custom_modes = xyes])
|
||||
|
||||
AC_OUTPUT([Makefile libcelt/tests/Makefile
|
||||
AC_OUTPUT([Makefile celt/tests/Makefile
|
||||
opus.pc opus-uninstalled.pc
|
||||
doc/Makefile doc/Doxyfile])
|
||||
|
||||
|
|
|
@ -611,8 +611,8 @@ WARN_LOGFILE =
|
|||
# with spaces.
|
||||
|
||||
INPUT = @top_srcdir@/src/opus.h \
|
||||
@top_srcdir@/libcelt/opus_types.h \
|
||||
@top_srcdir@/libcelt/opus_defines.h \
|
||||
@top_srcdir@/celt/opus_types.h \
|
||||
@top_srcdir@/celt/opus_defines.h \
|
||||
@top_srcdir@/src/opus_multistream.h
|
||||
|
||||
# This tag can be used to specify the character encoding of the source files
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
DOCINPUTS = $(top_srcdir)/src/opus.h \
|
||||
$(top_srcdir)/src/opus_multistream.h \
|
||||
$(top_srcdir)/libcelt/opus_defines.h \
|
||||
$(top_srcdir)/libcelt/opus_types.h
|
||||
$(top_srcdir)/celt/opus_defines.h \
|
||||
$(top_srcdir)/celt/opus_types.h
|
||||
|
||||
doc_DATA = doxygen-build.stamp
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ mkdir "${destdir}/src"
|
|||
mkdir "${destdir}/silk"
|
||||
mkdir "${destdir}/silk/float"
|
||||
mkdir "${destdir}/silk/fixed"
|
||||
mkdir "${destdir}/libcelt"
|
||||
mkdir "${destdir}/celt"
|
||||
for f in `cat "${toplevel}"/opus_sources.mk "${toplevel}"/celt_sources.mk \
|
||||
"${toplevel}"/silk_sources.mk "${toplevel}"/opus_headers.txt \
|
||||
"${toplevel}"/celt_headers.txt "${toplevel}"/silk_headers.txt \
|
||||
|
@ -23,8 +23,8 @@ for f in `cat "${toplevel}"/opus_sources.mk "${toplevel}"/celt_sources.mk \
|
|||
cp -a "${toplevel}/${f}" "${destdir}/${f}"
|
||||
done
|
||||
cp -a "${toplevel}"/src/test_opus.c "${destdir}"/src/
|
||||
cp -a "${toplevel}"/libcelt/test_opus_custom.c "${destdir}"/libcelt/
|
||||
cp -a "${toplevel}"/libcelt/opus_custom.h "${destdir}"/libcelt/
|
||||
cp -a "${toplevel}"/celt/test_opus_custom.c "${destdir}"/celt/
|
||||
cp -a "${toplevel}"/celt/opus_custom.h "${destdir}"/celt/
|
||||
cp -a "${toplevel}"/Makefile.draft "${destdir}"/Makefile
|
||||
cp -a "${toplevel}"/opus_sources.mk "${destdir}"/
|
||||
cp -a "${toplevel}"/celt_sources.mk "${destdir}"/
|
||||
|
|
|
@ -9,4 +9,4 @@ Version: @VERSION@
|
|||
Requires:
|
||||
Conflicts:
|
||||
Libs: ${libdir}/libopus.a
|
||||
Cflags: -I${includedir}/src -I${includedir}/libcelt
|
||||
Cflags: -I${includedir}/src -I${includedir}/celt
|
||||
|
|
2
opus.sln
2
opus.sln
|
@ -27,7 +27,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "silk_float", "silk\float\si
|
|||
{C303D2FC-FF97-49B8-9DDD-467B4C9A0B16} = {C303D2FC-FF97-49B8-9DDD-467B4C9A0B16}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcelt", "libcelt\libcelt.vcxproj", "{245603E3-F580-41A5-9632-B25FE3372CBF}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "celt", "celt\celt.vcxproj", "{245603E3-F580-41A5-9632-B25FE3372CBF}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
|
||||
EXTRA_DIST = hybrid.vcxproj.filters hybrid.vcxproj
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/celt/libcelt/ -I$(top_srcdir)/silk/interface
|
||||
|
||||
lib_LTLIBRARIES = libietfcodec.la
|
||||
libietfcodec_la_SOURCES = opus_decoder.c opus_encoder.c
|
||||
|
||||
noinst_HEADERS = opus_decoder.h opus_encoder.h
|
||||
|
||||
pkginclude_HEADERS = opus.h
|
||||
|
||||
noinst_PROGRAMS = test_opus
|
||||
|
||||
test_opus_SOURCES = test_opus.c
|
||||
test_opus_LDADD = libietfcodec.la $(top_builddir)/celt/libcelt/libcelt0.la $(top_builddir)/silk/libSKP_SILK_SDK.la
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue