From b57a95d0147beae746db1c1223d100447f42dced Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 29 Feb 2016 15:39:27 +0100 Subject: [PATCH] cfhd: Add FATE tests --- tests/fate/video.mak | 12 ++++++++++++ tests/ref/fate/cfhd-1 | 11 +++++++++++ tests/ref/fate/cfhd-2 | 11 +++++++++++ tests/ref/fate/cfhd-3 | 11 +++++++++++ 4 files changed, 45 insertions(+) create mode 100644 tests/ref/fate/cfhd-1 create mode 100644 tests/ref/fate/cfhd-2 create mode 100644 tests/ref/fate/cfhd-3 diff --git a/tests/fate/video.mak b/tests/fate/video.mak index 01108f8d9d..379eb2b0b3 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 0000000000..cccfc8b860 --- /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 0000000000..1af92d0668 --- /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 0000000000..61698482fd --- /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