From d2f1d42b18787e4fcb28864d9d9f701dd64a5747 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Mon, 8 Dec 2014 16:21:43 +0100 Subject: fate: add dolby true hd tests The existing meridian audio test does not test ff_mlp_rematrix_channel_arm. This sample (first 640k of https://samples.libav.org/A-codecs/TrueHD/TrueHD.raw) uses ff_mlp_rematrix_channel_arm. Since this sample has 5.1 channels it also allows testing the integrated downmixing. --- tests/fate/lossless-audio.mak | 6 ++++++ tests/ref/fate/lossless-truehd-5.1 | 1 + tests/ref/fate/lossless-truehd-5.1-downmix-2.0 | 1 + 3 files changed, 8 insertions(+) create mode 100644 tests/ref/fate/lossless-truehd-5.1 create mode 100644 tests/ref/fate/lossless-truehd-5.1-downmix-2.0 (limited to 'tests') diff --git a/tests/fate/lossless-audio.mak b/tests/fate/lossless-audio.mak index 3638f17c27..751c7210e8 100644 --- a/tests/fate/lossless-audio.mak +++ b/tests/fate/lossless-audio.mak @@ -15,6 +15,12 @@ fate-lossless-tak: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-part fate-lossless-tak: CMP = oneline fate-lossless-tak: REF = a28d4e5f2192057f7d4bece870f40bd0 +FATE_TRUEHD = fate-lossless-truehd-5.1 fate-lossless-truehd-5.1-downmix-2.0 +fate-lossless-truehd-5.1: CMD = md5 -f truehd -i $(TARGET_SAMPLES)/lossless-audio/truehd_5.1.raw -f s32le +fate-lossless-truehd-5.1-downmix-2.0: CMD = md5 -f truehd -request_channel_layout 2 -i $(TARGET_SAMPLES)/lossless-audio/truehd_5.1.raw -f s32le +fate-lossless-truehd: $(FATE_TRUEHD) +FATE_SAMPLES_AVCONV-$(call DEMDEC, TRUEHD, TRUEHD) += $(FATE_TRUEHD) + FATE_SAMPLES_AVCONV-$(call DEMDEC, TTA, TTA) += fate-lossless-tta fate-lossless-tta: CMD = crc -i $(TARGET_SAMPLES)/lossless-audio/inside.tta diff --git a/tests/ref/fate/lossless-truehd-5.1 b/tests/ref/fate/lossless-truehd-5.1 new file mode 100644 index 0000000000..373b917948 --- /dev/null +++ b/tests/ref/fate/lossless-truehd-5.1 @@ -0,0 +1 @@ +95d8aac39dd9f0d7fb83dc7b6f88df35 diff --git a/tests/ref/fate/lossless-truehd-5.1-downmix-2.0 b/tests/ref/fate/lossless-truehd-5.1-downmix-2.0 new file mode 100644 index 0000000000..f4afbc19b8 --- /dev/null +++ b/tests/ref/fate/lossless-truehd-5.1-downmix-2.0 @@ -0,0 +1 @@ +a269aee0051d4400c9117136f08c9767 -- cgit v1.2.3