aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2010-08-21 20:57:24 +0000
committerVitor Sessak <vitor1001@gmail.com>2010-08-21 20:57:24 +0000
commit3d6bd1c7979dfa03aaaa7c051163876dd93db08f (patch)
treeb618e1d9b6c24771808163d3603159abeee56530 /tests
parent2a86d4b90528e4060b181ec32aca494655d54937 (diff)
downloadffmpeg-3d6bd1c7979dfa03aaaa7c051163876dd93db08f.tar.gz
Add FATE test for ANSI/ASCII animation and TTY demuxer
Originally committed as revision 24865 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r--tests/fate2.mak3
-rw-r--r--tests/ref/fate/ansi17
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/fate2.mak b/tests/fate2.mak
index c6add240a8..353740d603 100644
--- a/tests/fate2.mak
+++ b/tests/fate2.mak
@@ -157,3 +157,6 @@ FATE2_TESTS += fate-wmapro-2ch
fate-wmapro-2ch: CMD = pcm -i $(SAMPLES)/wmapro/Beethovens_9th-1_small.wma
fate-wmapro-2ch: CMP = oneoff
fate-wmapro-2ch: REF = $(SAMPLES)/wmapro/Beethovens_9th-1_small.pcm
+
+FATE2_TESTS += fate-ansi
+fate-ansi: CMD = framecrc -i $(SAMPLES)/ansi/TRE-IOM5.ANS -pix_fmt rgb24
diff --git a/tests/ref/fate/ansi b/tests/ref/fate/ansi
new file mode 100644
index 0000000000..bb9f35f792
--- /dev/null
+++ b/tests/ref/fate/ansi
@@ -0,0 +1,17 @@
+0, 0, 768000, 0x3032d0de
+0, 3600, 768000, 0xc3be5922
+0, 7200, 768000, 0xf530c476
+0, 10800, 768000, 0x11c1fb8e
+0, 14400, 768000, 0x72d12da9
+0, 18000, 768000, 0x39c7a70d
+0, 21600, 768000, 0x94bd32a4
+0, 25200, 768000, 0x06dd5ba1
+0, 28800, 768000, 0x9616ec95
+0, 32400, 768000, 0x6df5b9e2
+0, 36000, 768000, 0x7be7f60a
+0, 39600, 768000, 0x2abc8623
+0, 43200, 768000, 0x5678bfff
+0, 46800, 768000, 0x24a03042
+0, 50400, 768000, 0xfb011b23
+0, 54000, 768000, 0x925ff5e9
+0, 57600, 768000, 0x890e2a56