summaryrefslogtreecommitdiffstats
path: root/gst-libs
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2007-01-04 16:39:38 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2007-01-04 16:39:38 +0000
commita59bef232b5e88b419a9b0be974ebc02a3bca9b9 (patch)
treea796a95d1025cc394af499690368bf6348b6cc8d /gst-libs
parent4d3eb2d7f042bbcfad85cc44e254a0688694caea (diff)
downloadgst-plugins-bad-a59bef232b5e88b419a9b0be974ebc02a3bca9b9.tar.gz
gst-plugins-bad-a59bef232b5e88b419a9b0be974ebc02a3bca9b9.tar.bz2
gst-plugins-bad-a59bef232b5e88b419a9b0be974ebc02a3bca9b9.zip
add directories in the right place
Original commit message from CVS: add directories in the right place
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/ext/Makefile.am9
-rw-r--r--gst-libs/ext/amrwb/Makefile.am63
-rw-r--r--gst-libs/ext/amrwb/README7
3 files changed, 79 insertions, 0 deletions
diff --git a/gst-libs/ext/Makefile.am b/gst-libs/ext/Makefile.am
new file mode 100644
index 00000000..74f0f665
--- /dev/null
+++ b/gst-libs/ext/Makefile.am
@@ -0,0 +1,9 @@
+if USE_AMRWB
+AMRWB_DIR = amrwb
+else
+AMRWB_DIR =
+endif
+
+SUBDIRS = $(AMRWB_DIR)
+
+DIST_SUBDIRS = amrwb
diff --git a/gst-libs/ext/amrwb/Makefile.am b/gst-libs/ext/amrwb/Makefile.am
new file mode 100644
index 00000000..71a24682
--- /dev/null
+++ b/gst-libs/ext/amrwb/Makefile.am
@@ -0,0 +1,63 @@
+noinst_LTLIBRARIES = libamrwb.la
+
+nodist_libamrwb_la_SOURCES = \
+ enc_acelp.c \
+ enc_dtx.c \
+ enc_gain.c \
+ enc_if.c \
+ enc_lpc.c \
+ enc_main.c \
+ enc_rom.c \
+ enc_util.c \
+ if_rom.c \
+ dec_acelp.c \
+ dec_dtx.c \
+ dec_gain.c \
+ dec_if.c \
+ dec_lpc.c \
+ dec_main.c \
+ dec_rom.c \
+ dec_util.c
+
+libamrwb_la_CFLAGS = -I./amrwb-code/c-code
+libamrwb_la_LIBADD = $(GST_BASE_LIBS) $(AMRWB_LIBS)
+libamrwb_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+
+nodist_noinst_HEADERS = \
+ dec_acelp.h \
+ dec_dtx.h \
+ dec_gain.h \
+ dec.h \
+ dec_if.h \
+ dec_lpc.h \
+ dec_main.h \
+ dec_util.h \
+ enc_acelp.h \
+ enc_dtx.h \
+ enc_gain.h \
+ enc.h \
+ enc_if.h \
+ enc_lpc.h \
+ enc_main.h \
+ enc_util.h \
+ if_rom.h \
+ typedef.h
+
+download:
+ wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-600.zip
+
+26204-600.zip:
+ echo "Please download the 26204-600.zip file"
+ echo "You can run make download to download it"
+ exit 1
+
+enc_acelp.c: 26204-600.zip
+ unzip $^
+ unzip 26204-600_ANSI-C_source_code.zip
+ mv c-code/* .
+ rm -rf c-code/ 26204-600_ANSI-C_source_code.zip makefile.gcc
+ echo "" >> typedef.h # to remove compilation warning (no newline at end of file)
+
+CLEANFILES = *.c *.h 26204-600.doc readme.txt
+
+EXTRA_DIST = README
diff --git a/gst-libs/ext/amrwb/README b/gst-libs/ext/amrwb/README
new file mode 100644
index 00000000..dcbf95e3
--- /dev/null
+++ b/gst-libs/ext/amrwb/README
@@ -0,0 +1,7 @@
+Compiling AMRWB codec:
+======================
+
+To compile the amrwb codec, you need to download the source code from
+"http://www.3gpp.org/ftp/Specs/html-info/26204.htm" and drop it
+in this directory, or run "make download".
+Then you can run the "autogen" script again.