summaryrefslogtreecommitdiff
path: root/libavutil/rational.c
Commit message (Expand)AuthorAgeFilesLines
* lavu: add av_gcd_q().Nicolas George2020-05-231-0/+9
* Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis2016-05-111-116/+0
|\
* | lavu/rational: add more info regarding floor(x+0.5) usageGanesh Ajjanagadde2016-02-291-1/+2
* | avutil/rational: Test av_rescale_rnd() with combinations of "special" valuesMichael Niedermayer2015-12-021-0/+44
* | avutil/rational: use frexp rather than ad-hoc log to get floating point exponentGanesh Ajjanagadde2015-10-301-2/+2
* | avutil: Add av_q2intfloat()Michael Niedermayer2015-05-261-0/+48
* | avutil/rational: Check that av_reduce() returns values within the requested maxMichael Niedermayer2014-12-291-0/+1
* | avutil/rational: av_add_stable() test codeMichael Niedermayer2014-01-041-0/+30
* | avutil/rational: avoid llrint() and rint()Michael Niedermayer2013-07-041-2/+3
* | av_d2q: Add a special case for |value| > MAX and |value| < 1/MAXMichael Niedermayer2013-05-311-0/+2
* | av_d2q: Avoid llrint(), its not correctly implemented in old netbsdMichael Niedermayer2013-05-261-1/+1
* | av_d2q: fix rounding for negative valuesMichael Niedermayer2013-05-251-1/+1
* | av_d2q: Fix infinity checkMichael Niedermayer2013-05-251-1/+1
* | Merge commit 'd46c588f3cb1963a00e990ceaf4ba9ffa05a716d'Michael Niedermayer2013-05-161-1/+0
|\ \ | |/
| * Remove commented-out #includesDiego Biurrun2013-05-151-1/+0
| * libavutil: Remove pointless rational test program.Diego Biurrun2012-03-261-25/+0
* | replace av_log(0, by av_log(NULL,Michael Niedermayer2012-11-231-2/+2
* | rational: test add/sub tooMichael Niedermayer2012-11-011-1/+4
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-051-48/+62
|\ \ | |/
| * Code clean-up for crc.c, lfg.c, log.c, random_see.d, rational.c and tree.c.Yordan Makariev2011-12-031-48/+62
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-301-1/+3
|\ \ | |/
| * rational-test: Add proper main() declaration to fix gcc warnings.Diego Biurrun2011-06-301-1/+3
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
|/
* Add selftest code for av_cmp_q().Michael Niedermayer2010-10-051-0/+20
* Make av_d2q() manage the case in which the value to convert is inf.Stefano Sabatini2010-10-041-0/+2
* Avoid cast of double nan to int.Stefano Sabatini2010-10-021-2/+4
* Rename libavutil/assert.h to avassert.hMåns Rullgård2010-10-011-1/+1
* av_assert() system.Michael Niedermayer2010-09-301-2/+2
* Convert NaN to 0/0 in av_d2qDavid Conrad2010-05-241-0/+2
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
* cosmetics: Use 'num' instead of 'nom' as abbreviation for numerator.Diego Biurrun2009-02-011-11/+11
* spelling/grammar/consistency review part IDiego Biurrun2009-01-281-2/+2
* Directly #include a bunch of indirectly #included headers.Diego Biurrun2009-01-241-0/+1
* export gcd function as av_gcd()Aurelien Jacobs2009-01-171-2/+2
* Implement av_nearer_q() and av_find_nearest_q_idx() functions.Stefano Sabatini2008-09-251-0/+25
* license header consistency cosmeticsDiego Biurrun2007-07-051-1/+0
* move doxy comments from rational.c to rational.h and add some new commentsDujardin Bernard2007-02-261-16/+0
* fix av_reduce() with things like 1/0 and 0/0Michael Niedermayer2007-01-091-3/+5
* fix overflow and remove wrong commentMichael Niedermayer2006-11-301-2/+1
* return optimal fractionMichael Niedermayer2006-11-301-1/+9
* Rename ABS macro to FFABS.Diego Biurrun2006-10-111-3/+3
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
* simplifyMichael Niedermayer2006-07-201-5/+4
* for floats fabs is better & smaller then ABSMichael Niedermayer2006-07-201-1/+1
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-121-1/+1
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-171-5/+5
* libavutil: Utility code from libavcodec moved to a separate library.Alexander Strasser2005-08-011-0/+110