[FFmpeg-cvslog] r22230 - in trunk: libavcodec/dsputil.h libavutil/mem.h

mru subversion
Sat Mar 6 13:40:43 CET 2010


Author: mru
Date: Sat Mar  6 13:40:43 2010
New Revision: 22230

Log:
Move DECLARE_ALIGNED_{8,16} macros to mem.h

These macros naturally belong next to the generic DECLARE_ALIGNED
macro.

Modified:
   trunk/libavcodec/dsputil.h
   trunk/libavutil/mem.h

Modified: trunk/libavcodec/dsputil.h
==============================================================================
--- trunk/libavcodec/dsputil.h	Sat Mar  6 02:32:52 2010	(r22229)
+++ trunk/libavcodec/dsputil.h	Sat Mar  6 13:40:43 2010	(r22230)
@@ -663,9 +663,6 @@ void dsputil_init_ppc(DSPContext* c, AVC
 void dsputil_init_sh4(DSPContext* c, AVCodecContext *avctx);
 void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx);
 
-#define DECLARE_ALIGNED_16(t, v, ...) DECLARE_ALIGNED(16, t, v)
-#define DECLARE_ALIGNED_8(t, v, ...)  DECLARE_ALIGNED(8, t, v)
-
 #if HAVE_MMX
 
 #undef emms_c

Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h	Sat Mar  6 02:32:52 2010	(r22229)
+++ trunk/libavutil/mem.h	Sat Mar  6 13:40:43 2010	(r22230)
@@ -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__))



More information about the ffmpeg-cvslog mailing list