summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-02-13 08:36:18 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-02-19 12:05:19 -0500
commitb727b0eeb73cd78533a7fd387ceccd505e48fa6c (patch)
treeb6d04905f9a1853f6ab11067e65e1f10da0c9468 /tests
parent062cd5a975ff7bd6fb91f9b4d1d9d102a7545499 (diff)
downloadffmpeg-b727b0eeb73cd78533a7fd387ceccd505e48fa6c.tar.gz
fate: Add tests for DSS
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/audio.mak4
-rw-r--r--tests/ref/fate/dss-lp31
-rw-r--r--tests/ref/fate/dss-sp31
3 files changed, 66 insertions, 0 deletions
diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak
index d6ca58e3cf..397b4ecb4b 100644
--- a/tests/fate/audio.mak
+++ b/tests/fate/audio.mak
@@ -19,6 +19,10 @@ fate-bmv-audio: CMD = framecrc -i $(TARGET_SAMPLES)/bmv/SURFING-partial.BMV -vn
FATE_SAMPLES_AVCONV-$(call DEMDEC, DSICIN, DSICINAUDIO) += fate-delphine-cin-audio
fate-delphine-cin-audio: CMD = framecrc -i $(TARGET_SAMPLES)/delphine-cin/LOGO-partial.CIN -vn
+FATE_SAMPLES_AVCONV-$(call DEMDEC, DSS, DSS_SP) += fate-dss-lp fate-dss-sp
+fate-dss-lp: CMD = framecrc -i $(TARGET_SAMPLES)/dss/lp.dss -frames 30
+fate-dss-sp: CMD = framecrc -i $(TARGET_SAMPLES)/dss/sp.dss -frames 30
+
FATE_SAMPLES_AVCONV-$(call DEMDEC, MPEGTS, DCA) += fate-dts
fate-dts: CMD = pcm -i $(TARGET_SAMPLES)/dts/dts.ts
fate-dts: CMP = oneoff
diff --git a/tests/ref/fate/dss-lp b/tests/ref/fate/dss-lp
new file mode 100644
index 0000000000..b5bee182f9
--- /dev/null
+++ b/tests/ref/fate/dss-lp
@@ -0,0 +1,31 @@
+#tb 0: 1/8000
+0, 0, 0, 240, 480, 0xf1107658
+0, 240, 240, 240, 480, 0x50dee179
+0, 480, 480, 240, 480, 0x40090802
+0, 720, 720, 240, 480, 0x3ef9f6ff
+0, 960, 960, 240, 480, 0x5b7df231
+0, 1200, 1200, 240, 480, 0xe266efd1
+0, 1440, 1440, 240, 480, 0xfbe6e658
+0, 1680, 1680, 240, 480, 0xde84f311
+0, 1920, 1920, 240, 480, 0x5854ec2f
+0, 2160, 2160, 240, 480, 0x4901cdea
+0, 2400, 2400, 240, 480, 0x03f3e619
+0, 2640, 2640, 240, 480, 0x47abfe87
+0, 2880, 2880, 240, 480, 0x69dddf34
+0, 3120, 3120, 240, 480, 0x1cfeee2c
+0, 3360, 3360, 240, 480, 0x1860ef1c
+0, 3600, 3600, 240, 480, 0x8f86e8ed
+0, 3840, 3840, 240, 480, 0x307deaf8
+0, 4080, 4080, 240, 480, 0xeca7eca0
+0, 4320, 4320, 240, 480, 0x1835ee1c
+0, 4560, 4560, 240, 480, 0x6676ed66
+0, 4800, 4800, 240, 480, 0x49c2fd04
+0, 5040, 5040, 240, 480, 0xc463db75
+0, 5280, 5280, 240, 480, 0x1931ed7d
+0, 5520, 5520, 240, 480, 0xc99ff886
+0, 5760, 5760, 240, 480, 0xcd3ae8de
+0, 6000, 6000, 240, 480, 0x2294ecfa
+0, 6240, 6240, 240, 480, 0xcf5ef14b
+0, 6480, 6480, 240, 480, 0x6325d4fe
+0, 6720, 6720, 240, 480, 0x3790dcf2
+0, 6960, 6960, 240, 480, 0x0fbee6c0
diff --git a/tests/ref/fate/dss-sp b/tests/ref/fate/dss-sp
new file mode 100644
index 0000000000..111c621bb8
--- /dev/null
+++ b/tests/ref/fate/dss-sp
@@ -0,0 +1,31 @@
+#tb 0: 1/11025
+0, 0, 0, 264, 528, 0xa2579e96
+0, 264, 264, 264, 528, 0xf9b23172
+0, 528, 528, 264, 528, 0x5571a0fe
+0, 792, 792, 264, 528, 0x2c989245
+0, 1056, 1056, 264, 528, 0xc4d3b5b5
+0, 1320, 1320, 264, 528, 0x0becb08d
+0, 1584, 1584, 264, 528, 0x71537374
+0, 1848, 1848, 264, 528, 0xed6e4784
+0, 2112, 2112, 264, 528, 0x8dc73f7e
+0, 2376, 2376, 264, 528, 0x20804ba8
+0, 2640, 2640, 264, 528, 0xcfdd4803
+0, 2904, 2904, 264, 528, 0x6fad0da5
+0, 3168, 3168, 264, 528, 0xeaa41f45
+0, 3432, 3432, 264, 528, 0x99ef463e
+0, 3696, 3696, 264, 528, 0x5a8c256a
+0, 3960, 3960, 264, 528, 0x668c253a
+0, 4224, 4224, 264, 528, 0x29890b2e
+0, 4488, 4488, 264, 528, 0x6cd51639
+0, 4752, 4752, 264, 528, 0x6cc95342
+0, 5016, 5016, 264, 528, 0x2bdc59ea
+0, 5280, 5280, 264, 528, 0x72ff263d
+0, 5544, 5544, 264, 528, 0xb5bd3592
+0, 5808, 5808, 264, 528, 0x16de4402
+0, 6072, 6072, 264, 528, 0x80195ab4
+0, 6336, 6336, 264, 528, 0x425c594c
+0, 6600, 6600, 264, 528, 0x04b32203
+0, 6864, 6864, 264, 528, 0x688a38ec
+0, 7128, 7128, 264, 528, 0x34531167
+0, 7392, 7392, 264, 528, 0xdef83475
+0, 7656, 7656, 264, 528, 0xf5fe3fe5