aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-18 11:05:56 -0300
committerJames Almer <jamrial@gmail.com>2017-10-18 11:11:44 -0300
commit7293248239c452ca7befc6dd33d603f524fa2a35 (patch)
tree91b28a1b4bd26f09e31988e99227db9e16322e95 /tests
parentd2917501c252d999e5478c4b804e326ac77cf37b (diff)
parentb57a95d0147beae746db1c1223d100447f42dced (diff)
downloadffmpeg-7293248239c452ca7befc6dd33d603f524fa2a35.tar.gz
Merge commit 'b57a95d0147beae746db1c1223d100447f42dced'
* commit 'b57a95d0147beae746db1c1223d100447f42dced': cfhd: Add FATE tests Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/video.mak12
-rw-r--r--tests/ref/fate/cfhd-115
-rw-r--r--tests/ref/fate/cfhd-215
-rw-r--r--tests/ref/fate/cfhd-315
4 files changed, 57 insertions, 0 deletions
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 930eece2ca..6f76365165 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -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
index 0000000000..0280d66df1
--- /dev/null
+++ b/tests/ref/fate/cfhd-1
@@ -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
index 0000000000..77db54c265
--- /dev/null
+++ b/tests/ref/fate/cfhd-2
@@ -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
index 0000000000..60e13c64a7
--- /dev/null
+++ b/tests/ref/fate/cfhd-3
@@ -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