1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-21 08:45:06 +02:00
ffmpeg/tests
Henrik Gramner 8bc67ec2c0 Checkasm: assembly testing and benchmarking tool
It provides the following features:
 * verify correctness by comparing output to the C version.
 * detect failure to save and restore clobbered callee-saved registers.
 * detect 32-bit parameters being used as if they were 64-bit in x86-64
   (the upper halves are not guaranteed to be zero - but in practice
   they very often are, which makes those bugs hard to spot otherwise).
 * easy benchmarking.

Compile by running 'make checkasm'.
Execute by running 'tests/checkasm/checkasm'.

Optional arguments are '--bench' to run benchmarks for all functions,
'--bench=<pattern>' to run benchmarks for all functions that starts with
<pattern>, and '<integer>' to seed the PRNG for reproducible results.

Contains unit tests for most h264pred functions to get started, more tests
can be added afterwards using those as a reference.

Loosely based on code from x264. Currently only supports x86 and x86-64,
but additional architectures shouldn't be too much of an obstacle to add.

Note that functions with floating point parameters or floating point
return values are not supported. Some compiler-specific features or
preprocessor hacks would likely be required to add support for that.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2015-07-12 16:39:07 +02:00
..
checkasm Checkasm: assembly testing and benchmarking tool 2015-07-12 16:39:07 +02:00
fate fate-g2m3: disable the audio stream 2015-07-01 21:42:48 +02:00
filtergraphs FATE: add a test for the ONE_STR mapping mode of the channelmap filter 2014-03-16 07:44:03 +01:00
ref h261: Signal freeze picture release for intra frames 2015-07-07 15:11:15 +02:00
audiogen.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
base64.c tests: K&R formatting cosmetics for test programs 2012-01-18 21:07:17 +01:00
fate-run.sh fate: Reduce the number of frames used to test video filters 2015-05-10 13:49:30 +02:00
fate.sh fate: add explicit support for the toolchain configure option 2015-03-16 11:55:47 +01:00
lavf-regression.sh Remove avserver. 2014-06-18 14:55:28 +02:00
Makefile Checkasm: assembly testing and benchmarking tool 2015-07-12 16:39:07 +02:00
md5.sh fate: improve md5sum utility selection 2012-10-15 21:40:08 +01:00
reference.pnm Replace lena.pnm 2014-11-28 17:55:27 -05:00
regression-funcs.sh lavf: add AVFMT_FLAG_BITEXACT. 2014-05-15 07:42:07 +02:00
rotozoom.c fate: avoid freopen(NULL) in videogen/rotozoom 2012-06-07 11:28:39 +01:00
tiny_psnr.c tiny_psnr: switch f32 handling to floating point 2013-10-15 19:10:33 +02:00
utils.c fate: teach videogen/rotozoom to output a single raw video stream 2012-05-29 08:27:19 +01:00
videogen.c fate: avoid freopen(NULL) in videogen/rotozoom 2012-06-07 11:28:39 +01:00