cfhd: Add FATE tests

This commit is contained in:
Diego Biurrun 2016-02-29 15:39:27 +01:00 committed by Luca Barbato
parent 5f794aa165
commit b57a95d014
4 changed files with 45 additions and 0 deletions

View File

@ -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

11
tests/ref/fate/cfhd-1 Normal file
View File

@ -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

11
tests/ref/fate/cfhd-2 Normal file
View File

@ -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

11
tests/ref/fate/cfhd-3 Normal file
View File

@ -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