Debian Codegraph @

converter/ppm/ppmtompeg/tst/README

raw
1 The test in this directory is derived from that in the Berkeley mpeg
2 package, but we have trimmed it down for the purposes of the Netpbm
3 package to save space.
4
5 First of all, the Berkeley package had Berkeley YUV files for sample input
6 (in the 'ts' directory). But we converted them to JPEG to save a great
7 deal of space (even when the package is gzipped).
8
9 We modified the ts.param file to work with the JPEG files and updated the
10 expected results file to correspond to the JPEG input (the expected results
11 are different after the JPEG conversion because JPEG conversion is lossy).
12
13 We kept some of the other parameter files from the Berkeley package in
14 case someone can get some use out of them, but did not update them to
15 use the JPEG files. You'll have to do that yourself. And we removed
16 the expected results files for them, since you can't generate those
17 results with the inputs we have supplied.
18
19 Note that JPEG input doesn't really exercise the most standard function
20 of ppmtompeg. As its name suggests, it's main purpose is to take PPM
21 frames as input. You can use jpegtoppm to create PPM input and then
22 modify the parameter files if you want to test that. We have not, however
23 supplied an expected results file for that.
24
25 The .mpg files are what ppmtojpeg output as the mpeg movie when we
26 ran it on the jpeg files in the 'ts' directory.
27
28 The .stat files are what ppmtojpeg output when we used the -stat
29 option in generating the expected results. As part of your test, use
30 the -stat option and compare yours to the expected results.