summaryrefslogtreecommitdiff
path: root/libavutil/mathematics.h
Commit message (Collapse)AuthorAge
* mathematics: Don't use division by zero in NAN/INFINITY macrosRonald S. Bultje2012-07-01
| | | | | | | | | | Some compilers, MSVC among them, don't recognize the divisions by zero as meaning infinity/nan. These macros should, according to the standard, expand to constant expressions, but this shouldn't matter for our usage. Signed-off-by: Martin Storsjö <martin@martin.st>
* mathematics.h: remove a couple of math definesJanne Grunau2012-06-20
| | | | | | | | While these defines are not defined by the C standard they are standardized as X/Open System Interfaces Extension. We use the appropiate _XOPEN_SOURCE define to make them available. They seem to be available on all FATE configs since the constants are used in files where mathematics.h is not included.
* avutil: add av_rescale_q_rnd() to allow different roundingJustin Ruggles2012-02-20
|
* 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>
* Add the M_PHI constant, contains an approximation of the golden ratioStefano Sabatini2010-07-22
| | | | | | irrational number. Originally committed as revision 24439 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix av_compare_mod() doxy.Stefano Sabatini2010-06-13
| | | | Originally committed as revision 23593 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_compare_mod()Michael Niedermayer2010-06-09
| | | | Originally committed as revision 23551 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add M_SQRT2 to the constants in mathematics.h.Alex Converse2010-04-09
| | | | Originally committed as revision 22825 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace @returns by @return.Benoit Fouet2010-03-30
| | | | Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace many includes of libavutil/common.h with what is actually neededMåns Rullgård2010-03-09
| | | | | | | This reduces the number of false dependencies on header files and speeds up compilation. Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More accurate value for log2(10)Måns Rullgård2010-02-21
| | | | Originally committed as revision 21946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace log2f(10) with a constantMåns Rullgård2010-02-20
| | | | Originally committed as revision 21924 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_compare_ts()Michael Niedermayer2010-02-07
| | | | Originally committed as revision 21671 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 2nd try on documenting av_gcd().Michael Niedermayer2009-12-27
| | | | Originally committed as revision 20939 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document av_gcd().Michael Niedermayer2009-12-27
| | | | Originally committed as revision 20935 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define INFINITIY and NAN in mathematics.h if missingMåns Rullgård2009-08-10
| | | | Originally committed as revision 19611 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add common.h #include, necessary for av_const.Diego Biurrun2009-01-28
| | | | Originally committed as revision 16844 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IDiego Biurrun2009-01-28
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export gcd function as av_gcd()Aurelien Jacobs2009-01-17
| | | | Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-31
| | | | | | | | | Consistently apply this rule: the guard name is obtained from the filename by stripping the leading "lib", converting '/' and '.' to '_' and uppercasing the resulting name. Guard names in the root directory have to be prefixed by "FFMPEG_". Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move M_PI definition along with other math definitionsAurelien Jacobs2008-08-13
| | | | Originally committed as revision 14727 to svn://svn.ffmpeg.org/ffmpeg/trunk
* define some math constants so as not to depend on _XOPEN_SOURCEAurelien Jacobs2008-08-13
| | | | Originally committed as revision 14725 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reapply r12489: Add pure, const and malloc attributes to proper functionsZuxy Meng2008-03-19
| | | | | | | in libavutil. Fix a compilation failure in r12489. Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert r12489.Benoit Fouet2008-03-18
| | | | Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pure, const and malloc attributes to libavutil.Zuxy Meng2008-03-18
| | | | | | | | | Patch by Zuxy Meng: zuxy meng gmail com Original thread: [FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil Date: 03/18/2008 6:09 AM Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing stdint.h #include to headers that use it.Diego Biurrun2008-03-13
| | | | Originally committed as revision 12429 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FFMPEG_ prefix to all multiple inclusion guards.Diego Biurrun2007-10-17
| | | | Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add official LGPL license headers to the files that were missing them.Diego Biurrun2006-09-10
| | | | Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libavutil: Utility code from libavcodec moved to a separate library.Alexander Strasser2005-08-01
Originally committed as revision 4489 to svn://svn.ffmpeg.org/ffmpeg/trunk