summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-12-04 07:26:33 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-12-04 07:28:45 +0000
commitd1d6f965d81bab2076d67cdc1dabd5a1f5bb2d30 (patch)
treec0a1b4315d5428c76d48c2c74b0f7c2b9a8f12c6
parent1b8649c2ce95da0a12d90f6acf7171b4fc6580db (diff)
fate-opus: update to match the changes from RFC8251
Also change note to say that we compare against the officially decoded samples rather than our own, this was changed long ago. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-rw-r--r--tests/fate/opus.mak13
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/fate/opus.mak b/tests/fate/opus.mak
index b13d86c138..46e90168d6 100644
--- a/tests/fate/opus.mak
+++ b/tests/fate/opus.mak
@@ -1,10 +1,6 @@
# The samples were produced by simply rewrapping the official test vectors from
-# their custom format into Matroska.
-# The reference files were created with our decoder and tested against the
-# libopus output with the official opus_compare tool. We cannot use libopus
-# output as reference directly, because the use of different resamplers would
-# require too high fuzz values, which can hide bugs.
-# Before adding new tests here, always make sure they pass opus_compare.
+# their custom format into Matroska. The reference decoded outputs are from the
+# newest testvectors file from RFC8251
OPUS_CELT_SAMPLES = $(addprefix testvector, 01 07 11) tron.6ch.tinypkts
OPUS_HYBRID_SAMPLES = $(addprefix testvector, 05 06)
@@ -28,11 +24,12 @@ FATE_OPUS := $(sort $(FATE_OPUS))
$(FATE_OPUS): CMP = stddev
$(FATE_OPUS): CMP_UNIT = s16
$(FATE_OPUS): FUZZ = 3
+fate-opus-testvector01: CMP_TARGET = 1
fate-opus-testvector02: CMP_TARGET = 191
fate-opus-testvector03: CMP_TARGET = 139
fate-opus-testvector04: CMP_TARGET = 119
-fate-opus-testvector05: CMP_TARGET = 108
-fate-opus-testvector06: CMP_TARGET = 106
+fate-opus-testvector05: CMP_TARGET = 109
+fate-opus-testvector06: CMP_TARGET = 109
fate-opus-testvector08: CMP_TARGET = 6
fate-opus-testvector10: CMP_TARGET = 38
fate-opus-testvector12: CMP_TARGET = 160