Diego Pettenò
be449fca79
Convert asm keyword into __asm__.
...
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).
Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.
Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
c49d0e0fe2
Bump minor version after addition of FF_ARRAY_ELEMS macro.
...
Originally committed as revision 15623 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
ac809e814e
Add a macro to get the number of elements in a table.
...
Originally committed as revision 15619 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
89493e10ef
Don't include byteswap.h anymore.
...
Originally committed as revision 15603 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
aaa0df02d3
Allow using DECLARE_ALIGNED with Sun cc.
...
Originally committed as revision 15509 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
05b90fc0c5
Implement av_nearer_q() and av_find_nearest_q_idx() functions.
...
Originally committed as revision 15415 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
eed3607564
Avoid undefined behavior for removing elements that were not in the tree.
...
Originally committed as revision 15368 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
53e9d0105f
Fix generated md5, it was wrong for some input lengths.
...
Fix issue634.
Originally committed as revision 15335 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
9be50e3922
Only define x86 register names on x86.
...
Originally committed as revision 15328 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
6123abad2e
Remove wrong and unnecessary condition. VHOOK filters are not special
...
so they are not supposed to use the printf, fprintf, perror and puts
functions but av_log instead.
Originally committed as revision 15221 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
991945d0e4
Fix typo.
...
Originally committed as revision 15199 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
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
17 years ago
Stefano Sabatini
b76e3424ca
Cosmetics: remove a redundant and misplaced doxy.
...
Originally committed as revision 14856 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
e8e2b2ef17
Deprecate av_fifo_realloc(). av_fifo_realloc2() should be used instead.
...
Originally committed as revision 14855 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
8257b835cf
Implement av_fifo_realloc2().
...
Originally committed as revision 14846 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a8aefc8aed
Copy and paste LGPL from tree.h, the previous one referred to a non-existing
...
version.
Originally committed as revision 14818 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
82ed0b763a
Add missing stdint.h header to fix 'make checkheaders'.
...
Originally committed as revision 14816 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
ec0350c983
use LFG instead of Mersenne Twister for AC-3 PRNG
...
Originally committed as revision 14815 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8cb2db4edb
restore alphabetical order of TESTS
...
Originally committed as revision 14813 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
31bcb290cc
Add PCA to TESTS.
...
Originally committed as revision 14812 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4869f47eca
Add multiple inclusion guards for consistency and to avoid them being
...
forgotten in case they ever become neccessary.
Originally committed as revision 14810 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ab1388e435
Move context struct to c file.
...
Originally committed as revision 14809 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f43ad0fe74
Add prototypes to header (based on code by ramiro)
...
Originally committed as revision 14808 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6441737591
Make ff_pca_init() allocate it struct instead of letting the user provide
...
one (more robust ABI wise).
Originally committed as revision 14807 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7b0a6612c6
Do not mix declarations and statements (by ramiro).
...
Originally committed as revision 14806 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
88ccaf6f31
put testing code under #ifdef TEST
...
Originally committed as revision 14805 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cd5cd37741
Testing code uses random().
...
Originally committed as revision 14804 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a50bd69d9d
fix includes
...
Originally committed as revision 14803 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7a0d00d49e
Principal component analysis
...
(will be cleaned up in next commits)
Originally committed as revision 14802 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
2b409ca9d6
Remove hackish support for fastmemcpy from MPlayer.
...
Originally committed as revision 14764 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
5af4f1f3e3
move M_PI definition along with other math definitions
...
Originally committed as revision 14727 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
d1a12956a0
define some math constants so as not to depend on _XOPEN_SOURCE
...
Originally committed as revision 14725 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
76eb5c0523
Cosmetics: fix weird indent.
...
Originally committed as revision 14670 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
7f0026dded
Implement avutil_version().
...
Originally committed as revision 14665 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
bc02bc8686
Remove unused redefinition of av_log for test.
...
Originally committed as revision 14657 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
c3b9f5fbce
Remove a useless directive.
...
Originally committed as revision 14645 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
2daefd2c00
Cosmetics: indentation
...
Originally committed as revision 14644 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
6ba10f338a
Add av_memcpy_backptr(): deliberately overlapping memcpy variant.
...
Originally committed as revision 14641 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
354de1d0b5
misc spelling/wording fixes
...
Originally committed as revision 14539 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
c8fd5da42f
fix ARMv6 FASTDIV for divisor <=2
...
Originally committed as revision 14481 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f39e8b03c8
1000l typo my new PRNG converged to -1.
...
Originally committed as revision 14479 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
310d442456
Add a multiplicative LFG for those thinking the additive is not good
...
enough, just 4 lines of code.
Originally committed as revision 14478 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
9f31c7ef37
USE_FASTMEMCPY is now called CONFIG_FASTMEMCPY in MPlayer.
...
Originally committed as revision 14475 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2cf3c8632c
Document av_lfg_get().
...
Originally committed as revision 14461 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e80d474119
Warning about MTs speed.
...
Originally committed as revision 14460 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2754fe8ba5
Simple lagged fibonacci PRNG.
...
3.5 times faster than our mersene twister.
10 times less memory needed. (=less cache trashing)
Originally committed as revision 14458 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
58fe735631
Add random to list of test programs.
...
Originally committed as revision 14441 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
cf160899dd
Change return type of main function to int to avoid a warning.
...
Originally committed as revision 14440 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
00c6161d5a
Move #includes, which are only used in the test program, below the #ifdef
...
surrounding the test program to save an #ifdef at the top of the file.
Originally committed as revision 14439 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
51be0eb482
Change benchmarking code so it returns comparable values.
...
Originally committed as revision 14434 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago