Merge commit 'b57a95d0147beae746db1c1223d100447f42dced'
authorJames Almer <jamrial@gmail.com>
Wed, 18 Oct 2017 14:05:56 +0000 (11:05 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 18 Oct 2017 14:11:44 +0000 (11:11 -0300)
* commit 'b57a95d0147beae746db1c1223d100447f42dced':
  cfhd: Add FATE tests

Merged-by: James Almer <jamrial@gmail.com>
tests/fate/video.mak
tests/ref/fate/cfhd-1 [new file with mode: 0644]
tests/ref/fate/cfhd-2 [new file with mode: 0644]
tests/ref/fate/cfhd-3 [new file with mode: 0644]

index 930eece2cab14077ede8a799670b049ed9959692..6f76365165e03a481d3a35f0c28db05052e2c865 100644 (file)
@@ -69,6 +69,18 @@ fate-cavs: CMD = framecrc -i $(TARGET_SAMPLES)/cavs/cavs.mpg -an
 FATE_VIDEO-$(call DEMDEC, CDG, CDGRAPHICS) += fate-cdgraphics
 fate-cdgraphics: CMD = framecrc -i $(TARGET_SAMPLES)/cdgraphics/BrotherJohn.cdg -pix_fmt rgba -t 1
 
+FATE_CFHD-$(CONFIG_AVI_DEMUXER) += fate-cfhd-1
+fate-cfhd-1: CMD = framecrc -i $(TARGET_SAMPLES)/cfhd/cfhd_422.avi -pix_fmt yuv422p10le
+
+FATE_CFHD-$(CONFIG_AVI_DEMUXER) += fate-cfhd-2
+fate-cfhd-2: CMD = framecrc -i $(TARGET_SAMPLES)/cfhd/cfhd_444.avi -pix_fmt gbrp12le
+
+FATE_CFHD-$(CONFIG_MOV_DEMUXER) += fate-cfhd-3
+fate-cfhd-3: CMD = framecrc -i $(TARGET_SAMPLES)/cfhd/cfhd_odd.mov -pix_fmt yuv422p10le
+
+FATE_VIDEO-$(CONFIG_CFHD_DECODER) += $(FATE_CFHD-yes)
+fate-cfhd: $(FATE_CFHD-yes)
+
 FATE_VIDEO-$(call DEMDEC, AVI, CLJR) += fate-cljr
 fate-cljr: CMD = framecrc -i $(TARGET_SAMPLES)/cljr/testcljr-partial.avi
 
diff --git a/tests/ref/fate/cfhd-1 b/tests/ref/fate/cfhd-1
new file mode 100644 (file)
index 0000000..0280d66
--- /dev/null
@@ -0,0 +1,15 @@
+#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 720x480
+#sar 0: 0/1
+0,          0,          0,        1,  1382400, 0xa3e49817
+0,          1,          1,        1,  1382400, 0x544fdfac
+0,          2,          2,        1,  1382400, 0x84964e11
+0,          3,          3,        1,  1382400, 0xc608c8d1
+0,          4,          4,        1,  1382400, 0xf2f1404f
+0,          5,          5,        1,  1382400, 0x5a3100ba
+0,          6,          6,        1,  1382400, 0x3727baa9
+0,          7,          7,        1,  1382400, 0x894f07db
+0,          8,          8,        1,  1382400, 0x3ef27d46
+0,          9,          9,        1,  1382400, 0x1f90880d
diff --git a/tests/ref/fate/cfhd-2 b/tests/ref/fate/cfhd-2
new file mode 100644 (file)
index 0000000..77db54c
--- /dev/null
@@ -0,0 +1,15 @@
+#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 720x480
+#sar 0: 0/1
+0,          0,          0,        1,  2073600, 0x53fab433
+0,          1,          1,        1,  2073600, 0x0d2b3f64
+0,          2,          2,        1,  2073600, 0x857d1d48
+0,          3,          3,        1,  2073600, 0xe1a7df32
+0,          4,          4,        1,  2073600, 0x615861c1
+0,          5,          5,        1,  2073600, 0xf6cdb0a9
+0,          6,          6,        1,  2073600, 0x55dd9f16
+0,          7,          7,        1,  2073600, 0x7c126a32
+0,          8,          8,        1,  2073600, 0x53fdd4c5
+0,          9,          9,        1,  2073600, 0x6062a4b3
diff --git a/tests/ref/fate/cfhd-3 b/tests/ref/fate/cfhd-3
new file mode 100644 (file)
index 0000000..60e13c6
--- /dev/null
@@ -0,0 +1,15 @@
+#tb 0: 1000/14587
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 496x241
+#sar 0: 0/1
+0,          0,          0,        1,   478144, 0x6ed01dcd
+0,          1,          1,        1,   478144, 0x6ed01dcd
+0,          2,          2,        1,   478144, 0x6ed01dcd
+0,          3,          3,        1,   478144, 0xb1b4a74b
+0,          4,          4,        1,   478144, 0x94c345c3
+0,          5,          5,        1,   478144, 0x05e0388d
+0,          6,          6,        1,   478144, 0xe747476a
+0,          7,          7,        1,   478144, 0x8c1561f1
+0,          8,          8,        1,   478144, 0x8c1561f1
+0,          9,          9,        1,   478144, 0x8c1561f1