Commit 2e874c77 authored by Måns Rullgård's avatar Måns Rullgård

intmath: whitespace cosmetics

Originally committed as revision 24085 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5c7ceef6
...@@ -36,25 +36,20 @@ extern const uint32_t ff_inverse[257]; ...@@ -36,25 +36,20 @@ extern const uint32_t ff_inverse[257];
#if HAVE_FAST_CLZ && AV_GCC_VERSION_AT_LEAST(3,4) #if HAVE_FAST_CLZ && AV_GCC_VERSION_AT_LEAST(3,4)
#ifndef av_log2 #ifndef av_log2
# define av_log2(x) (31 - __builtin_clz((x)|1))
#define av_log2(x) (31 - __builtin_clz((x)|1)) # ifndef av_log2_16bit
# define av_log2_16bit av_log2
#ifndef av_log2_16bit # endif
#define av_log2_16bit av_log2
#endif
#endif /* av_log2 */ #endif /* av_log2 */
#endif /* AV_GCC_VERSION_AT_LEAST(3,4) */ #endif /* AV_GCC_VERSION_AT_LEAST(3,4) */
#ifndef FASTDIV #ifndef FASTDIV
# if CONFIG_FASTDIV
#if CONFIG_FASTDIV # define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32))
# define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32)) # else
#else # define FASTDIV(a,b) ((a) / (b))
# define FASTDIV(a,b) ((a) / (b)) # endif
#endif
#endif /* FASTDIV */ #endif /* FASTDIV */
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment