4a939dc0482623730f0323377ee788cf1039e06c
[ffmpeg.git] / tests / fate / aac.mak
1 FATE_AAC += fate-aac-al04_44
2 fate-aac-al04_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al04_44.mp4
3 fate-aac-al04_44: REF = $(SAMPLES)/aac/al04_44.s16
4
5 FATE_AAC += fate-aac-al05_44
6 fate-aac-al05_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al05_44.mp4
7 fate-aac-al05_44: REF = $(SAMPLES)/aac/al05_44.s16
8
9 FATE_AAC += fate-aac-al06_44
10 fate-aac-al06_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al06_44.mp4
11 fate-aac-al06_44: REF = $(SAMPLES)/aac/al06_44_reorder.s16
12
13 FATE_AAC += fate-aac-al07_96
14 fate-aac-al07_96: CMD = pcm -i $(TARGET_SAMPLES)/aac/al07_96.mp4
15 fate-aac-al07_96: REF = $(SAMPLES)/aac/al07_96_reorder.s16
16
17 FATE_AAC += fate-aac-al15_44
18 fate-aac-al15_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al15_44.mp4
19 fate-aac-al15_44: REF = $(SAMPLES)/aac/al15_44_reorder.s16
20
21 FATE_AAC += fate-aac-al17_44
22 fate-aac-al17_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al17_44.mp4
23 fate-aac-al17_44: REF = $(SAMPLES)/aac/al17_44.s16
24
25 FATE_AAC += fate-aac-al18_44
26 fate-aac-al18_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al18_44.mp4
27 fate-aac-al18_44: REF = $(SAMPLES)/aac/al18_44.s16
28
29 FATE_AAC += fate-aac-am00_88
30 fate-aac-am00_88: CMD = pcm -i $(TARGET_SAMPLES)/aac/am00_88.mp4
31 fate-aac-am00_88: REF = $(SAMPLES)/aac/am00_88.s16
32
33 FATE_AAC += fate-aac-am05_44
34 fate-aac-am05_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/am05_44.mp4
35 fate-aac-am05_44: REF = $(SAMPLES)/aac/am05_44_reorder.s16
36
37 FATE_AAC += fate-aac-al_sbr_hq_cm_48_2
38 fate-aac-al_sbr_hq_cm_48_2: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_2.mp4
39 fate-aac-al_sbr_hq_cm_48_2: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_2.s16
40
41 FATE_AAC += fate-aac-al_sbr_hq_cm_48_5.1
42 fate-aac-al_sbr_hq_cm_48_5.1: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_5.1.mp4
43 fate-aac-al_sbr_hq_cm_48_5.1: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_5.1_reorder.s16
44
45 FATE_AAC += fate-aac-al_sbr_ps_06_ur
46 fate-aac-al_sbr_ps_06_ur: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_ps_06_new.mp4
47 fate-aac-al_sbr_ps_06_ur: REF = $(SAMPLES)/aac/al_sbr_ps_06_ur.s16
48
49 FATE_AAC += fate-aac-ap05_48
50 fate-aac-ap05_48: CMD = pcm -i $(TARGET_SAMPLES)/aac/ap05_48.mp4
51 fate-aac-ap05_48: REF = $(SAMPLES)/aac/ap05_48.s16
52
53 FATE_AAC += fate-aac-er_ad6000np_44_ep0
54 fate-aac-er_ad6000np_44_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_ad6000np_44_ep0.mp4
55 fate-aac-er_ad6000np_44_ep0: REF = $(SAMPLES)/aac/er_ad6000np_44_ep0.s16
56
57
58 fate-aac-ct%: CMD = pcm -i $(TARGET_SAMPLES)/aac/CT_DecoderCheck/$(@:fate-aac-ct-%=%)
59 fate-aac-ct%: REF = $(SAMPLES)/aac/CT_DecoderCheck/aacPlusv2.wav
60
61 FATE_AAC_CT_RAW = fate-aac-ct-sbr_i-ps_i.aac
62
63 FATE_AAC_CT = sbr_bc-ps_i.3gp  \
64               sbr_bic-ps_i.3gp \
65               sbr_bc-ps_bc.mp4 \
66               sbr_bc-ps_i.mp4  \
67               sbr_i-ps_bic.mp4 \
68               sbr_i-ps_i.mp4
69
70 FATE_AAC += $(FATE_AAC_CT:%=fate-aac-ct-%)
71
72 FATE_AAC_LATM += fate-aac-latm_000000001180bc60
73 fate-aac-latm_000000001180bc60: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_000000001180bc60.mpg
74 fate-aac-latm_000000001180bc60: REF = $(SAMPLES)/aac/latm_000000001180bc60.s16
75
76 FATE_AAC_LATM += fate-aac-latm_stereo_to_51
77 fate-aac-latm_stereo_to_51: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_stereo_to_51.ts -channel_layout 5.1
78 fate-aac-latm_stereo_to_51: REF = $(SAMPLES)/aac/latm_stereo_to_51_ref.s16
79
80 FATE_AAC-$(call      DEMDEC, AAC,    AAC)      += $(FATE_AAC_CT_RAW)
81 FATE_AAC-$(call      DEMDEC, MOV,    AAC)      += $(FATE_AAC)
82 FATE_AAC_LATM-$(call DEMDEC, MPEGTS, AAC_LATM) += $(FATE_AAC_LATM)
83
84 FATE_AAC_ALL = $(FATE_AAC-yes) $(FATE_AAC_LATM-yes)
85
86 $(FATE_AAC_ALL): CMP  = oneoff
87 $(FATE_AAC_ALL): FUZZ = 2
88
89 FATE_SAMPLES_AVCONV += $(FATE_AAC_ALL)
90
91 fate-aac: $(FATE_AAC_ALL)
92 fate-aac-latm: $(FATE_AAC_LATM-yes)