[FFmpeg-devel] [PATCH 3/4] Add atrac3+ tests
Timothy Gu
timothygu99 at gmail.com
Fri Apr 10 19:27:36 CEST 2015
---
Samples are from https://samples.ffmpeg.org/A-codecs/ATRAC3%2b/
Should I upload the .pcm files to somewhere? They are easy enough to
reproduce.
---
tests/fate/atrac.mak | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/tests/fate/atrac.mak b/tests/fate/atrac.mak
index 94dbe38..fbd59e1 100644
--- a/tests/fate/atrac.mak
+++ b/tests/fate/atrac.mak
@@ -16,11 +16,22 @@ fate-atrac3-3: REF = $(SAMPLES)/atrac3/mc_sich_at3_132_small.pcm
FATE_ATRAC3-$(call DEMDEC, WAV, ATRAC3) += $(FATE_ATRAC3)
-FATE_ATRAC_ALL = $(FATE_ATRAC1-yes) $(FATE_ATRAC3-yes)
+FATE_ATRAC3P += fate-atrac3p-1
+fate-atrac3p-1: CMD = pcm -i $(TARGET_SAMPLES)/atrac3p/at3p_sample1.oma
+fate-atrac3p-1: REF = $(SAMPLES)/atrac3p/at3p_sample1.pcm
+
+FATE_ATRAC3P += fate-atrac3p-2
+fate-atrac3p-2: CMD = pcm -i $(TARGET_SAMPLES)/atrac3p/sonateno14op27-2.aa3
+fate-atrac3p-2: REF = $(SAMPLES)/atrac3p/sonateno14op27-2.pcm
+
+FATE_ATRAC3P-$(call DEMDEC, OMA, ATRAC3P) += $(FATE_ATRAC3P)
+
+FATE_ATRAC_ALL = $(FATE_ATRAC1-yes) $(FATE_ATRAC3-yes) $(FATE_ATRAC3P-yes)
$(FATE_ATRAC_ALL): CMP = oneoff
FATE_SAMPLES_AVCONV += $(FATE_ATRAC_ALL)
-fate-atrac: $(FATE_ATRAC_ALL)
-fate-atrac3: $(FATE_ATRAC3-yes)
+fate-atrac: $(FATE_ATRAC_ALL)
+fate-atrac3: $(FATE_ATRAC3-yes)
+fate-atrac3p: $(FATE_ATRAC3P-yes)
--
1.9.1
More information about the ffmpeg-devel
mailing list