summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-02-29 15:39:27 +0100
committerLuca Barbato <lu_zero@gentoo.org>2017-03-09 18:37:29 +0100
commitb57a95d0147beae746db1c1223d100447f42dced (patch)
tree4fe0ce48ea0bb1bb791123282dbd283ccdfa7f7c /tests
parent5f794aa1653aa04c1da7397e9ccacad947fadf5f (diff)
downloadffmpeg-streaming-b57a95d0147beae746db1c1223d100447f42dced.zip
ffmpeg-streaming-b57a95d0147beae746db1c1223d100447f42dced.tar.gz
cfhd: Add FATE tests
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/video.mak12
-rw-r--r--tests/ref/fate/cfhd-111
-rw-r--r--tests/ref/fate/cfhd-211
-rw-r--r--tests/ref/fate/cfhd-311
4 files changed, 45 insertions, 0 deletions
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 01108f8..379eb2b 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -61,6 +61,18 @@ fate-cavs: CMD = framecrc -i $(TARGET_SAMPLES)/cavs/cavs.mpg -an
FATE_SAMPLES_AVCONV-$(call DEMDEC, CDG, CDGRAPHICS) += fate-cdgraphics
fate-cdgraphics: CMD = framecrc -i $(TARGET_SAMPLES)/cdgraphics/BrotherJohn.cdg -pix_fmt rgb24 -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 yuv422p10le
+
+FATE_CFHD-$(CONFIG_MOV_DEMUXER) += fate-cfhd-3
+fate-cfhd-3: CMD = framecrc -i $(TARGET_SAMPLES)/cfhd/cfhd_odd.mov -pix_fmt yuv422p10le
+
+FATE_SAMPLES_AVCONV-$(CONFIG_CFHD_DECODER) += $(FATE_CFHD-yes)
+fate-cfhd: $(FATE_CFHD-yes)
+
FATE_SAMPLES_AVCONV-$(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 0000000..cccfc8b
--- /dev/null
+++ b/tests/ref/fate/cfhd-1
@@ -0,0 +1,11 @@
+#tb 0: 1001/30000
+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 0000000..1af92d0
--- /dev/null
+++ b/tests/ref/fate/cfhd-2
@@ -0,0 +1,11 @@
+#tb 0: 1001/30000
+0, 0, 0, 1, 1382400, 0xe1c2201d
+0, 1, 1, 1, 1382400, 0x13e5bc81
+0, 2, 2, 1, 1382400, 0x3062ca82
+0, 3, 3, 1, 1382400, 0x1c71624f
+0, 4, 4, 1, 1382400, 0xf286c080
+0, 5, 5, 1, 1382400, 0xd517d824
+0, 6, 6, 1, 1382400, 0xe571ffd5
+0, 7, 7, 1, 1382400, 0x94a523ff
+0, 8, 8, 1, 1382400, 0x85c58fca
+0, 9, 9, 1, 1382400, 0x6b3278b0
diff --git a/tests/ref/fate/cfhd-3 b/tests/ref/fate/cfhd-3
new file mode 100644
index 0000000..6169848
--- /dev/null
+++ b/tests/ref/fate/cfhd-3
@@ -0,0 +1,11 @@
+#tb 0: 1/14587
+0, 0, 0, 0, 478144, 0x6ed01dcd
+0, 1000, 1000, 0, 478144, 0x6ed01dcd
+0, 2000, 2000, 0, 478144, 0x6ed01dcd
+0, 3000, 3000, 0, 478144, 0xb1b4a74b
+0, 4000, 4000, 0, 478144, 0x94c345c3
+0, 5000, 5000, 0, 478144, 0x05e0388d
+0, 6000, 6000, 0, 478144, 0xe747476a
+0, 7000, 7000, 0, 478144, 0x8c1561f1
+0, 8000, 8000, 0, 478144, 0x8c1561f1
+0, 9000, 9000, 0, 478144, 0x8c1561f1
OpenPOWER on IntegriCloud