aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-12-12 03:35:46 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-12-18 23:22:59 +0100
commiteffa7d2a6a260ca3ce801c180ee6131d67d665fb (patch)
tree0b523f4c49890b17b5ea33d12f80083445154b7f
parent67fc8a15e4182ea111cfcd05897709f09d99a33a (diff)
downloadffmpeg-effa7d2a6a260ca3ce801c180ee6131d67d665fb.tar.gz
fate: add test for offset theora
-rw-r--r--tests/fate/vpx.mak3
-rw-r--r--tests/ref/fate/theora-offset11
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/fate/vpx.mak b/tests/fate/vpx.mak
index f8c25e5661..b9c7c2032a 100644
--- a/tests/fate/vpx.mak
+++ b/tests/fate/vpx.mak
@@ -1,6 +1,9 @@
FATE_VP3-$(call DEMDEC, MATROSKA, THEORA) += fate-theora-coeff-level64
fate-theora-coeff-level64: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/coeff_level64.mkv
+FATE_VP3-$(call DEMDEC, OGG, THEORA) += fate-theora-offset
+fate-theora-offset: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/offset_test.ogv
+
FATE_VP3-$(call DEMDEC, AVI, VP3) += fate-vp31
fate-vp31: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/vp31.avi
diff --git a/tests/ref/fate/theora-offset b/tests/ref/fate/theora-offset
new file mode 100644
index 0000000000..5921657541
--- /dev/null
+++ b/tests/ref/fate/theora-offset
@@ -0,0 +1,11 @@
+#tb 0: 1/1
+0, 0, 0, 1, 393216, 0xdc998fa2
+0, 1, 1, 1, 393216, 0x979a8fbd
+0, 2, 2, 1, 393216, 0x979a8fbd
+0, 3, 3, 1, 393216, 0x979a8fbd
+0, 4, 4, 1, 393216, 0x979a8fbd
+0, 5, 5, 1, 393216, 0x979a8fbd
+0, 6, 6, 1, 393216, 0x979a8fbd
+0, 7, 7, 1, 393216, 0x979a8fbd
+0, 8, 8, 1, 393216, 0x979a8fbd
+0, 9, 9, 1, 393216, 0x979a8fbd