summaryrefslogtreecommitdiff
path: root/libavcodec/atrac.h
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2009-09-08 19:25:54 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2009-09-08 19:25:54 +0000
commit0e1baedec302e6d952bc46708753aaa586b33651 (patch)
treef96645ecdd0233af15544cbe8c3b0d4a68631c01 /libavcodec/atrac.h
parentb057170f324da3657cc8723f97086c2c756a85b8 (diff)
Split out common routines needed in the atrac1 decoder from atrac3.c to atrac.c.
Originally committed as revision 19796 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/atrac.h')
-rw-r--r--libavcodec/atrac.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/libavcodec/atrac.h b/libavcodec/atrac.h
new file mode 100644
index 0000000000..7175700d3c
--- /dev/null
+++ b/libavcodec/atrac.h
@@ -0,0 +1,38 @@
+/*
+ * Atrac common data
+ * Copyright (c) 2009 Maxim Poliakovski
+ * Copyright (c) 2009 Benjamin Larsson
+ *
+ * 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
+ */
+
+/**
+ * @file libavcodec/atrac1data.h
+ * Atrac 1 compatible decoder data
+ */
+
+#ifndef AVCODEC_ATRAC_H
+#define AVCODEC_ATRAC_H
+
+
+extern float sf_table[64];
+extern float qmf_window[48];
+
+void atrac_generate_tables(void);
+void atrac_iqmf (float *inlo, float *inhi, unsigned int nIn, float *pOut, float *delayBuf, float *temp);
+
+#endif /* AVCODEC_ATRAC_H */