[FFmpeg-cvslog] fate: add DNxHD/HR tests

Christophe Gisquet git at videolan.org
Fri Oct 9 22:38:15 CEST 2015


ffmpeg | branch: master | Christophe Gisquet <christophe.gisquet at gmail.com> | Mon Oct  5 17:37:38 2015 +0200| [25d3013e36152635ca992b63469f6d5b890aaa83] | committer: Michael Niedermayer

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 <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=25d3013e36152635ca992b63469f6d5b890aaa83
---

 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(+)

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



More information about the ffmpeg-cvslog mailing list