FATE: add WMAv1 and WMAv2 encode/decode tests with fuzzy comparison
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 9 Mar 2012 02:53:39 +0000 (21:53 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 17 Mar 2012 15:33:35 +0000 (11:33 -0400)
tests/fate/wma.mak

index 3d849ea..9143f8c 100644 (file)
@@ -36,3 +36,22 @@ fate-wmavoice-19k: FUZZ = 3
 
 FATE_TESTS += $(FATE_WMAVOICE)
 fate-wmavoice: $(FATE_WMAVOICE)
+
+FATE_WMA_ENCODE += fate-wmav1-encode
+fate-wmav1-encode: CMD = enc_dec_pcm asf s16le -c:a wmav1 -b:a 128k
+fate-wmav1-encode: CMP = stddev
+fate-wmav1-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
+fate-wmav1-encode: CMP_SHIFT = -8192
+fate-wmav1-encode: CMP_TARGET = 291.06
+fate-wmav1-encode: SIZE_TOLERANCE = 4632
+
+FATE_WMA_ENCODE += fate-wmav2-encode
+fate-wmav2-encode: CMD = enc_dec_pcm asf s16le -c:a wmav2 -b:a 128k
+fate-wmav2-encode: CMP = stddev
+fate-wmav2-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
+fate-wmav2-encode: CMP_SHIFT = -8192
+fate-wmav2-encode: CMP_TARGET = 258.32
+fate-wmav2-encode: SIZE_TOLERANCE = 4632
+
+FATE_TESTS += $(FATE_WMA_ENCODE)
+fate-wma-encode: $(FATE_WMA_ENCODE)