fate: Add tests for MagicYUV
authorVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 3 Jun 2016 19:51:32 +0000 (15:51 -0400)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 20 Jun 2016 19:47:23 +0000 (15:47 -0400)
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 df3ce5c..40f74ea 100644 (file)
@@ -199,6 +199,25 @@ fate-kgv1: CMD = framecrc -i $(TARGET_SAMPLES)/kega/kgv1.avi -pix_fmt rgb555le -
 FATE_SAMPLES_AVCONV-$(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_SAMPLES_AVCONV-$(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_SAMPLES_AVCONV-$(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..a52574a
--- /dev/null
@@ -0,0 +1,2 @@
+#tb 0: 100/2397
+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..6cad8e0
--- /dev/null
@@ -0,0 +1,2 @@
+#tb 0: 100/2397
+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..4c8fe7e
--- /dev/null
@@ -0,0 +1,2 @@
+#tb 0: 100/2397
+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..3145e8a
--- /dev/null
@@ -0,0 +1,2 @@
+#tb 0: 100/2397
+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..2a7af47
--- /dev/null
@@ -0,0 +1,2 @@
+#tb 0: 100/2397
+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..ee836c2
--- /dev/null
@@ -0,0 +1,2 @@
+#tb 0: 100/2397
+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..bc3c702
--- /dev/null
@@ -0,0 +1,2 @@
+#tb 0: 100/2397
+0,          0,          0,        1,   193024, 0x5292ecec