FATE: add ALAC encoding tests
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 21 Aug 2012 16:48:23 +0000 (12:48 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 22 Aug 2012 20:41:57 +0000 (16:41 -0400)
tests/Makefile
tests/fate/alac.mak [new file with mode: 0644]

index 0b11102..2af9a91 100644 (file)
@@ -26,6 +26,7 @@ include $(SRC_PATH)/tests/fate/vcodec.mak
 include $(SRC_PATH)/tests/fate/aac.mak
 include $(SRC_PATH)/tests/fate/ac3.mak
 include $(SRC_PATH)/tests/fate/adpcm.mak
+include $(SRC_PATH)/tests/fate/alac.mak
 include $(SRC_PATH)/tests/fate/als.mak
 include $(SRC_PATH)/tests/fate/amrnb.mak
 include $(SRC_PATH)/tests/fate/amrwb.mak
diff --git a/tests/fate/alac.mak b/tests/fate/alac.mak
new file mode 100644 (file)
index 0000000..b55b594
--- /dev/null
@@ -0,0 +1,15 @@
+FATE_ALAC += fate-alac-level-0                                          \
+             fate-alac-level-1                                          \
+             fate-alac-level-2                                          \
+             fate-alac-lpc-orders                                       \
+
+fate-alac-level-%: OPTS = -compression_level $(@:fate-alac-level-%=%)
+fate-alac-lpc-orders: OPTS = -min_prediction_order 1 -max_prediction_order 30
+
+fate-alac-%: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
+fate-alac-%: CMD = enc_dec_pcm mov wav s16le $(REF) -c alac $(OPTS)
+fate-alac-%: CMP = oneoff
+fate-alac-%: FUZZ = 0
+
+FATE_SAMPLES_AVCONV += $(FATE_ALAC)
+fate-alac: $(FATE_ALAC)