MP3 float decoder FATE tests
authorVitor Sessak <vitor1001@gmail.com>
Mon, 23 Aug 2010 12:17:03 +0000 (12:17 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Mon, 23 Aug 2010 12:17:03 +0000 (12:17 +0000)
Originally committed as revision 24880 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile
tests/fate/mp3.mak [new file with mode: 0644]

index 783034d..15efd41 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -236,6 +236,7 @@ include $(SRC_PATH_BARE)/tests/fate/aac.mak
 include $(SRC_PATH_BARE)/tests/fate/als.mak
 include $(SRC_PATH_BARE)/tests/fate/fft.mak
 include $(SRC_PATH_BARE)/tests/fate/h264.mak
+include $(SRC_PATH_BARE)/tests/fate/mp3.mak
 include $(SRC_PATH_BARE)/tests/fate/vorbis.mak
 include $(SRC_PATH_BARE)/tests/fate/vp8.mak
 
diff --git a/tests/fate/mp3.mak b/tests/fate/mp3.mak
new file mode 100644 (file)
index 0000000..d2aba5f
--- /dev/null
@@ -0,0 +1,39 @@
+FATE_MP3 += fate-mp3-float-conf-compl
+fate-mp3-float-conf-compl: CMD = pcm -acodec mp3float -i $(SAMPLES)/mp3-conformance/compl.bit
+fate-mp3-float-conf-compl: CMP = stddev
+fate-mp3-float-conf-compl: REF = $(SAMPLES)/mp3-conformance/compl.pcm
+
+FATE_MP3 += fate-mp3-float-conf-he_32khz
+fate-mp3-float-conf-he_32khz: CMD = pcm -acodec mp3float  -fs 343295 -i $(SAMPLES)/mp3-conformance/he_32khz.bit
+fate-mp3-float-conf-he_32khz: CMP = stddev
+fate-mp3-float-conf-he_32khz: REF = $(SAMPLES)/mp3-conformance/he_32khz.pcm
+
+FATE_MP3 += fate-mp3-float-conf-he_44khz
+fate-mp3-float-conf-he_44khz: CMD = pcm -acodec mp3float -fs 942335 -i $(SAMPLES)/mp3-conformance/he_44khz.bit
+fate-mp3-float-conf-he_44khz: CMP = stddev
+fate-mp3-float-conf-he_44khz: REF = $(SAMPLES)/mp3-conformance/he_44khz.pcm
+
+FATE_MP3 += fate-mp3-float-conf-he_48khz
+fate-mp3-float-conf-he_48khz: CMD = pcm -acodec mp3float -fs 343295 -i $(SAMPLES)/mp3-conformance/he_48khz.bit
+fate-mp3-float-conf-he_48khz: CMP = stddev
+fate-mp3-float-conf-he_48khz: REF = $(SAMPLES)/mp3-conformance/he_48khz.pcm
+
+FATE_MP3 += fate-mp3-float-conf-hecommon
+fate-mp3-float-conf-hecommon: CMD = pcm -acodec mp3float -fs 133630 -i $(SAMPLES)/mp3-conformance/hecommon.bit
+fate-mp3-float-conf-hecommon: CMP = stddev
+fate-mp3-float-conf-hecommon: REF = $(SAMPLES)/mp3-conformance/hecommon.pcm
+
+FATE_MP3 += fate-mp3-float-conf-si
+fate-mp3-float-conf-si: CMD = pcm -acodec mp3float -fs 269567 -i $(SAMPLES)/mp3-conformance/si.bit
+fate-mp3-float-conf-si: CMP = stddev
+fate-mp3-float-conf-si: REF = $(SAMPLES)/mp3-conformance/si.pcm
+
+FATE_MP3 += fate-mp3-float-conf-si_block
+fate-mp3-float-conf-si_block: CMD = pcm -acodec mp3float -fs 145151 -i $(SAMPLES)/mp3-conformance/si_block.bit
+fate-mp3-float-conf-si_block: CMP = stddev
+fate-mp3-float-conf-si_block: REF = $(SAMPLES)/mp3-conformance/si_block.pcm
+
+FATE_TESTS += $(FATE_MP3)
+fate-mp3: $(FATE_MP3)
+$(FATE_MP3): CMP = stddev
+$(FATE_AAC): FUZZ = 0.07