summaryrefslogtreecommitdiff
path: root/libavutil/intmath.h
Commit message (Collapse)AuthorAge
* lavu: add av_ctz() for trailing zero bit countJustin Ruggles2012-11-05
|
* ARM: reinstate optimised intmath.hMans Rullgard2012-10-20
| | | | | | Use of the ARM optimised intmath.h was accidentally dropped in 9734b8b. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avutil: remove inline av_log2 from public APIMans Rullgard2012-10-20
| | | | | | | | This removes inline av_log2 and av_log2_16bit from the public API, instead exporting them as regular functions. In-tree code still gets the inline and otherwise optimised variants. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move avutil tables only used in libavcodec to libavcodec.Diego Biurrun2012-10-11
|
* x86: remove FASTDIV inline asmMans Rullgard2012-08-22
| | | | | | | | | | | | | | | | | | | GCC 4.3 and later do the right thing with the plain C code. Earlier versions in 32-bit mode generate one extra instruction, needlessly zeroing what would be the high half of the shifted value. At least two gcc configurations miscompile the inline asm in some situations. In 64-bit mode, all gcc versions generate imul r64, r64 followed by shr. On Intel i7 and later, this imul is faster 32-bit mul. On older Intel and all AMD, it is slightly slower. On Atom it is much slower. Considering where the FASTDIV macro is used, any overall negative performance impact of this change should be negligible. If anyone cares, they should file a bug against gcc and get the instruction selection fixed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Drop fastdiv optionDiego Biurrun2012-08-22
| | | | | | 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.
* doxy: provide a start page and document libavutilLuca Barbato2011-11-22
| | | | | | Introduce a basic layout, the subpages are currently left empty. Split libavutil in multiple groups as example of the structure
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove macro duplication between common.h and intmath.hMåns Rullgård2010-07-07
| | | | Originally committed as revision 24086 to svn://svn.ffmpeg.org/ffmpeg/trunk
* intmath: whitespace cosmeticsMåns Rullgård2010-07-07
| | | | Originally committed as revision 24085 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix build on configurations without fast av_log2()Måns Rullgård2010-03-09
| | | | | | | This is a bit hackish. I will try to think of something nicer, but this will do for now. Originally committed as revision 22366 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ff_sqrt() to libavutil/intmath.hMåns Rullgård2010-03-08
| | | | Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move FASTDIV macro to intmath.hMåns Rullgård2010-01-19
| | | | Originally committed as revision 21335 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimise av_log2 with clz when availableMåns Rullgård2010-01-14
10% faster flac decoding on x86 and ARM. Originally committed as revision 21217 to svn://svn.ffmpeg.org/ffmpeg/trunk