aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2017-11-25 19:47:06 +0100
committerMartin Vignali <martin.vignali@gmail.com>2017-11-25 19:49:34 +0100
commit8794e0c0372c716ee1d97b59e8156c34d29fdc37 (patch)
tree297a81b994e38579bc7b9a518b2ad6fd2ed029fc
parent21c06c4095f53b2c343e1225ae52d83160e213f1 (diff)
downloadffmpeg-8794e0c0372c716ee1d97b59e8156c34d29fdc37.tar.gz
fate/hapAlphaOnly : add test for hap alpha only decoding
-rw-r--r--tests/fate/video.mak6
-rw-r--r--tests/ref/fate/hap-alpha-only-nosnappy-128x726
-rw-r--r--tests/ref/fate/hap-alpha-only-snappy-127x716
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index d2d5b60e9a..e7817d3d13 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -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
index 0000000000..d9b1b56147
--- /dev/null
+++ b/tests/ref/fate/hap-alpha-only-nosnappy-128x72
@@ -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
index 0000000000..1559204ca2
--- /dev/null
+++ b/tests/ref/fate/hap-alpha-only-snappy-127x71
@@ -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