fate: add flac encode/decode tests with various options

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Mans Rullgard 2012-07-02 16:07:42 +01:00
parent 360aa2465a
commit 983fa8bc46
2 changed files with 20 additions and 0 deletions

View File

@ -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

19
tests/fate/flac.mak Normal file
View File

@ -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)