ffmpeg/tests/rotozoom.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.2 KiB
Plaintext

ffmpeg regression test
88288ad1598d634386c91a7e4b83d099 *./data/a-mpeg1.mpg
193481 ./data/a-mpeg1.mpg
ce245faede79604bb268f93689a490d6 *./data/out.yuv
stddev: 4.96 PSNR:34.21 bytes:7602176
a59a2a0d04768b9dcd51ab13f751f0ef *./data/a-mpeg2.mpg
199231 ./data/a-mpeg2.mpg
bccb76fc30fca87cc401e41f4c0ef154 *./data/out.yuv
stddev: 4.97 PSNR:34.18 bytes:7602176
eba2bff497863dbe8dad4a771fe14910 *./data/a-mpeg2.mpg
198404 ./data/a-mpeg2.mpg
107af0aac7f32378988469bd6eae9c31 *./data/out.yuv
stddev: 4.98 PSNR:34.17 bytes:7602176
92962436161235f3cd2cede031eec94b *./data/a-mpeg2i.mpg
205006 ./data/a-mpeg2i.mpg
d215d0f3cbbfb687a929ccf2dd1a034a *./data/out.yuv
stddev: 4.99 PSNR:34.16 bytes:7602176
df6924f747ea4355f9072e7ab0fe776d *./data/a-mpeg2thread.mpg
184101 ./data/a-mpeg2thread.mpg
abc276d30f874cb36d2fa113dabc67a8 *./data/out.yuv
stddev: 4.76 PSNR:34.56 bytes:7602176
339be26f8e88f27c8a7811c427e24492 *./data/a-mpeg2reuse.mpg
397244 ./data/a-mpeg2reuse.mpg
caa7723366dd267a5a14775565f2df2e *./data/out.yuv
stddev: 4.77 PSNR:34.54 bytes:7602176
dc68a5115d1bf1bb2eb2ce9bb237bd79 *./data/a-msmpeg4v2.avi
129504 ./data/a-msmpeg4v2.avi
25b5ba0b024fcd4028e707ffbeb80f55 *./data/out.yuv
stddev: 5.33 PSNR:33.57 bytes:7602176
261326db3c2561889c53da3c395af4b2 *./data/a-msmpeg4.avi
127110 ./data/a-msmpeg4.avi
638e64258f26330f3cd36d8d2bbc73f5 *./data/out.yuv
stddev: 5.33 PSNR:33.57 bytes:7602176
a931648e881765ff168239440b772842 *./data/a-wmv1.avi
128880 ./data/a-wmv1.avi
f80d2809e79af3ebcfe831deab9af03c *./data/out.yuv
stddev: 5.33 PSNR:33.58 bytes:7602176
38ad36644b4521607f56cb4f7fbb6114 *./data/a-wmv2.avi
129214 ./data/a-wmv2.avi
f80d2809e79af3ebcfe831deab9af03c *./data/out.yuv
stddev: 5.33 PSNR:33.58 bytes:7602176
0423035ddc9aeb8a0b2c29f1d202e0ad *./data/a-h261.avi
191124 ./data/a-h261.avi
452714d0883f555e831888de0be1fc49 *./data/out.yuv
stddev: 6.39 PSNR:32.00 bytes:7602176
f02f10a94fc39a7518141bef9e532bd2 *./data/a-h263.avi
159596 ./data/a-h263.avi
7ec66fb7dd4e5dddd3820c668d6636aa *./data/out.yuv
stddev: 5.44 PSNR:33.41 bytes:7602176
804a8facc831125842453fb3b7016735 *./data/a-h263p.avi
868164 ./data/a-h263p.avi
80fb224bebbe2e04f228da7485b905c5 *./data/out.yuv
stddev: 1.91 PSNR:42.49 bytes:7602176
0c19edbe67bfbb521569ee95ebdd3fa5 *./data/a-odivx.mp4
120196 ./data/a-odivx.mp4
8b7657a7f9fc7298cc016abb466d1d19 *./data/out.yuv
stddev: 5.34 PSNR:33.56 bytes:7602176
4a8912deb0182471aaaf4fc3ece39fb2 *./data/a-huffyuv.avi
6454196 ./data/a-huffyuv.avi
dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
540bdc49a339db675d12cffc9fce2454 *./data/a-mpeg4-rc.avi
228094 ./data/a-mpeg4-rc.avi
764d5da4f1c8eda9bd554179ed1ea283 *./data/out.yuv
stddev: 4.26 PSNR:35.51 bytes:7602176
6844785bcca74b4b9dc77ce6d21a3871 *./data/a-mpeg4-adv.avi
172538 ./data/a-mpeg4-adv.avi
49fecc1105d25ff1c2fc9c0d4cb821b0 *./data/out.yuv
stddev: 4.84 PSNR:34.41 bytes:7602176
d5f2da1edcf1979d71bec183e461b5aa *./data/a-mpeg4-thread.avi
253098 ./data/a-mpeg4-thread.avi
da1a5a3301ad2bdf5806a51ffa74d4fb *./data/out.yuv
stddev: 4.06 PSNR:35.93 bytes:7602176
ddcb9476113fac71ee609018984353ce *./data/a-mpeg4-Q.avi
165016 ./data/a-mpeg4-Q.avi
94d8bd3897ac20bb3bef9cf384f9abd0 *./data/out.yuv
stddev: 4.01 PSNR:36.05 bytes:7602176
217c694a61eea2dd8896d558fed3fc05 *./data/a-error-mpeg4-adv.avi
175778 ./data/a-error-mpeg4-adv.avi
62106b2ae4c1cfc985face2dadb90cbc *./data/out.yuv
stddev: 10.05 PSNR:28.08 bytes:7602176
75aeb8364b81a458af5523c4a2bfdb39 *./data/a-mpeg4-nr.avi
154392 ./data/a-mpeg4-nr.avi
33a6f702049ef4e074c6266b9d17d3e9 *./data/out.yuv
stddev: 4.73 PSNR:34.61 bytes:7602176
5ebacda3ae827549f7df10ce0361f617 *./data/a-mpeg1b.mpg
231306 ./data/a-mpeg1b.mpg
c665bd56f8e241f8bf3a5a8f803227c3 *./data/out.yuv
stddev: 4.13 PSNR:35.78 bytes:7602176
213976bbab45a461e3334feb8fef38d9 *./data/a-mjpeg.avi
702528 ./data/a-mjpeg.avi
b1aa72cfb6f9cc3f525b27abc86a8f51 *./data/out.yuv
stddev: 4.38 PSNR:35.28 bytes:7602176
438065c90b5fbec7c670fbf4eb70f24d *./data/a-ljpeg.avi
4765522 ./data/a-ljpeg.avi
dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
2123b30d786e6e6e25caf337f24e7834 *./data/a-rv10.rm
154850 ./data/a-rv10.rm
7ec66fb7dd4e5dddd3820c668d6636aa *./data/out.yuv
stddev: 5.44 PSNR:33.41 bytes:7602176
d4a6977b0162d8c1cfea5ffd0a3d5f56 *./data/a-rv20.rm
133224 ./data/a-rv20.rm
fce5eda7118cbb0bd60da60e827842ee *./data/out.yuv
stddev: 5.42 PSNR:33.43 bytes:7602176
5e6ad8292d66d4aff3dfcbdc61696c94 *./data/a-asv1.avi
831476 ./data/a-asv1.avi
c96ff7fd17c52f99ddb7922a4cb9168f *./data/out.yuv
stddev: 10.47 PSNR:27.72 bytes:7602176
f41877971145f58fae85c613ec570d66 *./data/a-asv2.avi
788036 ./data/a-asv2.avi
74a78015b64b2cf8cb9da2e44f508a69 *./data/out.yuv
stddev: 10.28 PSNR:27.88 bytes:7602176
d847c144e7b72027531047ea4c441cbf *./data/a-flv.flv
131771 ./data/a-flv.flv
e61cd1e7c5a292d396ae90f4d2fb3db7 *./data/out.yuv
stddev: 5.33 PSNR:33.57 bytes:7602176
d0831a8339491fd680b650f05262e5d9 *./data/a-ffv1.avi
3524768 ./data/a-ffv1.avi
dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
2d665a41c46d8e581cf5898e85a2b55f *./data/a-snow.avi
326532 ./data/a-snow.avi
c0b1b63dc45141c76d538edfd618ac19 *./data/out.yuv
stddev: 2.40 PSNR:40.51 bytes:7602176
d0a8bdb25d7ed641eab0debcac396eb7 *./data/a-snow53.avi
2725842 ./data/a-snow53.avi
dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
920c610ec324b772d882b0717e375943 *./data/a-svq1.mov
768683 ./data/a-svq1.mov
89b1946242e6998e05fc9a6e09668edd *./data/out.yuv
stddev: 3.43 PSNR:37.39 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