changeset 858:68cffad9f463 libavutil

Move DECLARE_ALIGNED_{8,16} macros to mem.h These macros naturally belong next to the generic DECLARE_ALIGNED macro.
author mru
date Sat, 06 Mar 2010 12:40:43 +0000
parents c88d7a5ffa24
children d0230d2b1696
files mem.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mem.h	Fri Mar 05 08:26:23 2010 +0000
+++ b/mem.h	Sat Mar 06 12:40:43 2010 +0000
@@ -49,6 +49,8 @@
     #define DECLARE_ASM_CONST(n,t,v)    static const t v
 #endif
 
+#define DECLARE_ALIGNED_16(t, v) DECLARE_ALIGNED(16, t, v)
+#define DECLARE_ALIGNED_8(t, v)  DECLARE_ALIGNED(8, t, v)
 
 #if AV_GCC_VERSION_AT_LEAST(3,1)
     #define av_malloc_attrib __attribute__((__malloc__))