aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ircam.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-12-02 18:13:56 +0000
committerPaul B Mahol <onemda@gmail.com>2012-12-05 13:01:22 +0000
commit880191637ff7223541cd2e4db748c6e07fee596c (patch)
tree61c054fed56241b765a11fbc066657d0687b371d /libavformat/ircam.c
parent8ecf22ffb01e2fa721d7449e33ee9fb5a7937697 (diff)
downloadffmpeg-880191637ff7223541cd2e4db748c6e07fee596c.tar.gz
IRCAM demuxer & muxer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/ircam.c')
-rw-r--r--libavformat/ircam.c47
1 files changed, 47 insertions, 0 deletions
diff --git a/libavformat/ircam.c b/libavformat/ircam.c
new file mode 100644
index 0000000000..561cbb1806
--- /dev/null
+++ b/libavformat/ircam.c
@@ -0,0 +1,47 @@
+/*
+ * IRCAM common code
+ * Copyright (c) 2012 Paul B Mahol
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include "avformat.h"
+#include "internal.h"
+
+const AVCodecTag ff_codec_ircam_le_tags[] = {
+ { CODEC_ID_PCM_ALAW, 0x10001 },
+ { CODEC_ID_PCM_F32LE, 0x00004 },
+ { CODEC_ID_PCM_F64LE, 0x00008 },
+ { CODEC_ID_PCM_MULAW, 0x20001 },
+ { CODEC_ID_PCM_S16LE, 0x00002 },
+ { CODEC_ID_PCM_S24LE, 0x00003 },
+ { CODEC_ID_PCM_S32LE, 0x40004 },
+ { CODEC_ID_PCM_S8, 0x00001 },
+ { CODEC_ID_NONE, 0 },
+};
+
+const AVCodecTag ff_codec_ircam_be_tags[] = {
+ { CODEC_ID_PCM_ALAW, 0x10001 },
+ { CODEC_ID_PCM_F32BE, 0x00004 },
+ { CODEC_ID_PCM_F64BE, 0x00008 },
+ { CODEC_ID_PCM_MULAW, 0x20001 },
+ { CODEC_ID_PCM_S16BE, 0x00002 },
+ { CODEC_ID_PCM_S24BE, 0x00003 },
+ { CODEC_ID_PCM_S32BE, 0x40004 },
+ { CODEC_ID_PCM_S8, 0x00001 },
+ { CODEC_ID_NONE, 0 },
+};