[FFmpeg-cvslog] fate: add flac encode/decode tests with various options
Mans Rullgard
git at videolan.org
Wed Jul 4 21:09:46 CEST 2012
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Mon Jul 2 16:07:42 2012 +0100| [983fa8bc46a7365b0fdb71c85535da433b262776] | committer: Mans Rullgard
fate: add flac encode/decode tests with various options
Signed-off-by: Mans Rullgard <mans at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=983fa8bc46a7365b0fdb71c85535da433b262776
---
tests/Makefile | 1 +
tests/fate/flac.mak | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
diff --git a/tests/Makefile b/tests/Makefile
index 429762b..12928c7 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -41,6 +41,7 @@ include $(SRC_PATH)/tests/fate/demux.mak
include $(SRC_PATH)/tests/fate/dfa.mak
include $(SRC_PATH)/tests/fate/dpcm.mak
include $(SRC_PATH)/tests/fate/ea.mak
+include $(SRC_PATH)/tests/fate/flac.mak
include $(SRC_PATH)/tests/fate/fft.mak
include $(SRC_PATH)/tests/fate/h264.mak
include $(SRC_PATH)/tests/fate/image.mak
diff --git a/tests/fate/flac.mak b/tests/fate/flac.mak
new file mode 100644
index 0000000..c534059
--- /dev/null
+++ b/tests/fate/flac.mak
@@ -0,0 +1,19 @@
+FATE_FLAC += fate-flac-chmode-indep \
+ fate-flac-chmode-left_side \
+ fate-flac-chmode-mid_side \
+ fate-flac-chmode-right_side \
+ fate-flac-fixed \
+ fate-flac-lpc-cholesky \
+ fate-flac-lpc-levinson \
+
+fate-flac-chmode-%: OPTS = -ch_mode $(@:fate-flac-chmode-%=%)
+fate-flac-fixed: OPTS = -lpc_type fixed
+fate-flac-lpc-%: OPTS = -lpc_type $(@:fate-flac-lpc-%=%)
+
+fate-flac-%: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
+fate-flac-%: CMD = enc_dec_pcm flac wav s16le $(REF) -c flac $(OPTS)
+fate-flac-%: CMP = oneoff
+fate-flac-%: FUZZ = 0
+
+FATE_AVCONV += $(FATE_FLAC)
+fate-flac: $(FATE_FLAC)
More information about the ffmpeg-cvslog
mailing list