Hi,

2015-10-08 1:38 GMT+02:00 Michael Niedermayer <mich...@niedermayer.cc>:
>> So I have made a fate test on 1 frame for each sequence (total around 1.8MB).
>>
>> Is it ok?
>
> ok

Here you go. Hendrik has kindly volunteered to upload the 2 samples for me.

-- 
Christophe
From 332b92d977ae04db0080973426ddc019d93a040b Mon Sep 17 00:00:00 2001
From: Christophe Gisquet <christophe.gisq...@gmail.com>
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
---
 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 c4a16c3..c0c1958 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 0000000..6d79f3b
--- /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 0000000..171c244
--- /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 0000000..743067d
--- /dev/null
+++ b/tests/ref/fate/dnxhr-444
@@ -0,0 +1,2 @@
+#tb 0: 1/24
+0,          0,          0,        1,  9665280, 0x238a023e
-- 
2.6.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to