summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-04-09 18:12:30 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-04-19 22:37:23 +0100
commit22526c1f557a72b3285d295bd8b30c40eb65d437 (patch)
treee5e6ea4e9375f0e4deaa2104d810e072136e6510 /tests
parente6fb844f7b736e72da364032d251283bce9e63ad (diff)
Canopus HQ/HQA decoder
Based on work by Kostya Shishkov <kostya.shishkov@gmail.com>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/video.mak12
-rw-r--r--tests/ref/fate/canopus-hq_hqa-hq9
-rw-r--r--tests/ref/fate/canopus-hq_hqa-hqa2
-rw-r--r--tests/ref/fate/canopus-hq_hqa-inter2
4 files changed, 25 insertions, 0 deletions
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 1080c1ce81..d43754f07a 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -55,6 +55,18 @@ fate-bink-video: $(FATE_BINK_VIDEO)
FATE_SAMPLES_AVCONV-$(call DEMDEC, BMV, BMV_VIDEO) += fate-bmv-video
fate-bmv-video: CMD = framecrc -i $(TARGET_SAMPLES)/bmv/SURFING-partial.BMV -pix_fmt rgb24 -an
+FATE_CANOPUS_HQ_HQA += fate-canopus-hq_hqa-hq
+fate-canopus-hq_hqa-hq: CMD = framecrc -i $(TARGET_SAMPLES)/canopus/hq.avi
+
+FATE_CANOPUS_HQ_HQA += fate-canopus-hq_hqa-hqa
+fate-canopus-hq_hqa-hqa: CMD = framecrc -i $(TARGET_SAMPLES)/canopus/hqa.avi
+
+FATE_CANOPUS_HQ_HQA += fate-canopus-hq_hqa-inter
+fate-canopus-hq_hqa-inter: CMD = framecrc -i $(TARGET_SAMPLES)/canopus/hq25i.avi
+
+FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, HQ_HQA) += $(FATE_CANOPUS_HQ_HQA)
+fate-canopus-hq_hqa: $(FATE_CANOPUS_HQ_HQA)
+
FATE_CANOPUS_HQX += fate-canopus-hqx422
fate-canopus-hqx422: CMD = framecrc -i $(TARGET_SAMPLES)/canopus/hqx422.avi -pix_fmt yuv422p16be -an
diff --git a/tests/ref/fate/canopus-hq_hqa-hq b/tests/ref/fate/canopus-hq_hqa-hq
new file mode 100644
index 0000000000..ca376dc7b4
--- /dev/null
+++ b/tests/ref/fate/canopus-hq_hqa-hq
@@ -0,0 +1,9 @@
+#tb 0: 1/25
+0, 0, 0, 1, 829440, 0x8b6b2f6d
+0, 1, 1, 1, 829440, 0x70382bf0
+0, 2, 2, 1, 829440, 0xbfdf1f8d
+0, 3, 3, 1, 829440, 0x27587282
+0, 4, 4, 1, 829440, 0x54655f5d
+0, 5, 5, 1, 829440, 0xe31bff92
+0, 6, 6, 1, 829440, 0x10ec4a8b
+0, 7, 7, 1, 829440, 0x0a5773e7
diff --git a/tests/ref/fate/canopus-hq_hqa-hqa b/tests/ref/fate/canopus-hq_hqa-hqa
new file mode 100644
index 0000000000..0996500884
--- /dev/null
+++ b/tests/ref/fate/canopus-hq_hqa-hqa
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 6220800, 0x2b2b17cc
diff --git a/tests/ref/fate/canopus-hq_hqa-inter b/tests/ref/fate/canopus-hq_hqa-inter
new file mode 100644
index 0000000000..2880c95427
--- /dev/null
+++ b/tests/ref/fate/canopus-hq_hqa-inter
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 4147200, 0x418ecfe5