rtsp: Use AVERROR() with errno.h error codes for error returns
[ffmpeg.git] / tests / fate / wma.mak
1 FATE_WMAPRO-$(call DEMDEC, ASF, WMAPRO) += fate-wmapro-2ch
2 fate-wmapro-2ch: CMD = pcm -i $(TARGET_SAMPLES)/wmapro/Beethovens_9th-1_small.wma -frames 43
3 fate-wmapro-2ch: REF = $(SAMPLES)/wmapro/Beethovens_9th-1_small.pcm
4 fate-wmapro-2ch: SIZE_TOLERANCE = 8192
5
6 FATE_WMAPRO-$(call DEMDEC, ASF, WMAPRO) += fate-wmapro-5.1
7 fate-wmapro-5.1: CMD = pcm -i $(TARGET_SAMPLES)/wmapro/latin_192_mulitchannel_cut.wma -frames 101
8 fate-wmapro-5.1: REF = $(SAMPLES)/wmapro/latin_192_mulitchannel_cut.pcm
9 fate-wmapro-5.1: SIZE_TOLERANCE = 24576
10
11 FATE_WMAPRO-$(call DEMDEC, MOV, WMAPRO) += fate-wmapro-ism
12 fate-wmapro-ism: CMD = pcm -i $(TARGET_SAMPLES)/isom/vc1-wmapro.ism -vn
13 fate-wmapro-ism: REF = $(SAMPLES)/isom/vc1-wmapro.pcm
14
15 $(FATE_WMAPRO-yes): CMP = oneoff
16
17 FATE_SAMPLES_AVCONV += $(FATE_WMAPRO-yes)
18 fate-wmapro: $(FATE_WMAPRO-yes)
19
20 FATE_WMAVOICE-$(call DEMDEC, ASF, WMAVOICE) += fate-wmavoice-7k
21 fate-wmavoice-7k: CMD = pcm -i $(TARGET_SAMPLES)/wmavoice/streaming_CBR-7K.wma
22 fate-wmavoice-7k: REF = $(SAMPLES)/wmavoice/streaming_CBR-7K.pcm
23 fate-wmavoice-7k: FUZZ = 3
24
25 FATE_WMAVOICE-$(call DEMDEC, ASF, WMAVOICE) += fate-wmavoice-11k
26 fate-wmavoice-11k: CMD = pcm -i $(TARGET_SAMPLES)/wmavoice/streaming_CBR-11K.wma
27 fate-wmavoice-11k: REF = $(SAMPLES)/wmavoice/streaming_CBR-11K.pcm
28 fate-wmavoice-11k: FUZZ = 3
29
30 FATE_WMAVOICE-$(call DEMDEC, ASF, WMAVOICE) += fate-wmavoice-19k
31 fate-wmavoice-19k: CMD = pcm -i $(TARGET_SAMPLES)/wmavoice/streaming_CBR-19K.wma
32 fate-wmavoice-19k: REF = $(SAMPLES)/wmavoice/streaming_CBR-19K.pcm
33 fate-wmavoice-19k: FUZZ = 3
34
35 $(FATE_WMAVOICE-yes): CMP = stddev
36
37 FATE_SAMPLES_AVCONV += $(FATE_WMAVOICE-yes)
38 fate-wmavoice: $(FATE_WMAVOICE-yes)
39
40 FATE_WMA_ENCODE-$(call ENCDEC, WMAV1, ASF) += fate-wmav1-encode
41 fate-wmav1-encode: CMD = enc_dec_pcm asf wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:a wmav1 -b:a 128k
42 fate-wmav1-encode: CMP_SHIFT = -8192
43 fate-wmav1-encode: CMP_TARGET = 291.06
44 fate-wmav1-encode: SIZE_TOLERANCE = 4632
45
46 FATE_WMA_ENCODE-$(call ENCDEC, WMAV2, ASF) += fate-wmav2-encode
47 fate-wmav2-encode: CMD = enc_dec_pcm asf wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:a wmav2 -b:a 128k
48 fate-wmav2-encode: CMP_SHIFT = -8192
49 fate-wmav2-encode: CMP_TARGET = 258.32
50 fate-wmav2-encode: SIZE_TOLERANCE = 4632
51
52 $(FATE_WMA_ENCODE-yes): CMP = stddev
53 $(FATE_WMA_ENCODE-yes): REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
54
55 FATE_SAMPLES_AVCONV += $(FATE_WMA_ENCODE-yes)
56 fate-wma-encode: $(FATE_WMA_ENCODE-yes)