summaryrefslogtreecommitdiff
path: root/libavresample/aarch64/asm-offsets.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-25 01:18:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-25 01:19:27 +0200
commite32fc9b45b114705b1503255e0a079cb69341ea7 (patch)
tree23305cb93931c0a9a0e13e40814055eee4f0e0b8 /libavresample/aarch64/asm-offsets.h
parent26953ed2e39d7ffbe5125c901d665a5dddab45dd (diff)
parenta24a252709dd38f12aa4929ce4981f87091a5113 (diff)
Merge commit 'a24a252709dd38f12aa4929ce4981f87091a5113'
* commit 'a24a252709dd38f12aa4929ce4981f87091a5113': aarch64: NEON optimized FIR audio resampling Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavresample/aarch64/asm-offsets.h')
-rw-r--r--libavresample/aarch64/asm-offsets.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/libavresample/aarch64/asm-offsets.h b/libavresample/aarch64/asm-offsets.h
new file mode 100644
index 0000000000..0b582446f6
--- /dev/null
+++ b/libavresample/aarch64/asm-offsets.h
@@ -0,0 +1,28 @@
+/*
+ * 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_AARCH64_ASM_OFFSETS_H
+#define AVRESAMPLE_AARCH64_ASM_OFFSETS_H
+
+/* struct ResampleContext */
+#define FILTER_BANK 0x10
+#define FILTER_LENGTH 0x18
+#define PHASE_SHIFT 0x34
+#define PHASE_MASK (PHASE_SHIFT + 0x04) // loaded as pair
+
+#endif /* AVRESAMPLE_AARCH64_ASM_OFFSETS_H */