[FFmpeg-cvslog] fate: Add tests for MagicYUV

Vittorio Giovara git at videolan.org
Thu Jul 14 19:00:02 CEST 2016


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Fri Jun  3 15:51:32 2016 -0400| [cc58656aca95b5ab517989a9524b9a2b1c5653cf] | committer: Vittorio Giovara

fate: Add tests for MagicYUV

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cc58656aca95b5ab517989a9524b9a2b1c5653cf
---

 tests/fate/video.mak           |   19 +++++++++++++++++++
 tests/ref/fate/magicyuv-rgb    |    2 ++
 tests/ref/fate/magicyuv-rgba   |    2 ++
 tests/ref/fate/magicyuv-y400i  |    2 ++
 tests/ref/fate/magicyuv-y420   |    2 ++
 tests/ref/fate/magicyuv-y422i  |    2 ++
 tests/ref/fate/magicyuv-y444   |    2 ++
 tests/ref/fate/magicyuv-y4444i |    2 ++
 8 files changed, 33 insertions(+)

diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index df3ce5c..40f74ea 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -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
index 0000000..a52574a
--- /dev/null
+++ b/tests/ref/fate/magicyuv-rgb
@@ -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
index 0000000..6cad8e0
--- /dev/null
+++ b/tests/ref/fate/magicyuv-rgba
@@ -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
index 0000000..4c8fe7e
--- /dev/null
+++ b/tests/ref/fate/magicyuv-y400i
@@ -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
index 0000000..3145e8a
--- /dev/null
+++ b/tests/ref/fate/magicyuv-y420
@@ -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
index 0000000..2a7af47
--- /dev/null
+++ b/tests/ref/fate/magicyuv-y422i
@@ -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
index 0000000..ee836c2
--- /dev/null
+++ b/tests/ref/fate/magicyuv-y444
@@ -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
index 0000000..bc3c702
--- /dev/null
+++ b/tests/ref/fate/magicyuv-y4444i
@@ -0,0 +1,2 @@
+#tb 0: 100/2397
+0,          0,          0,        1,   193024, 0x5292ecec



More information about the ffmpeg-cvslog mailing list