Merge commit 'cc58656aca95b5ab517989a9524b9a2b1c5653cf'
authorClément Bœsch <u@pkh.me>
Thu, 14 Jul 2016 16:57:37 +0000 (18:57 +0200)
committerClément Bœsch <u@pkh.me>
Thu, 14 Jul 2016 16:57:37 +0000 (18:57 +0200)
* commit 'cc58656aca95b5ab517989a9524b9a2b1c5653cf':
  fate: Add tests for MagicYUV

Merged-by: Clément Bœsch <u@pkh.me>
tests/fate/video.mak
tests/ref/fate/magicyuv-rgb [new file with mode: 0644]
tests/ref/fate/magicyuv-rgba [new file with mode: 0644]
tests/ref/fate/magicyuv-y400i [new file with mode: 0644]
tests/ref/fate/magicyuv-y420 [new file with mode: 0644]
tests/ref/fate/magicyuv-y422i [new file with mode: 0644]
tests/ref/fate/magicyuv-y444 [new file with mode: 0644]
tests/ref/fate/magicyuv-y4444i [new file with mode: 0644]

index 03a6466..3d29b44 100644 (file)
@@ -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 (file)
index 0000000..9fd483b
--- /dev/null
@@ -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 (file)
index 0000000..d2ccb69
--- /dev/null
@@ -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 (file)
index 0000000..bf87b62
--- /dev/null
@@ -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 (file)
index 0000000..25fffc0
--- /dev/null
@@ -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 (file)
index 0000000..4bb73f5
--- /dev/null
@@ -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 (file)
index 0000000..372d49c
--- /dev/null
@@ -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 (file)
index 0000000..c5ab70e
--- /dev/null
@@ -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