]> git.sesse.net Git - ffmpeg/commitdiff
fate: Add test for -exact_rice_parameters 1
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 19 May 2015 11:43:18 +0000 (13:43 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 19 May 2015 11:43:18 +0000 (13:43 +0200)
tests/fate/acodec.mak
tests/ref/acodec/flac-exact-rice [new file with mode: 0644]

index 56301d34d785f82c1ae67c8c10c3291e252976d8..d693e9e65d96902a2b6123482dd15e3e2b2b83aa 100644 (file)
@@ -113,10 +113,13 @@ fate-acodec-dca2: CMP_SHIFT = -2048
 fate-acodec-dca2: CMP_TARGET = 527
 fate-acodec-dca2: SIZE_TOLERANCE = 1632
 
-FATE_ACODEC-$(call ENCDEC, FLAC, FLAC) += fate-acodec-flac
+FATE_ACODEC-$(call ENCDEC, FLAC, FLAC) += fate-acodec-flac fate-acodec-flac-exact-rice
 fate-acodec-flac: FMT = flac
 fate-acodec-flac: CODEC = flac -compression_level 2
 
+fate-acodec-flac-exact-rice: FMT = flac
+fate-acodec-flac-exact-rice: CODEC = flac -compression_level 2 -exact_rice_parameters 1
+
 FATE_ACODEC-$(call ENCDEC, G723_1, G723_1) += fate-acodec-g723_1
 fate-acodec-g723_1: tests/data/asynth-8000-1.wav
 fate-acodec-g723_1: SRC = tests/data/asynth-8000-1.wav
diff --git a/tests/ref/acodec/flac-exact-rice b/tests/ref/acodec/flac-exact-rice
new file mode 100644 (file)
index 0000000..6f6d274
--- /dev/null
@@ -0,0 +1,4 @@
+aab144de213ae684ca008a3e0afe5e28 *tests/data/fate/acodec-flac-exact-rice.flac
+360454 tests/data/fate/acodec-flac-exact-rice.flac
+95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-flac-exact-rice.out.wav
+stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400