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