[FFmpeg-cvslog] fate: Add test for tscc2 in mov

Vittorio Giovara git at videolan.org
Tue Mar 24 01:55:25 CET 2015


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Mar 18 00:48:18 2015 +0000| [7419b34825c20d52f667da2fbe4dc710ec8398f8] | committer: Vittorio Giovara

fate: Add test for tscc2 in mov

Rename the existing tscc2 test.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7419b34825c20d52f667da2fbe4dc710ec8398f8
---

 tests/fate/screen.mak               |   10 ++++++++--
 tests/ref/fate/{tscc2 => tscc2-avi} |    0
 tests/ref/fate/tscc2-mov            |   16 ++++++++++++++++
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/tests/fate/screen.mak b/tests/fate/screen.mak
index 12f8326..f0667ae 100644
--- a/tests/fate/screen.mak
+++ b/tests/fate/screen.mak
@@ -41,8 +41,14 @@ fate-tscc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/2004-12-17-uebung9-par
 FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, TSCC) += $(FATE_TSCC)
 fate-tscc: $(FATE_TSCC)
 
-FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, TSCC2) += fate-tscc2
-fate-tscc2: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/tsc2_16bpp.avi
+FATE_TSCC2-$(CONFIG_AVI_DEMUXER) += fate-tscc2-avi
+fate-tscc2-avi: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/tsc2_16bpp.avi
+
+FATE_TSCC2-$(CONFIG_MOV_DEMUXER) += fate-tscc2-mov
+fate-tscc2-mov: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/rec.trec
+
+FATE_SAMPLES_AVCONV-$(CONFIG_TSCC2_DECODER) += $(FATE_TSCC2-yes)
+fate-tscc2: $(FATE_TSCC2-yes)
 
 FATE_VMNC += fate-vmnc-16bit
 fate-vmnc-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/VMnc/test.avi -pix_fmt rgb24
diff --git a/tests/ref/fate/tscc2 b/tests/ref/fate/tscc2-avi
similarity index 100%
rename from tests/ref/fate/tscc2
rename to tests/ref/fate/tscc2-avi
diff --git a/tests/ref/fate/tscc2-mov b/tests/ref/fate/tscc2-mov
new file mode 100644
index 0000000..d73ff3f
--- /dev/null
+++ b/tests/ref/fate/tscc2-mov
@@ -0,0 +1,16 @@
+#tb 0: 1/5
+0,          0,          0,        1,  1180116, 0x01d01336
+0,          1,          1,        1,  1180116, 0x01d01336
+0,          2,          2,        1,  1180116, 0x01d01336
+0,          3,          3,        1,  1180116, 0x01d01336
+0,          4,          4,        1,  1180116, 0x01d01336
+0,          5,          5,        1,  1180116, 0x01d01336
+0,          6,          6,        1,  1180116, 0x01d01336
+0,          7,          7,        1,  1180116, 0x01d01336
+0,          8,          8,        1,  1180116, 0x01d01336
+0,          9,          9,        1,  1180116, 0x01d01336
+0,         10,         10,        1,  1180116, 0x056fdadd
+0,         11,         11,        1,  1180116, 0x6f73e080
+0,         12,         12,        1,  1180116, 0x5244d9e5
+0,         13,         13,        1,  1180116, 0x629bf10f
+0,         14,         14,        1,  1180116, 0x97c726cb



More information about the ffmpeg-cvslog mailing list