[FFmpeg-devel] [PATCH] tests/fate: added dnxhr parser regression test

Mark Reid mindmark at gmail.com
Tue Feb 16 07:01:28 CET 2016


---
 tests/fate/dnxhd.mak       | 4 +++-
 tests/ref/fate/dnxhr-parse | 5 +++++
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 tests/ref/fate/dnxhr-parse

diff --git a/tests/fate/dnxhd.mak b/tests/fate/dnxhd.mak
index 6d79f3b..b7f8b17 100644
--- a/tests/fate/dnxhd.mak
+++ b/tests/fate/dnxhd.mak
@@ -1,8 +1,10 @@
 FATE_DNXHD = fate-dnxhd-mbaff     \
-             fate-dnxhr-444
+             fate-dnxhr-444       \
+             fate-dnxhr-parse
 
 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
+fate-dnxhr-parse: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/dnxhd/dnxhr_cid1274.dnxhr -pix_fmt yuv422p
diff --git a/tests/ref/fate/dnxhr-parse b/tests/ref/fate/dnxhr-parse
new file mode 100644
index 0000000..ae1bd8a
--- /dev/null
+++ b/tests/ref/fate/dnxhr-parse
@@ -0,0 +1,5 @@
+#tb 0: 1/25
+0,          0,          0,        1, 16588800, 0x67ebfdb1
+0,          1,          1,        1, 16588800, 0x7fa687e6
+0,          2,          2,        1, 16588800, 0x4e13f5eb
+0,          3,          3,        1, 16588800, 0x054a642d
-- 
2.7.1



More information about the ffmpeg-devel mailing list