aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-07-14 18:57:37 +0200
committerClément Bœsch <u@pkh.me>2016-07-14 18:57:37 +0200
commitcd02df52567d417e3efeda8fbaa36a2753a0e0cf (patch)
tree43667a9c713ea11e40aade4379704d49d2b21e2d /tests
parentc3e2e842fa9141a4776238803100b63e14c79368 (diff)
parentcc58656aca95b5ab517989a9524b9a2b1c5653cf (diff)
downloadffmpeg-cd02df52567d417e3efeda8fbaa36a2753a0e0cf.tar.gz
Merge commit 'cc58656aca95b5ab517989a9524b9a2b1c5653cf'
* commit 'cc58656aca95b5ab517989a9524b9a2b1c5653cf': fate: Add tests for MagicYUV Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/video.mak19
-rw-r--r--tests/ref/fate/magicyuv-rgb6
-rw-r--r--tests/ref/fate/magicyuv-rgba6
-rw-r--r--tests/ref/fate/magicyuv-y400i6
-rw-r--r--tests/ref/fate/magicyuv-y4206
-rw-r--r--tests/ref/fate/magicyuv-y422i6
-rw-r--r--tests/ref/fate/magicyuv-y4446
-rw-r--r--tests/ref/fate/magicyuv-y4444i6
8 files changed, 61 insertions, 0 deletions
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 03a646686d..3d29b440f2 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -213,6 +213,25 @@ fate-kgv1: CMD = framecrc -i $(TARGET_SAMPLES)/kega/kgv1.avi -pix_fmt rgb555le -
FATE_VIDEO-$(call DEMDEC, AVI, KMVC) += fate-kmvc
fate-kmvc: CMD = framecrc -i $(TARGET_SAMPLES)/KMVC/LOGO1.AVI -an -t 3 -pix_fmt rgb24
+FATE_MAGICYUV += fate-magicyuv-y4444i \
+ fate-magicyuv-y400i \
+ fate-magicyuv-y420 \
+ fate-magicyuv-y422i \
+ fate-magicyuv-y444 \
+ fate-magicyuv-rgba \
+ fate-magicyuv-rgb
+
+FATE_VIDEO-$(call DEMDEC, AVI, MAGICYUV) += $(FATE_MAGICYUV)
+fate-magicyuv: $(FATE_MAGICYUV)
+
+fate-magicyuv-rgb: CMD = framecrc -i $(TARGET_SAMPLES)/magy/magy_rgb_median.avi
+fate-magicyuv-rgba: CMD = framecrc -i $(TARGET_SAMPLES)/magy/magy_rgba_gradient.avi
+fate-magicyuv-y400i: CMD = framecrc -i $(TARGET_SAMPLES)/magy/magy_yuv400_gradient_interlaced.avi
+fate-magicyuv-y420: CMD = framecrc -i $(TARGET_SAMPLES)/magy/magy_yuv420_median.avi
+fate-magicyuv-y422i: CMD = framecrc -i $(TARGET_SAMPLES)/magy/magy_yuv422_median_interlaced.avi
+fate-magicyuv-y4444i: CMD = framecrc -i $(TARGET_SAMPLES)/magy/magy_yuv4444_left_interlaced.avi
+fate-magicyuv-y444: CMD = framecrc -i $(TARGET_SAMPLES)/magy/magy_yuv444_left.avi
+
FATE_VIDEO-$(call DEMDEC, EA, MDEC) += fate-mdec
fate-mdec: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/ea-dct/NFS2Esprit-partial.dct -an
diff --git a/tests/ref/fate/magicyuv-rgb b/tests/ref/fate/magicyuv-rgb
new file mode 100644
index 0000000000..9fd483bfb6
--- /dev/null
+++ b/tests/ref/fate/magicyuv-rgb
@@ -0,0 +1,6 @@
+#tb 0: 100/2397
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x232
+#sar 0: 0/1
+0, 0, 0, 1, 144768, 0x497c8ce1
diff --git a/tests/ref/fate/magicyuv-rgba b/tests/ref/fate/magicyuv-rgba
new file mode 100644
index 0000000000..d2ccb696c0
--- /dev/null
+++ b/tests/ref/fate/magicyuv-rgba
@@ -0,0 +1,6 @@
+#tb 0: 100/2397
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x232
+#sar 0: 0/1
+0, 0, 0, 1, 193024, 0x7e1b7233
diff --git a/tests/ref/fate/magicyuv-y400i b/tests/ref/fate/magicyuv-y400i
new file mode 100644
index 0000000000..bf87b62619
--- /dev/null
+++ b/tests/ref/fate/magicyuv-y400i
@@ -0,0 +1,6 @@
+#tb 0: 100/2397
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x232
+#sar 0: 0/1
+0, 0, 0, 1, 48256, 0x368b93f2
diff --git a/tests/ref/fate/magicyuv-y420 b/tests/ref/fate/magicyuv-y420
new file mode 100644
index 0000000000..25fffc0358
--- /dev/null
+++ b/tests/ref/fate/magicyuv-y420
@@ -0,0 +1,6 @@
+#tb 0: 100/2397
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x232
+#sar 0: 0/1
+0, 0, 0, 1, 72384, 0x59a87842
diff --git a/tests/ref/fate/magicyuv-y422i b/tests/ref/fate/magicyuv-y422i
new file mode 100644
index 0000000000..4bb73f59ed
--- /dev/null
+++ b/tests/ref/fate/magicyuv-y422i
@@ -0,0 +1,6 @@
+#tb 0: 100/2397
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x232
+#sar 0: 0/1
+0, 0, 0, 1, 96512, 0xe84751be
diff --git a/tests/ref/fate/magicyuv-y444 b/tests/ref/fate/magicyuv-y444
new file mode 100644
index 0000000000..372d49c192
--- /dev/null
+++ b/tests/ref/fate/magicyuv-y444
@@ -0,0 +1,6 @@
+#tb 0: 100/2397
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x232
+#sar 0: 0/1
+0, 0, 0, 1, 144768, 0xef48043f
diff --git a/tests/ref/fate/magicyuv-y4444i b/tests/ref/fate/magicyuv-y4444i
new file mode 100644
index 0000000000..c5ab70e125
--- /dev/null
+++ b/tests/ref/fate/magicyuv-y4444i
@@ -0,0 +1,6 @@
+#tb 0: 100/2397
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 208x232
+#sar 0: 0/1
+0, 0, 0, 1, 193024, 0x5292ecec