summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-01-29 18:36:24 +0100
committerJanne Grunau <janne-libav@jannau.net>2014-01-31 11:12:31 +0100
commit04ffd2203065b4bc6b85dfc3c7c8e14c98e40943 (patch)
tree85ef5505123d29cbd7fb7a0c8a98630d8e8f3e58 /tests
parent7716dd9fbbcea2700a100c995df967d5547c2eb9 (diff)
fate: add xvid test for custom matrices
Test sample is made from the sample in Bug-Id: videolan/7411
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile1
-rw-r--r--tests/fate/xvid.mak6
-rw-r--r--tests/ref/fate/xvid-custom-matrix21
3 files changed, 28 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index ef0bdb45aa..004b44cc33 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -108,6 +108,7 @@ include $(SRC_PATH)/tests/fate/vpx.mak
include $(SRC_PATH)/tests/fate/vqf.mak
include $(SRC_PATH)/tests/fate/wavpack.mak
include $(SRC_PATH)/tests/fate/wma.mak
+include $(SRC_PATH)/tests/fate/xvid.mak
FATE_AVCONV += $(FATE_AVCONV-yes)
FATE-$(CONFIG_AVCONV) += $(FATE_AVCONV)
diff --git a/tests/fate/xvid.mak b/tests/fate/xvid.mak
new file mode 100644
index 0000000000..50ab231ae9
--- /dev/null
+++ b/tests/fate/xvid.mak
@@ -0,0 +1,6 @@
+fate-xvid-custom-matrix: CMD = framemd5 -i $(TARGET_SAMPLES)/mpeg4/xvid_vlc_trac7411.h263
+
+FATE_XVID-$(call DEMDEC, M4V, MPEG4) += fate-xvid-custom-matrix
+FATE_SAMPLES_AVCONV += $(FATE_XVID-yes)
+
+fate-xvid: $(FATE_XVID-yes)
diff --git a/tests/ref/fate/xvid-custom-matrix b/tests/ref/fate/xvid-custom-matrix
new file mode 100644
index 0000000000..9ad6298279
--- /dev/null
+++ b/tests/ref/fate/xvid-custom-matrix
@@ -0,0 +1,21 @@
+#tb 0: 1/25
+0, 1, 1, 1, 622080, fec19d49e4433046ac5f7a9f3dff2078
+0, 2, 2, 1, 622080, 77aa1a369ce3e180648eaccce95cb618
+0, 3, 3, 1, 622080, d3ff08bc77e247a4b033d37ff780c2a2
+0, 4, 4, 1, 622080, 362c6b7411f23134880b4ceeaf09aafb
+0, 5, 5, 1, 622080, 52ba7f7611160ed9516a3b94dd889254
+0, 6, 6, 1, 622080, e11bf4956dfa43a760cdb8a6c46201eb
+0, 7, 7, 1, 622080, 5305b5775b9481b136e84c0f1c2c52c7
+0, 8, 8, 1, 622080, 65510ff0135a41e5acc99071893c99b2
+0, 9, 9, 1, 622080, cab3a8991f0d404bb42386efb430abc7
+0, 10, 10, 1, 622080, b7a8305768527a9b54248e620a5e7117
+0, 11, 11, 1, 622080, 67adbfe7c321a2a74244d2a268de598a
+0, 12, 12, 1, 622080, 9bcaed10aa15b8a5278c5c4840cfb9c8
+0, 13, 13, 1, 622080, 0e3065f441313496cb390ba1a6c92b11
+0, 14, 14, 1, 622080, f741816f762c000fc6fa77d9d1d96cdc
+0, 15, 15, 1, 622080, 259686747b597c168440d5cfe75cdfbf
+0, 16, 16, 1, 622080, d37341f0bea41b6d0421e984cd079673
+0, 17, 17, 1, 622080, 97428665f84e4364bdba768ad604bcdc
+0, 18, 18, 1, 622080, 8c32ce967ee34df1ccbdf4e8b6aa8c8d
+0, 19, 19, 1, 622080, 7fee903f21d29d6d8215fc04c8b3af34
+0, 20, 20, 1, 622080, 3d67c55cc62f0308cd4549c7ac46081a