aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-19 13:43:18 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-19 13:43:18 +0200
commitdf5e408d32a096cb91f362a43e6018223bc5a911 (patch)
tree19b894444bb24cd7ab8773e776dac0142319ce1e
parent80f9d6e0ab242d0549ee47ffbfe8e58bd78cad12 (diff)
downloadffmpeg-df5e408d32a096cb91f362a43e6018223bc5a911.tar.gz
fate: Add test for -exact_rice_parameters 1
-rw-r--r--tests/fate/acodec.mak5
-rw-r--r--tests/ref/acodec/flac-exact-rice4
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index 56301d34d7..d693e9e65d 100644
--- a/tests/fate/acodec.mak
+++ b/tests/fate/acodec.mak
@@ -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
index 0000000000..6f6d27427d
--- /dev/null
+++ b/tests/ref/acodec/flac-exact-rice
@@ -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