summaryrefslogtreecommitdiff
path: root/libavcodec/aarch64/asm-offsets.h
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2015-12-01 13:37:41 +0100
committerJanne Grunau <janne-libav@jannau.net>2015-12-14 16:45:01 +0100
commit705f5e5e155f6f280a360af220fc5b30cfcee702 (patch)
tree0ae61550e51a1843de9ee7fb40e3143bd361e4ad /libavcodec/aarch64/asm-offsets.h
parentc33c1fa8af2b2e82418a06901b6ad17b3d61b73e (diff)
arm64: port synth_filter_float_neon from arm
~25% faster dts decoding overall. The checkasm CPU cycles numbers are not that useful since synth_filter_float() calls FFTContext.imdct_half(). cortex-a57 cortex-a53 synth_filter_float_c: 1866.2 3490.9 synth_filter_float_neon: 915.0 1531.5 With fftc.imdct_half forced to imdct_half_neon: cortex-a57 cortex-a53 synth_filter_float_c: 1718.4 3025.3 synth_filter_float_neon: 926.2 1530.1
Diffstat (limited to 'libavcodec/aarch64/asm-offsets.h')
-rw-r--r--libavcodec/aarch64/asm-offsets.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/aarch64/asm-offsets.h b/libavcodec/aarch64/asm-offsets.h
index 45b5c40f80..60e32ddd1d 100644
--- a/libavcodec/aarch64/asm-offsets.h
+++ b/libavcodec/aarch64/asm-offsets.h
@@ -27,4 +27,7 @@
#define CELT_TMP 0x10
#define CELT_TWIDDLE (CELT_TMP + 0x8) // loaded as pair
+/* FFTContext */
+#define IMDCT_HALF 0x48
+
#endif /* AVCODEC_AARCH64_ASM_OFFSETS_H */