Merge commit 'b57a95d0147beae746db1c1223d100447f42dced'

* commit 'b57a95d0147beae746db1c1223d100447f42dced':
  cfhd: Add FATE tests

Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-10-18 11:05:56 -03:00
commit 7293248239
4 changed files with 57 additions and 0 deletions

View 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

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

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

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

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

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

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