48 Commits (7dc33aad45772ca3c0a3092833cf8447d1607663)

Author SHA1 Message Date
Nicolas George 6b65c4ec54 lavu: add av_gcd_q(). 5 years ago
Ganesh Ajjanagadde 7dabc78ce1 lavu/rational: add more info regarding floor(x+0.5) usage 9 years ago
Michael Niedermayer 97b8db334a avutil/rational: Test av_rescale_rnd() with combinations of "special" values 9 years ago
Ganesh Ajjanagadde 8d9f86bd37 avutil/rational: use frexp rather than ad-hoc log to get floating point exponent 9 years ago
Michael Niedermayer 1fb9b2a283 avutil: Add av_q2intfloat() 10 years ago
Michael Niedermayer 827af24230 avutil/rational: Check that av_reduce() returns values within the requested max 10 years ago
Michael Niedermayer cd7037dd7a avutil/rational: av_add_stable() test code 11 years ago
Michael Niedermayer 46ad287a2a avutil/rational: avoid llrint() and rint() 12 years ago
Michael Niedermayer 887d74c47e av_d2q: Add a special case for |value| > MAX and |value| < 1/MAX 12 years ago
Michael Niedermayer d480b36db4 av_d2q: Avoid llrint(), its not correctly implemented in old netbsd 12 years ago
Michael Niedermayer 64eacb839e av_d2q: fix rounding for negative values 12 years ago
Michael Niedermayer de7d290631 av_d2q: Fix infinity check 12 years ago
Diego Biurrun d46c588f3c Remove commented-out #includes 12 years ago
Michael Niedermayer 0efcf16a3e replace av_log(0, by av_log(NULL, 12 years ago
Michael Niedermayer 6204ea17f1 rational: test add/sub too 12 years ago
Diego Biurrun 80391552c9 libavutil: Remove pointless rational test program. 13 years ago
Yordan Makariev 425b45d4b0 Code clean-up for crc.c, lfg.c, log.c, random_see.d, rational.c and tree.c. 13 years ago
Diego Biurrun 812f2376ee rational-test: Add proper main() declaration to fix gcc warnings. 14 years ago
Mans Rullgard 2912e87a6c Replace FFmpeg with Libav in licence headers 14 years ago
Michael Niedermayer 59a3bf0e51 Add selftest code for av_cmp_q(). 14 years ago
Stefano Sabatini 6b4ed22f75 Make av_d2q() manage the case in which the value to convert is inf. 14 years ago
Stefano Sabatini 1405782cf4 Avoid cast of double nan to int. 14 years ago
Måns Rullgård b64b4134d5 Rename libavutil/assert.h to avassert.h 14 years ago
Michael Niedermayer b926b6282d av_assert() system. 14 years ago
David Conrad 31fdd64194 Convert NaN to 0/0 in av_d2q 15 years ago
Diego Biurrun ba87f0801d Remove explicit filename from Doxygen @file commands. 15 years ago
Diego Biurrun bad5537e2c Use full internal pathname in doxygen @file directives. 16 years ago
Diego Biurrun 674bd4f691 cosmetics: Use 'num' instead of 'nom' as abbreviation for numerator. 16 years ago
Diego Biurrun 89c9ff504b spelling/grammar/consistency review part I 16 years ago
Diego Biurrun dfcb6b56f9 Directly #include a bunch of indirectly #included headers. 16 years ago
Aurelien Jacobs 9ce6c13879 export gcd function as av_gcd() 16 years ago
Stefano Sabatini 05b90fc0c5 Implement av_nearer_q() and av_find_nearest_q_idx() functions. 16 years ago
Diego Biurrun e5a389a1b7 license header consistency cosmetics 18 years ago
Dujardin Bernard 0b0065992e move doxy comments from rational.c to rational.h and add some new comments 18 years ago
Michael Niedermayer 6880edab82 fix av_reduce() with things like 1/0 and 0/0 18 years ago
Michael Niedermayer 62b9fc1571 fix overflow and remove wrong comment 18 years ago
Michael Niedermayer 3db1b8b538 return optimal fraction 18 years ago
Diego Biurrun c26abfa541 Rename ABS macro to FFABS. 18 years ago
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library' 18 years ago
Michael Niedermayer 79dc59b726 simplify 19 years ago
Michael Niedermayer 0912bf577a for floats fabs is better & smaller then ABS 19 years ago
Diego Biurrun 5509bffa88 Update licensing information: The FSF changed postal address. 19 years ago
Diego Biurrun 115329f160 COSMETICS: Remove all trailing whitespace. 19 years ago
Alexander Strasser c11c2bc20b libavutil: Utility code from libavcodec moved to a separate library. 20 years ago
Michael Niedermayer 5c07b9e914 more comments 21 years ago
Michael Niedermayer bf63eb4bba av_d2q() documentation 21 years ago
Michael Niedermayer 33a6984b8c BSD doesnt have log2 21 years ago
Michael Niedermayer 5ff85f1d8b AVRational 21 years ago