Imported Debian version 2.4.3~trusty1
[deb_ffmpeg.git] / ffmpeg / tests / fate / voice.mak
1 FATE_G722-$(call DEMDEC, G722, ADPCM_G722) += fate-g722dec-1
2 fate-g722dec-1: CMD = framecrc -i $(TARGET_SAMPLES)/g722/conf-adminmenu-162.g722
3
4 FATE_G722-$(call ENCMUX, ADPCM_G722, WAV) += fate-g722-encode
5 fate-g722-encode: tests/data/asynth-16000-1.wav
6 fate-g722-encode: SRC = tests/data/asynth-16000-1.wav
7 fate-g722-encode: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g722
8
9 FATE_VOICE-yes += $(FATE_G722-yes)
10 fate-g722: $(FATE_G722)
11
12 FATE_G723_1 += fate-g723_1-dec-1
13 fate-g723_1-dec-1: CMD = framecrc -postfilter 0 -i $(TARGET_SAMPLES)/g723_1/ineqd53.tco
14
15 FATE_G723_1 += fate-g723_1-dec-2
16 fate-g723_1-dec-2: CMD = framecrc -postfilter 0 -i $(TARGET_SAMPLES)/g723_1/overd53.tco
17
18 FATE_G723_1 += fate-g723_1-dec-3
19 fate-g723_1-dec-3: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/overd63p.tco
20
21 FATE_G723_1 += fate-g723_1-dec-4
22 fate-g723_1-dec-4: CMD = framecrc -postfilter 0 -i $(TARGET_SAMPLES)/g723_1/pathd53.tco
23
24 FATE_G723_1 += fate-g723_1-dec-5
25 fate-g723_1-dec-5: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/pathd63p.tco
26
27 FATE_G723_1 += fate-g723_1-dec-6
28 fate-g723_1-dec-6: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/tamed63p.tco
29
30 FATE_G723_1 += fate-g723_1-dec-7
31 fate-g723_1-dec-7: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/dtx63b.tco
32
33 FATE_G723_1 += fate-g723_1-dec-8
34 fate-g723_1-dec-8: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/dtx63e.tco
35
36 FATE_G723_1-$(call DEMDEC, G723_1, G723_1) += $(FATE_G723_1)
37 FATE_SAMPLES_AVCONV += $(FATE_G723_1-yes)
38 fate-g723_1: $(FATE_G723_1)
39
40 FATE_G726 += fate-g726-encode-2bit
41 fate-g726-encode-2bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 16k
42
43 FATE_G726 += fate-g726-encode-3bit
44 fate-g726-encode-3bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 24k
45
46 FATE_G726 += fate-g726-encode-4bit
47 fate-g726-encode-4bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 32k
48
49 FATE_G726 += fate-g726-encode-5bit
50 fate-g726-encode-5bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 40k
51
52 $(FATE_G726): tests/data/asynth-8000-1.wav
53 $(FATE_G726): SRC = tests/data/asynth-8000-1.wav
54
55 FATE_VOICE-$(call ENCMUX, ADPCM_G726, WAV) += $(FATE_G726)
56 fate-g726: $(FATE_G726)
57
58 FATE_GSM-$(call DEMDEC, WAV, GSM) += fate-gsm-ms
59 fate-gsm-ms: CMD = framecrc -i $(TARGET_SAMPLES)/gsm/ciao.wav
60
61 FATE_GSM-$(call DEMDEC, MOV, GSM) += fate-gsm-toast
62 fate-gsm-toast: CMD = framecrc -i $(TARGET_SAMPLES)/gsm/sample-gsm-8000.mov -t 10
63
64 FATE_VOICE-yes += $(FATE_GSM-yes)
65 fate-gsm: $(FATE_GSM)
66
67 FATE_VOICE-$(call DEMDEC, QCP, QCELP) += fate-qcelp
68 fate-qcelp: CMD = pcm -i $(TARGET_SAMPLES)/qcp/0036580847.QCP
69 fate-qcelp: CMP = oneoff
70 fate-qcelp: REF = $(SAMPLES)/qcp/0036580847.pcm
71
72 FATE_VOICE-$(call DEMDEC, WAV, TRUESPEECH) += fate-truespeech
73 fate-truespeech: CMD = pcm -i $(TARGET_SAMPLES)/truespeech/a6.wav
74 fate-truespeech: CMP = oneoff
75 fate-truespeech: REF = $(SAMPLES)/truespeech/a6.pcm
76
77 FATE_SAMPLES_FFMPEG += $(FATE_VOICE-yes)
78 fate-voice: $(FATE_VOICE-yes)