fate: fix acodec/vsynth tests for make 3.81
[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
6 FATE_ACODEC_PCM = alaw mulaw                                            \
7                   s8 u8                                                 \
8                   s16be s16le                                           \
9                   s24be s24le                                           \
10                   s32be s32le                                           \
11                   f32be f32le                                           \
12                   f64be f64le
13
14 FATE_ACODEC += $(FATE_ACODEC_PCM:%=fate-acodec-pcm-%)
15
16 fate-acodec-pcm-%: FMT = wav
17 fate-acodec-pcm-%: CODEC = pcm_$(@:fate-acodec-pcm-%=%)
18
19 fate-acodec-pcm-s8:   FMT = mov
20 fate-acodec-pcm-s%be: FMT = mov
21 fate-acodec-pcm-f%be: FMT = au
22
23 FATE_ACODEC_ADPCM = adx ima_qt ima_wav ms swf yamaha
24 FATE_ACODEC += $(FATE_ACODEC_ADPCM:%=fate-acodec-adpcm-%)
25
26 fate-acodec-adpcm-%: CODEC = adpcm_$(@:fate-acodec-adpcm-%=%)
27
28 fate-acodec-adpcm-adx:     FMT = adx
29 fate-acodec-adpcm-ima_qt:  FMT = aiff
30 fate-acodec-adpcm-ima_wav: FMT = wav
31 fate-acodec-adpcm-ms:      FMT = wav
32 fate-acodec-adpcm-swf:     FMT = flv
33 fate-acodec-adpcm-yamaha:  FMT = wav
34
35 FATE_ACODEC += fate-acodec-mp2
36 fate-acodec-mp2: FMT = mp2
37 fate-acodec-mp2: CMP_SHIFT = -1924
38
39 FATE_ACODEC += fate-acodec-alac
40 fate-acodec-alac: FMT = mov
41 fate-acodec-alac: CODEC = alac -compression_level 1
42
43 FATE_ACODEC += fate-acodec-flac
44 fate-acodec-flac: FMT = flac
45 fate-acodec-flac: CODEC = flac -compression_level 2
46
47 $(FATE_ACODEC): tests/data/asynth-44100-2.wav
48
49 FATE_AVCONV += $(FATE_ACODEC)
50 fate-acodec: $(FATE_ACODEC)