Commit Graph

27 Commits

Author SHA1 Message Date
Gaurav Narula b481bbc32a tests: K&R formatting cosmetics for test programs 2012-01-18 21:07:17 +01:00
Diego Biurrun 03acaa4a43 tests: Remove disabled code. 2011-04-29 18:08:46 +02:00
Mans Rullgard 2912e87a6c Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Måns Rullgård 3ec8d24ac9 tiny_psnr: change error exit code from -1 to 1
Originally committed as revision 24149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:26:39 +00:00
Måns Rullgård cd3cb048d9 tiny_psnr: check fread() return values
Originally committed as revision 24148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:26:36 +00:00
Måns Rullgård f6dddd3374 tiny_psnr: use abs()
Originally committed as revision 24146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 19:27:07 +00:00
Måns Rullgård c43d77c163 tiny_psnr: skip wav headers on input files
The byte count printed excludes the header, and offsets are applied
after the the headers are skipped.

Reference files updated to reflect new output.  Some stddev/psnr values
have changed slightly due to headers no longer being compared.

Originally committed as revision 24143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 16:06:05 +00:00
Vitor Sessak cb0067ec25 tiny_psnr: print max absolute difference between files
Regression test reference updates are due to the extra output
from tiny_psnr.

Patch by Vitor Sessak

Originally committed as revision 24132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:37 +00:00
Justin Ruggles b00803e0ae fix a rounding error in the PSNR calculation and update the many regression
test references that this change affects.

Originally committed as revision 20492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 23:09:47 +00:00
Michael Niedermayer 1e90317b65 Fix tiny_psnr so it compares all bytes (it did skip the last block).
Also display both file sizes and slightly change the output formatting.
[not split in 3 patches to avoid the huge checksum files from being changed
 and having to be reviewed 3 times, if people want it split i can revert and
 split it]

Originally committed as revision 14374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 17:24:36 +00:00
Diego Biurrun cc8de8e8a5 cosmetics: typo/grammar fixes
Originally committed as revision 14371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 17:04:14 +00:00
Michael Niedermayer e740c796d8 Fix segfault with non existing input files.
Originally committed as revision 14369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 15:47:28 +00:00
Diego Biurrun e9b67fe42e Disable unused function, fixes the warning:
tests/tiny_psnr.c:55: warning: ‘exp16’ defined but not used

Originally committed as revision 10968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 04:57:28 +00:00
Diego Biurrun 2d2fe55737 10l: Revert accidental removal of unused code.
Originally committed as revision 9142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 15:52:57 +00:00
Diego Biurrun dd4ca89143 Fix seek_test compilation for out-of-tree builds.
Originally committed as revision 9135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 13:36:02 +00:00
Diego Biurrun 244e1e644c Use proper license header.
Originally committed as revision 9122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 23:14:54 +00:00
Benjamin Larsson b8889ea51f Possibility to skip bytes in the beginning of a file.
Originally committed as revision 5783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-18 21:41:49 +00:00
Benjamin Larsson ddbddce547 Fix samples to bytes relation.
Originally committed as revision 5314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-24 13:04:12 +00:00
Diego Biurrun 5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun 115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Michael Niedermayer ba96e97fdd support comparing files with some posiion offset relative to each other
Originally committed as revision 3921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 20:32:47 +00:00
Michael Niedermayer 0c90161f0f signed 16bit support
Originally committed as revision 3913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 01:21:32 +00:00
Michael Niedermayer 0d6d0cf953 fopen "r" -> "rb"
Originally committed as revision 3772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-23 20:13:59 +00:00
Michael Niedermayer eeaa742c3e 1/0 fix for files with size=0
Originally committed as revision 3484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-20 15:40:50 +00:00
Michael Niedermayer 8176bd1a46 overflow fix
Originally committed as revision 3250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-25 18:39:57 +00:00
Michael Niedermayer 9e2a16e1a7 fixpoint log() for tiny_psnr so it can output actual PSNR
Originally committed as revision 2640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-31 02:32:54 +00:00
Michael Niedermayer 67cbe68129 check quality too, not only md5 (but dont take the scores too serious, the different codecs use different quality/bitrates and its just based on a artificially generated testvideo)
small changes to some test to check a broader area of features

Originally committed as revision 1751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-10 21:29:31 +00:00