ffmpeg/tests/ffmpeg.regression.ref
Justin Ruggles 132041f06f While adding stereo rematrixing, I came across something that needs to
be fixed even without adding the feature.  The output correctly uses 4
dummy values for the rematrixing flags in block-0, but the bit
allocation routine does not take these bits into account.  From what I
can tell, there was a patch in 2003 that corrected the output to make it
DVD and spec compatible, but it didn't correct the bit allocation.  It's
only 4 bits over the entire 6 blocks, so overflow errors would happen
rarely or never, but it's still worth fixing.  So here is a fix.

patch by (Justin Ruggles {jruggle earthlink net)

Originally committed as revision 4179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-05 14:10:52 +00:00

153 lines
6.3 KiB
Plaintext

ffmpeg regression test
511897938cd4a9dd5d0ab38b4658be18 *./data/a-mpeg1.mpg
734274 ./data/a-mpeg1.mpg
eff964f940a35427fa9e8d35fb4f5699 *./data/out.yuv
stddev: 7.66 PSNR:30.43 bytes:7602176
5e1e8136cf2565f7cfbcfc7eda8d8f2b *./data/a-mpeg2.mpg
750226 ./data/a-mpeg2.mpg
27ddfd3e44537661eb14b96129a055ef *./data/out.yuv
stddev: 7.69 PSNR:30.40 bytes:7602176
004245d17ae9322ea3c6dc4b0f0554d6 *./data/a-mpeg2.mpg
746381 ./data/a-mpeg2.mpg
c7b9a71245912671889849ed560b67d3 *./data/out.yuv
stddev: 7.69 PSNR:30.40 bytes:7602176
2a77ebec455e17c4ab897044c9b3040a *./data/a-mpeg2i.mpg
754366 ./data/a-mpeg2i.mpg
ddf889858529d09c8fe31c701deacd16 *./data/out.yuv
stddev: 7.71 PSNR:30.37 bytes:7602176
d3d2fd4dd186d8c9de7666398d5af13a *./data/a-mpeg2thread.mpg
816506 ./data/a-mpeg2thread.mpg
9db3aca554bb8ee337a109a3b8629575 *./data/out.yuv
stddev: 7.64 PSNR:30.45 bytes:7602176
052bcdb13286f4f7137a50c4db032104 *./data/a-mpeg2reuse.mpg
2115703 ./data/a-mpeg2reuse.mpg
526e6e6818296a1b63d91fc165e0bda8 *./data/out.yuv
stddev: 7.68 PSNR:30.41 bytes:7602176
09086e7b020e9425a8f7e05372dbcfcd *./data/a-msmpeg4v2.avi
642666 ./data/a-msmpeg4v2.avi
7646e5cc93452b5fb380c8c4c5f535f4 *./data/out.yuv
stddev: 8.02 PSNR:30.03 bytes:7602176
2a7548673b1fdddbb91e2a16698a6249 *./data/a-msmpeg4.avi
644964 ./data/a-msmpeg4.avi
cdc5d7403a16dc9450a2dbacb349dc70 *./data/out.yuv
stddev: 8.01 PSNR:30.04 bytes:7602176
199d97760f89a27406ab1c36eeb86045 *./data/a-wmv1.avi
648074 ./data/a-wmv1.avi
09253222ab4eb95628c931a86006a2b1 *./data/out.yuv
stddev: 8.02 PSNR:30.04 bytes:7602176
1224b828b077ea06d07f60e2b5d65daa *./data/a-wmv2.avi
682132 ./data/a-wmv2.avi
09253222ab4eb95628c931a86006a2b1 *./data/out.yuv
stddev: 8.02 PSNR:30.04 bytes:7602176
83aa4946c21cd3b2b053638302a6bc64 *./data/a-h261.avi
735098 ./data/a-h261.avi
0a6e6dd4f09df9fe77ff29581c1a39c3 *./data/out.yuv
stddev: 9.14 PSNR:28.90 bytes:7602176
e73d7a4cad997f18587dff27094fb8f4 *./data/a-h263.avi
682226 ./data/a-h263.avi
f2b7fcff9de17f5aecfeb1090fe1963b *./data/out.yuv
stddev: 8.08 PSNR:29.97 bytes:7602176
fc01a5723a0d629bb73c74d64692120d *./data/a-h263p.avi
2414342 ./data/a-h263p.avi
28fd12ac0b168252d81df6f6e60a5d17 *./data/out.yuv
stddev: 2.07 PSNR:41.76 bytes:7602176
9aceeacc860415019807c8f5f462dd1b *./data/a-odivx.mp4
554440 ./data/a-odivx.mp4
e400c9175dd1811cdeee7be5555d33f1 *./data/out.yuv
stddev: 7.99 PSNR:30.06 bytes:7602176
8a9a98678a2e9c2e857f741cbb8e9ccb *./data/a-huffyuv.avi
7932708 ./data/a-huffyuv.avi
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
24f8d8a1c15c078f1f1e443b85688444 *./data/a-mpeg4-rc.avi
820964 ./data/a-mpeg4-rc.avi
8458b4ddaca643a3ec1264c1ee2f4986 *./data/out.yuv
stddev: 10.41 PSNR:27.77 bytes:7602176
81078d7852dfd6041ff17b5dc8ed0ffc *./data/a-mpeg4-adv.avi
600240 ./data/a-mpeg4-adv.avi
0b7935cee2070f3b838478cea6dc4b3c *./data/out.yuv
stddev: 10.25 PSNR:27.90 bytes:7602176
c5478162c76db62162b082594c4e7ee1 *./data/a-mpeg4-thread.avi
756550 ./data/a-mpeg4-thread.avi
7e4e2cf2659aa158f5ffed2be45a9c3d *./data/out.yuv
stddev: 12.31 PSNR:26.31 bytes:7602176
50867a2530035615152f1e068c989bfc *./data/a-mpeg4-Q.avi
899514 ./data/a-mpeg4-Q.avi
cdb77818e108eab89c9ac4bcaf350e19 *./data/out.yuv
stddev: 5.69 PSNR:33.00 bytes:7602176
f89ab211c5a4a0267fc0318c02d735ca *./data/a-error-mpeg4-adv.avi
750788 ./data/a-error-mpeg4-adv.avi
83c96db61822c4ee2b9d46f1055264c5 *./data/out.yuv
stddev: 17.22 PSNR:23.40 bytes:7602176
adf36cbca712f8202d474cf1f99bdcd0 *./data/a-mpeg4-nr.avi
689772 ./data/a-mpeg4-nr.avi
79f4e8263e40822c0cbf35725f375b24 *./data/out.yuv
stddev: 7.03 PSNR:31.18 bytes:7602176
6aebee12c0ff95756e11d32f305d7e11 *./data/a-mpeg1b.mpg
1037657 ./data/a-mpeg1b.mpg
09a77de112e144c562bc1398b111b61b *./data/out.yuv
stddev: 6.35 PSNR:32.06 bytes:7602176
f7562207c0e7490e570c91c2900b73f6 *./data/a-mjpeg.avi
1566544 ./data/a-mjpeg.avi
18c3a76f984e717dd886d21fa04355f6 *./data/out.yuv
stddev: 7.93 PSNR:30.13 bytes:7602176
7e434004d285155cf81ed206bb387870 *./data/a-ljpeg.avi
6263462 ./data/a-ljpeg.avi
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
49c87af74432890cadb28b93da1c653d *./data/a-rv10.rm
677483 ./data/a-rv10.rm
f2b7fcff9de17f5aecfeb1090fe1963b *./data/out.yuv
stddev: 8.08 PSNR:29.97 bytes:7602176
a00fbb82c030fe41febe1d03eacb338e *./data/a-rv20.rm
652897 ./data/a-rv20.rm
203e9790cb25b1d308fd602275afbb0e *./data/out.yuv
stddev: 8.27 PSNR:29.76 bytes:7602176
98c310d768d0bee325424f6e1cd92548 *./data/a-asv1.avi
1487828 ./data/a-asv1.avi
925320b74c7dfda5dc8378dd879ae2c3 *./data/out.yuv
stddev: 20.00 PSNR:22.10 bytes:7602176
629fe6fdebcd295e0ad76f5bbaf3abec *./data/a-asv2.avi
1453500 ./data/a-asv2.avi
0b310840a6d3970595983491687669df *./data/out.yuv
stddev: 18.82 PSNR:22.63 bytes:7602176
de42cb5a15bfa8e70cf60edda0b32355 *./data/a-flv.flv
657991 ./data/a-flv.flv
4d9c04e7017dc68da7891048c46c1c37 *./data/out.yuv
stddev: 8.08 PSNR:29.97 bytes:7602176
a7ef4746f27be309138c188e327d3ebe *./data/a-ffv1.avi
2653642 ./data/a-ffv1.avi
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
0c447fd23c33ef06b09ecae5e1959185 *./data/a-snow.avi
1263028 ./data/a-snow.avi
d2d86a95325f5c166fc07e5670b2adb6 *./data/out.yuv
stddev: 2.97 PSNR:38.67 bytes:7602176
de8eac1454746a37eae0b1ff88c0f849 *./data/a-snow53.avi
3535414 ./data/a-snow53.avi
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
b5b6275f58f012de73644bbaa9080097 *./data/a-svq1.mov
1383999 ./data/a-svq1.mov
ccc201054669e94717022bb4f2aea4ce *./data/out.yuv
stddev: 10.99 PSNR:27.30 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
95712 ./data/a-mp2.mp2
6956f2c5185c4edbae648c614992a14b *./data/out.wav
stddev:9330.70 PSNR:16.92 bytes:527360
stddev:4396.13 PSNR:23.46 bytes:526336
3bc982921d6354be383ba37c1dbcf958 *./data/a-ac3.rm
97983 ./data/a-ac3.rm
9e6e66847a568ef4f1f229b0939d2aae *./data/a-g726.wav
24268 ./data/a-g726.wav
a719ab6d47d8d601520edb13bf6136b4 *./data/out.wav
stddev:8459.88 PSNR:17.77 bytes:48128
bdc512b78e2ccb1d815aec08794650eb *./data/a-adpcm_ima.wav
266288 ./data/a-adpcm_ima.wav
1316b03da3bdc8df9785c7995e3c9b2a *./data/out.wav
stddev:13585.76 PSNR:13.66 bytes:527360
d2eee867856d2bdb6d08e936d4ceec0c *./data/a-adpcm_ms.wav
267308 ./data/a-adpcm_ms.wav
91a84bb4f319a3a0bf0c0441b3d3a529 *./data/out.wav
stddev:1050.18 PSNR:35.89 bytes:527360