Fix samples to bytes relation.
authorBenjamin Larsson <banan@ludd.ltu.se>
Mon, 24 Apr 2006 13:04:12 +0000 (13:04 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Mon, 24 Apr 2006 13:04:12 +0000 (13:04 +0000)
Originally committed as revision 5314 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/ffmpeg.regression.ref
tests/rotozoom.regression.ref
tests/tiny_psnr.c

index 703ac10d724b70caddf466a727a0898a83a07de0..ee55d20ae5a43e7fc4f8a257f15ae092ae91b0fd 100644 (file)
@@ -148,23 +148,23 @@ 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
+stddev:9330.70 PSNR:16.92 bytes:1054720
+stddev:4396.13 PSNR:23.46 bytes:1052672
 aefe11ab5067621a1c674859d6413891 *./data/a-ac3.rm
 98203 ./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
+stddev:8459.88 PSNR:17.77 bytes:96256
 bdc512b78e2ccb1d815aec08794650eb *./data/a-adpcm_ima.wav
 266288 ./data/a-adpcm_ima.wav
 1316b03da3bdc8df9785c7995e3c9b2a *./data/out.wav
-stddev:13585.76 PSNR:13.66 bytes:527360
+stddev:13585.76 PSNR:13.66 bytes:1054720
 d2eee867856d2bdb6d08e936d4ceec0c *./data/a-adpcm_ms.wav
 267308 ./data/a-adpcm_ms.wav
 91a84bb4f319a3a0bf0c0441b3d3a529 *./data/out.wav
-stddev:1050.18 PSNR:35.89 bytes:527360
+stddev:1050.18 PSNR:35.89 bytes:1054720
 5d99e12e911b0f96d44a5792db23dbe2 *./data/a-adpcm_yam.wav
 264236 ./data/a-adpcm_yam.wav
 1b3ad9196ca3e97bfe17259b2e2db470 *./data/out.wav
-stddev:18866.39 PSNR:10.81 bytes:528384
+stddev:18866.39 PSNR:10.81 bytes:1056768
index 725ea6d7c567d9c82bde5f37dbb68788d95f9099..cb43ded3e3a97fe0445ac970744a8c36a1810889 100644 (file)
@@ -148,23 +148,23 @@ stddev:  3.44 PSNR:37.38 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
+stddev:9330.70 PSNR:16.92 bytes:1054720
+stddev:4396.13 PSNR:23.46 bytes:1052672
 aefe11ab5067621a1c674859d6413891 *./data/a-ac3.rm
 98203 ./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
+stddev:8459.88 PSNR:17.77 bytes:96256
 bdc512b78e2ccb1d815aec08794650eb *./data/a-adpcm_ima.wav
 266288 ./data/a-adpcm_ima.wav
 1316b03da3bdc8df9785c7995e3c9b2a *./data/out.wav
-stddev:13585.76 PSNR:13.66 bytes:527360
+stddev:13585.76 PSNR:13.66 bytes:1054720
 d2eee867856d2bdb6d08e936d4ceec0c *./data/a-adpcm_ms.wav
 267308 ./data/a-adpcm_ms.wav
 91a84bb4f319a3a0bf0c0441b3d3a529 *./data/out.wav
-stddev:1050.18 PSNR:35.89 bytes:527360
+stddev:1050.18 PSNR:35.89 bytes:1054720
 5d99e12e911b0f96d44a5792db23dbe2 *./data/a-adpcm_yam.wav
 264236 ./data/a-adpcm_yam.wav
 1b3ad9196ca3e97bfe17259b2e2db470 *./data/out.wav
-stddev:18866.39 PSNR:10.81 bytes:528384
+stddev:18866.39 PSNR:10.81 bytes:1056768
index 2a19f4d4f709a68ac80dabeb72c0e659040099b3..b017eacc72f1befdfc8cc848b9c4a6b18f4c3810 100644 (file)
@@ -141,7 +141,7 @@ int main(int argc,char* argv[]){
     printf("stddev:%3d.%02d PSNR:%2d.%02d bytes:%d\n",
         (int)(dev/F), (int)(dev%F),
         (int)(psnr/F), (int)(psnr%F),
-        i);
+        i*len);
     return 0;
 }