Mercurial > libavutil.hg
changeset 977:2cbad2391250 libavutil
intmath: whitespace cosmetics
author | mru |
---|---|
date | Wed, 07 Jul 2010 17:27:39 +0000 |
parents | 0a6c0fb069d2 |
children | 009d2ce554b2 |
files | intmath.h |
diffstat | 1 files changed, 9 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/intmath.h Sun Jul 04 20:38:46 2010 +0000 +++ b/intmath.h Wed Jul 07 17:27:39 2010 +0000 @@ -36,25 +36,20 @@ #if HAVE_FAST_CLZ && AV_GCC_VERSION_AT_LEAST(3,4) #ifndef av_log2 - -#define av_log2(x) (31 - __builtin_clz((x)|1)) - -#ifndef av_log2_16bit -#define av_log2_16bit av_log2 -#endif - +# define av_log2(x) (31 - __builtin_clz((x)|1)) +# ifndef av_log2_16bit +# define av_log2_16bit av_log2 +# endif #endif /* av_log2 */ #endif /* AV_GCC_VERSION_AT_LEAST(3,4) */ #ifndef FASTDIV - -#if CONFIG_FASTDIV -# define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32)) -#else -# define FASTDIV(a,b) ((a) / (b)) -#endif - +# if CONFIG_FASTDIV +# define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32)) +# else +# define FASTDIV(a,b) ((a) / (b)) +# endif #endif /* FASTDIV */ /*