[FFmpeg-cvslog] fate: Add test for -exact_rice_parameters 1

Michael Niedermayer git at videolan.org
Tue May 19 14:05:57 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue May 19 13:43:18 2015 +0200| [df5e408d32a096cb91f362a43e6018223bc5a911] | committer: Michael Niedermayer

fate: Add test for -exact_rice_parameters 1

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df5e408d32a096cb91f362a43e6018223bc5a911
---

 tests/fate/acodec.mak            |    5 ++++-
 tests/ref/acodec/flac-exact-rice |    4 ++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index 56301d3..d693e9e 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 0000000..6f6d274
--- /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



More information about the ffmpeg-cvslog mailing list