[FFmpeg-devel] [PATCH] Add atrac3+ tests

Timothy Gu timothygu99 at gmail.com
Fri Apr 10 22:24:57 CEST 2015


---

$ du -h *
656K	at3p_sample1.oma
3.6M	at3p_sample1.pcm
1.9M	sonateno14op27-2.aa3
100K	sonateno14op27-2-cut.aa3
2.9M	sonateno14op27-2-cut.pcm

 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..0a086d8 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-cut.aa3
+fate-atrac3p-2: REF = $(SAMPLES)/atrac3p/sonateno14op27-2-cut.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