fate: update avui test due to
[ffmpeg.git] / tests / fate / aac.mak
1 FATE_AAC += fate-aac-al04_44
2 fate-aac-al04_44: CMD = pcm -i $(SAMPLES)/aac/al04_44.mp4
3 fate-aac-al04_44: REF = $(SAMPLES)/aac/al04_44.s16
4 fate-aac-al04_44: CMP_SHIFT = 4224
5
6 FATE_AAC += fate-aac-al05_44
7 fate-aac-al05_44: CMD = pcm -i $(SAMPLES)/aac/al05_44.mp4
8 fate-aac-al05_44: REF = $(SAMPLES)/aac/al05_44.s16
9 fate-aac-al05_44: CMP_SHIFT = 8448
10
11 FATE_AAC += fate-aac-al06_44
12 fate-aac-al06_44: CMD = pcm -i $(SAMPLES)/aac/al06_44.mp4
13 fate-aac-al06_44: REF = $(SAMPLES)/aac/al06_44_reorder.s16
14 fate-aac-al06_44: CMP_SHIFT = 12672
15
16 FATE_AAC += fate-aac-al07_96
17 fate-aac-al07_96: CMD = pcm -i $(SAMPLES)/aac/al07_96.mp4
18 fate-aac-al07_96: REF = $(SAMPLES)/aac/al07_96_reorder.s16
19 fate-aac-al07_96: CMP_SHIFT = 25344
20
21 FATE_AAC += fate-aac-al15_44
22 fate-aac-al15_44: CMD = pcm -i $(SAMPLES)/aac/al15_44.mp4
23 fate-aac-al15_44: REF = $(SAMPLES)/aac/al15_44_reorder.s16
24 fate-aac-al15_44: CMP_SHIFT = 25344
25
26 FATE_AAC += fate-aac-al17_44
27 fate-aac-al17_44: CMD = pcm -i $(SAMPLES)/aac/al17_44.mp4
28 fate-aac-al17_44: REF = $(SAMPLES)/aac/al17_44.s16
29 fate-aac-al17_44: CMP_SHIFT = 8448
30
31 FATE_AAC += fate-aac-al18_44
32 fate-aac-al18_44: CMD = pcm -i $(SAMPLES)/aac/al18_44.mp4
33 fate-aac-al18_44: REF = $(SAMPLES)/aac/al18_44.s16
34 fate-aac-al18_44: CMP_SHIFT = 4224
35
36 FATE_AAC += fate-aac-am00_88
37 fate-aac-am00_88: CMD = pcm -i $(SAMPLES)/aac/am00_88.mp4
38 fate-aac-am00_88: REF = $(SAMPLES)/aac/am00_88.s16
39 fate-aac-am00_88: CMP_SHIFT = 4224
40
41 FATE_AAC += fate-aac-am05_44
42 fate-aac-am05_44: CMD = pcm -i $(SAMPLES)/aac/am05_44.mp4
43 fate-aac-am05_44: REF = $(SAMPLES)/aac/am05_44_reorder.s16
44 fate-aac-am05_44: CMP_SHIFT = 25344
45
46 FATE_AAC += fate-aac-al_sbr_hq_cm_48_2
47 fate-aac-al_sbr_hq_cm_48_2: CMD = pcm -i $(SAMPLES)/aac/al_sbr_cm_48_2.mp4
48 fate-aac-al_sbr_hq_cm_48_2: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_2.s16
49 fate-aac-al_sbr_hq_cm_48_2: CMP_SHIFT = 8448
50
51 FATE_AAC += fate-aac-al_sbr_hq_cm_48_5.1
52 fate-aac-al_sbr_hq_cm_48_5.1: CMD = pcm -i $(SAMPLES)/aac/al_sbr_cm_48_5.1.mp4
53 fate-aac-al_sbr_hq_cm_48_5.1: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_5.1_reorder.s16
54 fate-aac-al_sbr_hq_cm_48_5.1: CMP_SHIFT = 25344
55
56 FATE_AAC += fate-aac-al_sbr_ps_06_ur
57 fate-aac-al_sbr_ps_06_ur: CMD = pcm -i $(SAMPLES)/aac/al_sbr_ps_06_new.mp4
58 fate-aac-al_sbr_ps_06_ur: REF = $(SAMPLES)/aac/al_sbr_ps_06_ur.s16
59 fate-aac-al_sbr_ps_06_ur: CMP_SHIFT = 8448
60
61 FATE_AAC += fate-aac-latm_000000001180bc60
62 fate-aac-latm_000000001180bc60: CMD = pcm -i $(SAMPLES)/aac/latm_000000001180bc60.mpg
63 fate-aac-latm_000000001180bc60: REF = $(SAMPLES)/aac/latm_000000001180bc60.s16
64
65 FATE_AAC += fate-aac-ap05_48
66 fate-aac-ap05_48: CMD = pcm -i $(SAMPLES)/aac/ap05_48.mp4
67 fate-aac-ap05_48: REF = $(SAMPLES)/aac/ap05_48.s16
68 fate-aac-ap05_48: CMP_SHIFT = 8448
69
70 FATE_AAC += fate-aac-latm_stereo_to_51
71 fate-aac-latm_stereo_to_51: CMD = pcm -i $(SAMPLES)/aac/latm_stereo_to_51.ts -channel_layout 5.1
72 fate-aac-latm_stereo_to_51: REF = $(SAMPLES)/aac/latm_stereo_to_51_ref.s16
73
74 fate-aac-ct%: CMD = pcm -i $(SAMPLES)/aac/CT_DecoderCheck/$(@:fate-aac-ct-%=%)
75 fate-aac-ct%: REF = $(SAMPLES)/aac/CT_DecoderCheck/aacPlusv2.wav
76 fate-aac-ct%: CMP_SHIFT = 8448
77 fate-aac-ct-sbr_i-ps_i.aac: CMP_SHIFT = 0
78
79 FATE_AAC_CT = sbr_bc-ps_i.3gp  \
80               sbr_bic-ps_i.3gp \
81               sbr_i-ps_i.aac   \
82               sbr_bc-ps_bc.mp4 \
83               sbr_bc-ps_i.mp4  \
84               sbr_i-ps_bic.mp4 \
85               sbr_i-ps_i.mp4
86
87 FATE_AAC += $(FATE_AAC_CT:%=fate-aac-ct-%)
88
89 FATE_AAC_ENCODE += fate-aac-aref-encode
90 fate-aac-aref-encode: ./tests/data/asynth-44100-2.wav
91 fate-aac-aref-encode: CMD = enc_dec_pcm adts wav s16le $(REF) -strict -2 -c:a aac -b:a 512k
92 fate-aac-aref-encode: CMP = stddev
93 fate-aac-aref-encode: REF = ./tests/data/asynth-44100-2.wav
94 fate-aac-aref-encode: CMP_SHIFT = -4096
95 fate-aac-aref-encode: CMP_TARGET = 1862
96 fate-aac-aref-encode: SIZE_TOLERANCE = 2464
97
98 FATE_AAC_ENCODE += fate-aac-ln-encode
99 fate-aac-ln-encode: CMD = enc_dec_pcm adts wav s16le $(REF) -strict -2 -c:a aac -b:a 512k
100 fate-aac-ln-encode: CMP = stddev
101 fate-aac-ln-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
102 fate-aac-ln-encode: CMP_SHIFT = -4096
103 fate-aac-ln-encode: CMP_TARGET = 65
104 fate-aac-ln-encode: SIZE_TOLERANCE = 3560
105
106 FATE_SAMPLES_FFMPEG += $(FATE_AAC) $(FATE_AAC_ENCODE)
107 fate-aac: $(FATE_AAC) $(FATE_AAC_ENCODE)
108
109 $(FATE_AAC): CMP = oneoff
110 $(FATE_AAC): FUZZ = 2