summaryrefslogtreecommitdiff
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-15 14:47:04 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-15 14:56:42 +0100
commitda89572004f6c0279134d4c8c1c835496a2c4232 (patch)
tree9b100b7bb3c27092c6aceae6ac4cac315062b9c7 /libavcodec/internal.h
parent847d8af59af5925fb4310256bd63bc54d9cee7b5 (diff)
avcodec: Move STRIDE_ALIGN to internal.h
The next commit/bugfix will need it Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 6d3cdcdaaa..0da2fa4fb7 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -35,6 +35,12 @@
#define FF_SANE_NB_CHANNELS 63U
+#if HAVE_NEON || ARCH_PPC || HAVE_MMX
+# define STRIDE_ALIGN 16
+#else
+# define STRIDE_ALIGN 8
+#endif
+
typedef struct FramePool {
/**
* Pools for each data plane. For audio all the planes have the same size,