Derek Buitenhuis
|
96d616052b
Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'
|
8 years ago |
Ganesh Ajjanagadde
|
7dabc78ce1
lavu/rational: add more info regarding floor(x+0.5) usage
|
8 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()
|
9 years ago |
Michael Niedermayer
|
827af24230
avutil/rational: Check that av_reduce() returns values within the requested max
|
9 years ago |
Michael Niedermayer
|
cd7037dd7a
avutil/rational: av_add_stable() test code
|
10 years ago |
Michael Niedermayer
|
46ad287a2a
avutil/rational: avoid llrint() and rint()
|
11 years ago |
Michael Niedermayer
|
887d74c47e
av_d2q: Add a special case for |value| > MAX and |value| < 1/MAX
|
11 years ago |
Michael Niedermayer
|
d480b36db4
av_d2q: Avoid llrint(), its not correctly implemented in old netbsd
|
11 years ago |
Michael Niedermayer
|
64eacb839e
av_d2q: fix rounding for negative values
|
11 years ago |
Michael Niedermayer
|
de7d290631
av_d2q: Fix infinity check
|
11 years ago |
Michael Niedermayer
|
4390fa6273
Merge commit 'd46c588f3cb1963a00e990ceaf4ba9ffa05a716d'
|
11 years ago |
Diego Biurrun
|
d46c588f3c
Remove commented-out #includes
|
11 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 |
Michael Niedermayer
|
707138593a
Merge remote-tracking branch 'qatar/master'
|
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 |
Michael Niedermayer
|
8c0cbb0848
Merge remote-tracking branch 'qatar/master'
|
13 years ago |
Diego Biurrun
|
812f2376ee
rational-test: Add proper main() declaration to fix gcc warnings.
|
13 years ago |
Mans Rullgard
|
2912e87a6c
Replace FFmpeg with Libav in licence headers
|
13 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
|
14 years ago |
Diego Biurrun
|
ba87f0801d
Remove explicit filename from Doxygen @file commands.
|
14 years ago |
Diego Biurrun
|
bad5537e2c
Use full internal pathname in doxygen @file directives.
|
15 years ago |
Diego Biurrun
|
674bd4f691
cosmetics: Use 'num' instead of 'nom' as abbreviation for numerator.
|
15 years ago |
Diego Biurrun
|
89c9ff504b
spelling/grammar/consistency review part I
|
15 years ago |
Diego Biurrun
|
dfcb6b56f9
Directly #include a bunch of indirectly #included headers.
|
15 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
|
17 years ago |
Dujardin Bernard
|
0b0065992e
move doxy comments from rational.c to rational.h and add some new comments
|
17 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
|
18 years ago |
Michael Niedermayer
|
0912bf577a
for floats fabs is better & smaller then ABS
|
18 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.
|
19 years ago |
Diego Biurrun
|
80391552c9
libavutil: Remove pointless rational test program.
|
12 years ago |