[FFmpeg-devel] [PATCH] wma encoder regtest fix
Benjamin Larsson
banan
Thu Feb 12 10:49:02 CET 2009
Hi, attached is a proposed fix to the elusive wmaencoder regtests. I
don't know if it works on all platforms so please test and report back
the checksums. Basically it rounds the sine tables to 16-bit accuracy.
It still uses sinf which could be a source of error when the angle is small.
I also posted this in another thread but I guess it got buried in the
massive mail flow.
MvH
Benjamin Larsson
Compiled with --enable-gpl --enable-debug=3 --disable-optimizations
--enable-swscale I get this with 4.3.2 on amd64:
@@ -205,14 +205,14 @@
353368 ./tests/data/a-flac.flac
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/flac.vsynth.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
-4435d87463cd6c5407bd88cca241ca56 *./tests/data/a-wmav1.asf
+4cd042a85c9c3f52124d6bcdba8cefdb *./tests/data/a-wmav1.asf
106004 ./tests/data/a-wmav1.asf
-stddev:12251.38 PSNR: 14.56 bytes: 1056812/ 1058444
-stddev: 2105.96 PSNR: 29.85 bytes: 1048620/ 1058444
-24ae726aef89e5d17e315c64182f4c61 *./tests/data/a-wmav2.asf
+stddev:12251.32 PSNR: 14.56 bytes: 1056812/ 1058444
+stddev: 2105.95 PSNR: 29.85 bytes: 1048620/ 1058444
+36491e6aca4516616e6b0c600330070a *./tests/data/a-wmav2.asf
106044 ./tests/data/a-wmav2.asf
-stddev:12255.80 PSNR: 14.55 bytes: 1056812/ 1058444
-stddev: 2099.27 PSNR: 29.88 bytes: 1048620/ 1058444
+stddev:12255.59 PSNR: 14.55 bytes: 1056812/ 1058444
+stddev: 2099.25 PSNR: 29.88 bytes: 1048620/ 1058444
89f5b8dd97e0dddbe59af0d44fd229f3 *./tests/data/a-pcm_alaw.wav
529256 ./tests/data/a-pcm_alaw.wav
0568b0b9a72e31559e150e7e09d301cd *./tests/data/pcm.vsynth.out.wav
make: *** [codectest] Error 1
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: regtest.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090212/ef4bbed4/attachment.asc>
More information about the ffmpeg-devel
mailing list