aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-31 03:08:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-01 12:14:49 +0200
commite6866b1c6702aee5b696c5a49c20edb136e0427c (patch)
treebfe7da9b0554c63c48beb6bcdf032cdd6ef106e7
parentaac41ec119a625a2460a47343fe47870a4726916 (diff)
downloadffmpeg-e6866b1c6702aee5b696c5a49c20edb136e0427c.tar.gz
fate: only check stddev for acodec-ra144
ra144 uses floats so bitexactness cannot be guranteed This should fix a long standing issue with icc Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--tests/fate/acodec.mak12
-rw-r--r--tests/ref/fate/acodec-ra1444
2 files changed, 7 insertions, 9 deletions
diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index 8937636fca..3d76e12f96 100644
--- a/tests/fate/acodec.mak
+++ b/tests/fate/acodec.mak
@@ -68,11 +68,13 @@ fate-acodec-g723_1: ENCOPTS = -b:a 6.3k
fate-acodec-g723_1: CMP_SHIFT = 8
FATE_ACODEC += fate-acodec-ra144
-fate-acodec-ra144: FMT = rm
-fate-acodec-ra144: CODEC = real_144
-fate-acodec-ra144: ENCOPTS = -ac 1
-fate-acodec-ra144: DECOPTS = -ac 2
-fate-acodec-ra144: CMP_SHIFT = -640
+fate-acodec-ra144: tests/data/asynth-8000-1.wav
+fate-acodec-ra144: SRC = tests/data/asynth-8000-1.wav
+fate-acodec-ra144: CMD = enc_dec_pcm rm wav s16le $(SRC) -c:a real_144
+fate-acodec-ra144: REF = $(SRC)
+fate-acodec-ra144: CMP = stddev
+fate-acodec-ra144: CMP_TARGET = 4777
+fate-acodec-ra144: CMP_SHIFT = -320
FATE_ACODEC += fate-acodec-roqaudio
fate-acodec-roqaudio: FMT = roq
diff --git a/tests/ref/fate/acodec-ra144 b/tests/ref/fate/acodec-ra144
deleted file mode 100644
index 129b276c4d..0000000000
--- a/tests/ref/fate/acodec-ra144
+++ /dev/null
@@ -1,4 +0,0 @@
-d6740bee5e20fa665e6c94298125b834 *tests/data/fate/acodec-ra144.rm
-53227 tests/data/fate/acodec-ra144.rm
-16d1a0d6cae06cf8a4db009d0fe7a952 *tests/data/fate/acodec-ra144.out.wav
-stddev: 5696.26 PSNR: 21.22 MAXDIFF:44956 bytes: 1058400/ 1058560