aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2019-05-14 23:25:50 +1000
committerPeter Ross <pross@xvid.org>2019-06-12 20:06:20 +1000
commitf4c35a458f9d7eea9dc30bb1cad7c141a9037011 (patch)
treec2342edaa8dde186ba4b864ecfd59947c84f8d99
parent8913af7d94d48559865739d3b068222434fbd319 (diff)
downloadffmpeg-f4c35a458f9d7eea9dc30bb1cad7c141a9037011.tar.gz
fate: add VP4 test
-rw-r--r--tests/fate/vpx.mak3
-rw-r--r--tests/ref/fate/vp429
2 files changed, 32 insertions, 0 deletions
diff --git a/tests/fate/vpx.mak b/tests/fate/vpx.mak
index 0be5aa2aaa..3b3da18feb 100644
--- a/tests/fate/vpx.mak
+++ b/tests/fate/vpx.mak
@@ -34,6 +34,9 @@ fate-vp31: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/vp31.avi
FATE_SAMPLES_AVCONV += $(FATE_VP3-yes)
fate-vp3: $(FATE_VP3-yes)
+FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP4) += fate-vp4
+fate-vp4: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp4/KTkvw8dg1J8.avi
+
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP5) += fate-vp5
fate-vp5: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp5/potter512-400-partial.avi -an
diff --git a/tests/ref/fate/vp4 b/tests/ref/fate/vp4
new file mode 100644
index 0000000000..dae848eab7
--- /dev/null
+++ b/tests/ref/fate/vp4
@@ -0,0 +1,29 @@
+#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 608x256
+#sar 0: 0/1
+0, 0, 0, 1, 233472, 0xcf3a25ae
+0, 1, 1, 1, 233472, 0xcc16c0bb
+0, 2, 2, 1, 233472, 0xb2dcf0fd
+0, 3, 3, 1, 233472, 0xbc0f0aea
+0, 4, 4, 1, 233472, 0x97a1b4e9
+0, 5, 5, 1, 233472, 0x40d1661e
+0, 6, 6, 1, 233472, 0x2bc13fe4
+0, 7, 7, 1, 233472, 0xe9ff96b4
+0, 8, 8, 1, 233472, 0xd57585ad
+0, 9, 9, 1, 233472, 0xcf1a0cbe
+0, 10, 10, 1, 233472, 0x4b49d6e0
+0, 11, 11, 1, 233472, 0x9e2562f1
+0, 12, 12, 1, 233472, 0x62675663
+0, 13, 13, 1, 233472, 0x8b27fc45
+0, 14, 14, 1, 233472, 0x437eb1f7
+0, 15, 15, 1, 233472, 0x1be26067
+0, 16, 16, 1, 233472, 0x479f32fb
+0, 17, 17, 1, 233472, 0x405bdeb0
+0, 18, 18, 1, 233472, 0x966b3045
+0, 19, 19, 1, 233472, 0x4630a436
+0, 20, 20, 1, 233472, 0x70141070
+0, 21, 21, 1, 233472, 0x50a66c51
+0, 22, 22, 1, 233472, 0x266e9b5a
+0, 23, 23, 1, 233472, 0xbbde5029