summaryrefslogtreecommitdiffstats
path: root/ext/amrwb/amrwb-code
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renatox@gmail.com>2006-03-29 16:50:08 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-03-29 16:50:08 +0000
commit599af07ac788e98a83b580be91c73d5888b1c6f6 (patch)
tree1b4fa2b0a427c3607ffb8991ccb308b765fcd3f8 /ext/amrwb/amrwb-code
parent882324f2ae04e10582ad306515c03ddce1b6a3ae (diff)
downloadgst-plugins-bad-599af07ac788e98a83b580be91c73d5888b1c6f6.tar.gz
gst-plugins-bad-599af07ac788e98a83b580be91c73d5888b1c6f6.tar.bz2
gst-plugins-bad-599af07ac788e98a83b580be91c73d5888b1c6f6.zip
Added new plugin amrwb parse.
Original commit message from CVS: Patch by: Renato Araujo Oliveira Filho <renatox at gmail dot com> * configure.ac: * ext/Makefile.am: * ext/amrwb/Makefile.am: * ext/amrwb/README: * ext/amrwb/amrwb-code/Makefile.am: * ext/amrwb/amrwb-code/run.sh: * ext/amrwb/gstamrwb.c: (plugin_init): * ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_base_init), (gst_amrwbdec_class_init), (gst_amrwbdec_init), (gst_amrwbdec_setcaps), (gst_amrwbdec_event), (gst_amrwbdec_chain), (gst_amrwbdec_state_change): * ext/amrwb/gstamrwbdec.h: * ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_base_init), (gst_amrwbenc_class_init), (gst_amrwbenc_init), (gst_amrwbenc_finalize), (gst_amrwbenc_setcaps), (gst_amrwbenc_chain), (gst_amrwbenc_state_change): * ext/amrwb/gstamrwbenc.h: * ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_base_init), (gst_amrwbparse_class_init), (gst_amrwbparse_init), (gst_amrwbparse_querytypes), (gst_amrwbparse_query), (gst_amrwbparse_chain), (gst_amrwbparse_read_header), (gst_amrwbparse_loop), (gst_amrwbparse_sink_activate), (gst_amrwbparse_sink_activate_pull), (gst_amrwbparse_state_change): * ext/amrwb/gstamrwbparse.h: Added new plugin amrwb parse. Renamed audio/AMR to audio/AMR-WB as per spec. Fixes #333307
Diffstat (limited to 'ext/amrwb/amrwb-code')
-rw-r--r--ext/amrwb/amrwb-code/Makefile.am44
-rw-r--r--ext/amrwb/amrwb-code/run.sh6
2 files changed, 50 insertions, 0 deletions
diff --git a/ext/amrwb/amrwb-code/Makefile.am b/ext/amrwb/amrwb-code/Makefile.am
new file mode 100644
index 00000000..a11be20c
--- /dev/null
+++ b/ext/amrwb/amrwb-code/Makefile.am
@@ -0,0 +1,44 @@
+noinst_LTLIBRARIES = libamrwb.la
+
+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)
+
+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
diff --git a/ext/amrwb/amrwb-code/run.sh b/ext/amrwb/amrwb-code/run.sh
new file mode 100644
index 00000000..323f451a
--- /dev/null
+++ b/ext/amrwb/amrwb-code/run.sh
@@ -0,0 +1,6 @@
+wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-600.zip
+unzip 26204-600.zip
+unzip 26204-600_ANSI-C_source_code.zip
+mv c-code/* .
+rm -rf c-code/ 26204-600.zip 26204-600_ANSI-C_source_code.zip
+echo "" >> typedef.h # to remove compilation warning (no newline at end of file)