fate: move fate-acodec reference files to their own dir
[ffmpeg.git] / tests / fate / acodec.mak
1 fate-acodec-%: CODEC = $(@:fate-acodec-%=%)
2 fate-acodec-%: SRC = tests/data/asynth-44100-2.wav
3 fate-acodec-%: CMD = enc_dec wav $(SRC) $(FMT) "-b 128k -c $(CODEC)" wav "-c pcm_s16le" -keep
4 fate-acodec-%: CMP_UNIT = 2
5 fate-acodec-%: REF = $(SRC_PATH)/tests/ref/acodec/$(@:fate-acodec-%=%)
6
7 FATE_ACODEC_PCM-$(call ENCDEC, PCM_ALAW,  WAV) += alaw
8 FATE_ACODEC_PCM-$(call ENCDEC, PCM_MULAW, WAV) += mulaw
9 FATE_ACODEC_PCM-$(call ENCDEC, PCM_S8,    MOV) += s8
10 FATE_ACODEC_PCM-$(call ENCDEC, PCM_U8,    WAV) += u8
11 FATE_ACODEC_PCM-$(call ENCDEC, PCM_S16BE, MOV) += s16be
12 FATE_ACODEC_PCM-$(call ENCDEC, PCM_S16LE, WAV) += s16le
13 FATE_ACODEC_PCM-$(call ENCDEC, PCM_S24BE, MOV) += s24be
14 FATE_ACODEC_PCM-$(call ENCDEC, PCM_S24LE, WAV) += s24le
15 FATE_ACODEC_PCM-$(call ENCDEC, PCM_S32BE, MOV) += s32be
16 FATE_ACODEC_PCM-$(call ENCDEC, PCM_S32LE, WAV) += s32le
17 FATE_ACODEC_PCM-$(call ENCDEC, PCM_F32BE, AU)  += f32be
18 FATE_ACODEC_PCM-$(call ENCDEC, PCM_F32LE, WAV) += f32le
19 FATE_ACODEC_PCM-$(call ENCDEC, PCM_F64BE, AU)  += f64be
20 FATE_ACODEC_PCM-$(call ENCDEC, PCM_F64LE, WAV) += f64le
21
22 FATE_ACODEC_PCM := $(FATE_ACODEC_PCM-yes:%=fate-acodec-pcm-%)
23 FATE_ACODEC += $(FATE_ACODEC_PCM)
24 fate-acodec-pcm: $(FATE_ACODEC_PCM)
25
26 fate-acodec-pcm-%: FMT = wav
27 fate-acodec-pcm-%: CODEC = pcm_$(@:fate-acodec-pcm-%=%)
28
29 fate-acodec-pcm-s8:   FMT = mov
30 fate-acodec-pcm-s%be: FMT = mov
31 fate-acodec-pcm-f%be: FMT = au
32
33 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_ADX,     ADX)  += adx
34 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_QT,  AIFF) += ima_qt
35 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_WAV, WAV)  += ima_wav
36 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_MS,      WAV)  += ms
37 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_SWF,     FLV)  += swf
38 FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_YAMAHA,  WAV)  += yamaha
39
40 FATE_ACODEC_ADPCM := $(FATE_ACODEC_ADPCM-yes:%=fate-acodec-adpcm-%)
41 FATE_ACODEC += $(FATE_ACODEC_ADPCM)
42 fate-acodec-adpcm: $(FATE_ACODEC_ADPCM)
43
44 fate-acodec-adpcm-%: CODEC = adpcm_$(@:fate-acodec-adpcm-%=%)
45
46 fate-acodec-adpcm-adx:     FMT = adx
47 fate-acodec-adpcm-ima_qt:  FMT = aiff
48 fate-acodec-adpcm-ima_wav: FMT = wav
49 fate-acodec-adpcm-ms:      FMT = wav
50 fate-acodec-adpcm-swf:     FMT = flv
51 fate-acodec-adpcm-yamaha:  FMT = wav
52
53 FATE_ACODEC-$(call ENCDEC, MP2, MP2 MP3) += fate-acodec-mp2
54 fate-acodec-mp2: FMT = mp2
55 fate-acodec-mp2: CMP_SHIFT = -1924
56
57 FATE_ACODEC-$(call ENCDEC, ALAC, MOV) += fate-acodec-alac
58 fate-acodec-alac: FMT = mov
59 fate-acodec-alac: CODEC = alac -compression_level 1
60
61 FATE_ACODEC-$(call ENCDEC, FLAC, FLAC) += fate-acodec-flac
62 fate-acodec-flac: FMT = flac
63 fate-acodec-flac: CODEC = flac -compression_level 2
64
65 FATE_ACODEC += $(FATE_ACODEC-yes)
66
67 $(FATE_ACODEC): tests/data/asynth-44100-2.wav
68
69 FATE_AVCONV += $(FATE_ACODEC)
70 fate-acodec: $(FATE_ACODEC)