summaryrefslogtreecommitdiff
path: root/libavresample/arm/asm-offsets.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-22 00:04:35 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-22 00:06:23 +0100
commitdb3f6465a63130f3c2133073dd6aaf88298497bc (patch)
tree2f8f9f6ddaa6b75105a7dc5b29bf46823eb287a9 /libavresample/arm/asm-offsets.h
parent52a1a55f3014e0a9ad2461e2e17896ee27ba794d (diff)
parent12655c48049f9a52e5504bde90fe738862b0ff08 (diff)
Merge commit '12655c48049f9a52e5504bde90fe738862b0ff08'
* commit '12655c48049f9a52e5504bde90fe738862b0ff08': libavresample: NEON optimized FIR audio resampling Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavresample/arm/asm-offsets.h')
-rw-r--r--libavresample/arm/asm-offsets.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/libavresample/arm/asm-offsets.h b/libavresample/arm/asm-offsets.h
new file mode 100644
index 0000000000..4d3d116dc0
--- /dev/null
+++ b/libavresample/arm/asm-offsets.h
@@ -0,0 +1,29 @@
+/*
+ * 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
+ */
+
+#ifndef AVRESAMPLE_ARM_ASM_OFFSETS_H
+#define AVRESAMPLE_ARM_ASM_OFFSETS_H
+
+/* struct ResampleContext */
+#define FILTER_BANK 0x08
+#define FILTER_LENGTH 0x0c
+#define SRC_INCR 0x20
+#define PHASE_SHIFT 0x28
+#define PHASE_MASK (PHASE_SHIFT + 0x04)
+
+#endif /* AVRESAMPLE_ARM_ASM_OFFSETS_H */