Nicolas George
34123ab979
tiny_psnr: reindent after last commit.
13 years ago
Nicolas George
e6f7e22d18
tiny_psnr: support unseekable raw files.
...
If either one of the files if not seekable,
do not try to read headers.
It allows to use it with pipes on whole rawvideo data.
13 years ago
Reimar Döffinger
cbb7183498
tiny_psnr: allow searching for optimal shift value.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Gaurav Narula
b481bbc32a
tests: K&R formatting cosmetics for test programs
13 years ago
Diego Biurrun
03acaa4a43
tests: Remove disabled code.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
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
15 years ago
Måns Rullgård
cd3cb048d9
tiny_psnr: check fread() return values
...
Originally committed as revision 24148 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f6dddd3374
tiny_psnr: use abs()
...
Originally committed as revision 24146 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
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
17 years ago
Diego Biurrun
cc8de8e8a5
cosmetics: typo/grammar fixes
...
Originally committed as revision 14371 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e740c796d8
Fix segfault with non existing input files.
...
Originally committed as revision 14369 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Diego Biurrun
2d2fe55737
10l: Revert accidental removal of unused code.
...
Originally committed as revision 9142 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
dd4ca89143
Fix seek_test compilation for out-of-tree builds.
...
Originally committed as revision 9135 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
244e1e644c
Use proper license header.
...
Originally committed as revision 9122 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
19 years ago
Benjamin Larsson
ddbddce547
Fix samples to bytes relation.
...
Originally committed as revision 5314 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
20 years ago
Michael Niedermayer
0c90161f0f
signed 16bit support
...
Originally committed as revision 3913 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
0d6d0cf953
fopen "r" -> "rb"
...
Originally committed as revision 3772 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
eeaa742c3e
1/0 fix for files with size=0
...
Originally committed as revision 3484 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
8176bd1a46
overflow fix
...
Originally committed as revision 3250 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
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
22 years ago