summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Darnley <jdarnley@obe.tv>2017-11-06 15:43:39 +0100
committerJames Darnley <james.darnley@gmail.com>2017-12-24 22:02:41 +0100
commit8f86e6623811f7713d5e72c13797e20fffb3df62 (patch)
treed31ecebf39215db8fe7c1b0c2b29e0f98ea2db61 /libavcodec
parente2218ed8ce6e2f208b9279acc80b7e2b7f1eae6c (diff)
avcodec: add stride alignment needed for AVX-512
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 30cb9a0de1..fcbdb6c04d 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -87,7 +87,9 @@
#define FF_SIGNBIT(x) ((x) >> CHAR_BIT * sizeof(x) - 1)
-#if HAVE_SIMD_ALIGN_32
+#if HAVE_SIMD_ALIGN_64
+# define STRIDE_ALIGN 64 /* AVX-512 */
+#elif HAVE_SIMD_ALIGN_32
# define STRIDE_ALIGN 32
#elif HAVE_SIMD_ALIGN_16
# define STRIDE_ALIGN 16