summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Reid <mindmark@gmail.com>2016-02-15 22:01:28 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-17 21:16:14 +0100
commitf09449daa4f232a932d538f38029cab8d0e7a13f (patch)
treedbe578b8d601e2587c7b36aa17cf9415cfcc0bd2
parentc4ac30909e504a7f98bd02f4c8c92c5323608fa1 (diff)
tests/fate: added dnxhr parser regression test
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tests/fate/dnxhd.mak4
-rw-r--r--tests/ref/fate/dnxhr-parse5
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/fate/dnxhd.mak b/tests/fate/dnxhd.mak
index 6d79f3ba31..b7f8b1750d 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 0000000000..ae1bd8ab1a
--- /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