[FFmpeg-cvslog] configure: Drop fastdiv option
Diego Biurrun
git at videolan.org
Wed Aug 22 14:43:37 CEST 2012
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Aug 21 00:36:16 2012 +0200| [66baa45801e46a6558c22765cdac1e7a4abad228] | committer: Diego Biurrun
configure: Drop fastdiv option
There is no point in having the user disable any fastdiv macros.
Besides the condition implementation was broken and only disabled
the C implementation, but no platform specific assembly versions.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=66baa45801e46a6558c22765cdac1e7a4abad228
---
configure | 3 ---
libavutil/intmath.h | 6 +-----
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/configure b/configure
index bf8f5f1..12052c0 100755
--- a/configure
+++ b/configure
@@ -230,7 +230,6 @@ Advanced options (experts only):
--enable-sram allow use of on-chip SRAM
--enable-thumb compile for Thumb instruction set
--disable-symver disable symbol versioning
- --disable-fastdiv disable table-based division
--enable-hardcoded-tables use hardcoded tables instead of runtime generation
--disable-safe-bitstream-reader
disable buffer boundary checking in bitreaders
@@ -964,7 +963,6 @@ CONFIG_LIST="
doc
dwt
dxva2
- fastdiv
fft
frei0r
gnutls
@@ -1739,7 +1737,6 @@ enable swscale
enable asm
enable debug
enable doc
-enable fastdiv
enable network
enable optimizations
enable safe_bitstream_reader
diff --git a/libavutil/intmath.h b/libavutil/intmath.h
index e6a2e10..1be96da 100644
--- a/libavutil/intmath.h
+++ b/libavutil/intmath.h
@@ -50,11 +50,7 @@ extern const uint32_t ff_inverse[257];
#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
+# define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32))
#endif /* FASTDIV */
#include "common.h"
More information about the ffmpeg-cvslog
mailing list