mirror of https://git.ffmpeg.org/ffmpeg.git
Add AAC FATE encode tests.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
10e3dd15a5
commit
6d3166fcf0
|
@ -6,6 +6,7 @@ REFS = $(AREF) $(VREF)
|
|||
|
||||
$(VREF): ffmpeg$(EXESUF) tests/vsynth1/00.pgm tests/vsynth2/00.pgm
|
||||
$(AREF): ffmpeg$(EXESUF) tests/data/asynth1.sw
|
||||
$(AREF): CMP=
|
||||
|
||||
ffservertest: ffserver$(EXESUF) tests/vsynth1/00.pgm tests/data/asynth1.sw
|
||||
@echo
|
||||
|
|
|
@ -71,7 +71,24 @@ FATE_AAC_CT = sbr_bc-ps_i.3gp \
|
|||
|
||||
FATE_AAC += $(FATE_AAC_CT:%=fate-aac-ct-%)
|
||||
|
||||
FATE_TESTS += $(FATE_AAC)
|
||||
fate-aac: $(FATE_AAC)
|
||||
FATE_AAC_ENCODE += fate-aac-aref-encode
|
||||
fate-aac-aref-encode: $(AREF)
|
||||
fate-aac-aref-encode: CMD = enc_dec_pcm adts s16le -strict -2 -c:a aac -b:a 512k
|
||||
fate-aac-aref-encode: CMP = stddev
|
||||
fate-aac-aref-encode: REF = ./tests/data/acodec.ref.wav
|
||||
fate-aac-aref-encode: CMP_SHIFT = -4096
|
||||
fate-aac-aref-encode: CMP_TARGET = 1862
|
||||
fate-aac-aref-encode: SIZE_TOLERANCE = 2464
|
||||
|
||||
FATE_AAC_ENCODE += fate-aac-ln-encode
|
||||
fate-aac-ln-encode: CMD = enc_dec_pcm adts s16le -strict -2 -c:a aac -b:a 512k
|
||||
fate-aac-ln-encode: CMP = stddev
|
||||
fate-aac-ln-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
fate-aac-ln-encode: CMP_SHIFT = -4096
|
||||
fate-aac-ln-encode: CMP_TARGET = 65
|
||||
fate-aac-ln-encode: SIZE_TOLERANCE = 3560
|
||||
|
||||
FATE_TESTS += $(FATE_AAC) $(FATE_AAC_ENCODE)
|
||||
fate-aac: $(FATE_AAC) $(FATE_AAC_ENCODE)
|
||||
$(FATE_AAC): CMP = oneoff
|
||||
$(FATE_AAC): FUZZ = 2
|
||||
|
|
Loading…
Reference in New Issue