From 25d3013e36152635ca992b63469f6d5b890aaa83 Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Mon, 5 Oct 2015 17:37:38 +0200 Subject: [PATCH] fate: add DNxHD/HR tests Currently only 2 profiles are evaluated because they are the only 2 with distributed test sequences. - CID 1260: YUV 4:2:2 10 bits with block-adaptive interlace coding, from ticket 4876; - CID 1270: YUV 4:4:4 10 bits (HR), 1920x839, from ticket 4581. They were generated from the ticket sequences by running the following kind of command-line; ffmpeg -i $INPUT -an -sn -vcodec copy -vframes 1 -y $OUTPUT.mov Signed-off-by: Michael Niedermayer --- tests/Makefile | 1 + tests/fate/dnxhd.mak | 8 ++++++++ tests/ref/fate/dnxhd-mbaff | 2 ++ tests/ref/fate/dnxhr-444 | 2 ++ 4 files changed, 13 insertions(+) create mode 100644 tests/fate/dnxhd.mak create mode 100644 tests/ref/fate/dnxhd-mbaff create mode 100644 tests/ref/fate/dnxhr-444 diff --git a/tests/Makefile b/tests/Makefile index c4a16c3343..c0c1958278 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -113,6 +113,7 @@ include $(SRC_PATH)/tests/fate/checkasm.mak include $(SRC_PATH)/tests/fate/cover-art.mak include $(SRC_PATH)/tests/fate/demux.mak include $(SRC_PATH)/tests/fate/dfa.mak +include $(SRC_PATH)/tests/fate/dnxhd.mak include $(SRC_PATH)/tests/fate/dpcm.mak include $(SRC_PATH)/tests/fate/ea.mak include $(SRC_PATH)/tests/fate/exif.mak diff --git a/tests/fate/dnxhd.mak b/tests/fate/dnxhd.mak new file mode 100644 index 0000000000..6d79f3ba31 --- /dev/null +++ b/tests/fate/dnxhd.mak @@ -0,0 +1,8 @@ +FATE_DNXHD = fate-dnxhd-mbaff \ + fate-dnxhr-444 + +FATE_SAMPLES_AVCONV-$(call DEMDEC, MOV, DNXHD) += $(FATE_DNXHD) +fate-dnxhd: $(FATE_DNXHD) $(FATE_VCODEC_DNXHD) + +fate-dnxhd-mbaff: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/dnxhd/dnxhd100_cid1260.mov -pix_fmt yuv422p10le +fate-dnxhr-444: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/dnxhd/dnxhr444_cid1270.mov -pix_fmt yuv444p10le diff --git a/tests/ref/fate/dnxhd-mbaff b/tests/ref/fate/dnxhd-mbaff new file mode 100644 index 0000000000..171c244d14 --- /dev/null +++ b/tests/ref/fate/dnxhd-mbaff @@ -0,0 +1,2 @@ +#tb 0: 1001/30000 +0, 0, 0, 1, 6220800, 0xe78198c0 diff --git a/tests/ref/fate/dnxhr-444 b/tests/ref/fate/dnxhr-444 new file mode 100644 index 0000000000..743067d95a --- /dev/null +++ b/tests/ref/fate/dnxhr-444 @@ -0,0 +1,2 @@ +#tb 0: 1/24 +0, 0, 0, 1, 9665280, 0x238a023e