[FFmpeg-cvslog] r24088 - trunk/libavutil/arm/intmath.h
mru
subversion
Wed Jul 7 19:27:48 CEST 2010
Author: mru
Date: Wed Jul 7 19:27:48 2010
New Revision: 24088
Log:
ARM: intmath.h cosmetics
Modified:
trunk/libavutil/arm/intmath.h
Modified: trunk/libavutil/arm/intmath.h
==============================================================================
--- trunk/libavutil/arm/intmath.h Wed Jul 7 19:27:45 2010 (r24087)
+++ trunk/libavutil/arm/intmath.h Wed Jul 7 19:27:48 2010 (r24088)
@@ -27,6 +27,8 @@
#if HAVE_INLINE_ASM
#if HAVE_ARMV6
+
+#define FASTDIV FASTDIV
static inline av_const int FASTDIV(int a, int b)
{
int r, t;
@@ -37,7 +39,10 @@ static inline av_const int FASTDIV(int a
: "=&r"(r), "=&r"(t) : "r"(a), "r"(b), "r"(ff_inverse));
return r;
}
-#else
+
+#else /* HAVE_ARMV6 */
+
+#define FASTDIV FASTDIV
static inline av_const int FASTDIV(int a, int b)
{
int r, t;
@@ -45,9 +50,8 @@ static inline av_const int FASTDIV(int a
: "=&r"(r), "=&r"(t) : "r"(a), "r"(ff_inverse[b]));
return r;
}
-#endif
-#define FASTDIV FASTDIV
+#endif /* HAVE_ARMV6 */
#endif /* HAVE_INLINE_ASM */
More information about the ffmpeg-cvslog
mailing list