fate/hapAlphaOnly : add test for hap alpha only decoding
authorMartin Vignali <martin.vignali@gmail.com>
Sat, 25 Nov 2017 18:47:06 +0000 (19:47 +0100)
committerMartin Vignali <martin.vignali@gmail.com>
Sat, 25 Nov 2017 18:49:34 +0000 (19:49 +0100)
tests/fate/video.mak
tests/ref/fate/hap-alpha-only-nosnappy-128x72 [new file with mode: 0644]
tests/ref/fate/hap-alpha-only-snappy-127x71 [new file with mode: 0644]

index d2d5b60..e7817d3 100644 (file)
@@ -192,6 +192,12 @@ fate-hapqa-snappy1-127x71: CMD = framecrc -i $(TARGET_SAMPLES)/hap/HAPQA_Snappy_
 FATE_HAP += fate-hapqa-snappy16-127x71
 fate-hapqa-snappy16-127x71: CMD = framecrc -i $(TARGET_SAMPLES)/hap/HAPQA_Snappy_16chunk_127x1.mov
 
+FATE_HAP += fate-hap-alpha-only-nosnappy-128x72
+fate-hap-alpha-only-nosnappy-128x72: CMD = framecrc -i $(TARGET_SAMPLES)/hap/HapAlphaOnly_NoSnappy_128x72.mov -pix_fmt gray8
+
+FATE_HAP += fate-hap-alpha-only-snappy-127x71
+fate-hap-alpha-only-snappy-127x71: CMD = framecrc -i $(TARGET_SAMPLES)/hap/HapAlphaOnly_snappy1chunk_127x71.mov -pix_fmt gray8
+
 FATE_VIDEO-$(call DEMDEC, MOV, HAP) += $(FATE_HAP)
 fate-hap: $(FATE_HAP)
 
diff --git a/tests/ref/fate/hap-alpha-only-nosnappy-128x72 b/tests/ref/fate/hap-alpha-only-nosnappy-128x72
new file mode 100644 (file)
index 0000000..d9b1b56
--- /dev/null
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 128x72
+#sar 0: 1/1
+0,          0,          0,        1,     9216, 0x5967036f
diff --git a/tests/ref/fate/hap-alpha-only-snappy-127x71 b/tests/ref/fate/hap-alpha-only-snappy-127x71
new file mode 100644 (file)
index 0000000..1559204
--- /dev/null
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 127x71
+#sar 0: 1/1
+0,          0,          0,        1,     9017, 0xc390c38c