Diego Biurrun
d12b5b2f13
build: Split test programs off into separate files
...
This avoids spurious library rebuilds when only the test program
code is changed and simplifies the build system.
9 years ago
Michael Niedermayer
d8a227f231
avutil/adler32: Fix data type in test code
...
Fixes "warning: argument #2 is incompatible with prototype:"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Timothy Gu
f73495686d
adler32: Fix doxy group definition
...
Based on a patch by James Almer <jamrial@gmail.com>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Timothy Gu
624672fcce
avutil/adler32: add Doxy group
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
d3f912c1f0
adler32: add comment for the SIMD code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
26585d2a7f
adler32: rewrite using integer SIMD.
...
about twice as fast as before.
the not CONFIG_SMALL case is also droped as it is not faster than the
CONFIG_SMALL case.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7f8027b76f
adler32: avoid "too big" check in the inner loop
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
4dccfff9dd
tests/examples: Mark some variables only used within their files as static.
13 years ago
Reimar Döffinger
d086c1203c
Add coverage exclusions for test code.
...
For some of the code e.g. doing timing measurements there is no
real point in running regression testing on it, thus it should
not be counted against coverage.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Mans Rullgard
bd55da1c08
adler32: whitespace cosmetics
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
f6252b4845
adler32: make test program more useful and add fate test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Måns Rullgård
2ed6f39944
Replace many includes of libavutil/common.h with what is actually needed
...
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
15 years ago
Diego Biurrun
bb504ac45e
Fix compilation of adler32 test program: Use av_log_set_level()
...
instead of assigning a value to the av_log_level variable.
Originally committed as revision 18040 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bfe3676feb
spelling/grammar/consistency review part II
...
Originally committed as revision 16848 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f3635240b7
Fix a couple of 'return type defaults to int' and 'control reaches end of
...
non-void function' warnings in test code.
Originally committed as revision 11491 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f8a80fd69d
main() --> main(void)
...
Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
7494517673
Add license from zlib.h instead of referring to it.
...
Originally committed as revision 6155 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f296446564
simpler, smaller and faster
...
Originally committed as revision 5800 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
1d94a6620f
simplify
...
Originally committed as revision 5786 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
38603ff65d
cleanup suggested by Michael Niedermayer
...
Originally committed as revision 5732 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
b9a73d8d2f
move adler32 to libavutil
...
Originally committed as revision 5731 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago