diff dsputil.h @ 62:4bfc845cdfea libavcodec

arm optimizations
author glantau
date Mon, 13 Aug 2001 21:45:36 +0000
parents 4ea4c10d03d8
children 06f63b58d2a8
line wrap: on
line diff
--- a/dsputil.h	Mon Aug 13 21:38:25 2001 +0000
+++ b/dsputil.h	Mon Aug 13 21:45:36 2001 +0000
@@ -2,7 +2,6 @@
 #define DSPUTIL_H
 
 #include "common.h"
-#include <inttypes.h>
 
 /* dct code */
 typedef short DCTELEM;
@@ -75,7 +74,7 @@
 
 void block_permute(INT16 *block);
 
-#ifdef HAVE_MMX
+#if defined(HAVE_MMX)
 
 #define MM_MMX    0x0001 /* standard MMX */
 #define MM_3DNOW  0x0004 /* AMD 3DNOW */
@@ -102,6 +101,16 @@
 
 void dsputil_init_mmx(void);
 
+#elif defined(ARCH_ARMV4L)
+
+#define emms_c()
+
+/* This is to use 4 bytes read to the IDCT pointers for some 'zero'
+   line ptimizations */
+#define __align8 __attribute__ ((aligned (4)))
+
+void dsputil_init_armv4l(void);   
+
 #else
 
 #define emms_c()