diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-06-03 15:51:32 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-06-20 15:47:23 -0400 |
commit | cc58656aca95b5ab517989a9524b9a2b1c5653cf (patch) | |
tree | d8b1a5b00128285e637c04c8aa35ffadcb72a707 | |
parent | d78fd2fa21cde28465e40dd0be4446b1387d22a6 (diff) | |
download | ffmpeg-cc58656aca95b5ab517989a9524b9a2b1c5653cf.tar.gz |
fate: Add tests for MagicYUV
-rw-r--r-- | tests/fate/video.mak | 19 | ||||
-rw-r--r-- | tests/ref/fate/magicyuv-rgb | 2 | ||||
-rw-r--r-- | tests/ref/fate/magicyuv-rgba | 2 | ||||
-rw-r--r-- | tests/ref/fate/magicyuv-y400i | 2 | ||||
-rw-r--r-- | tests/ref/fate/magicyuv-y420 | 2 | ||||
-rw-r--r-- | tests/ref/fate/magicyuv-y422i | 2 | ||||
-rw-r--r-- | tests/ref/fate/magicyuv-y444 | 2 | ||||
-rw-r--r-- | tests/ref/fate/magicyuv-y4444i | 2 |
8 files changed, 33 insertions, 0 deletions
diff --git a/tests/fate/video.mak b/tests/fate/video.mak index df3ce5c24a..40f74eaabe 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 0000000000..a52574a952 --- /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 0000000000..6cad8e0da4 --- /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 0000000000..4c8fe7ecbe --- /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 0000000000..3145e8a71b --- /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 0000000000..2a7af47c49 --- /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 0000000000..ee836c299d --- /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 0000000000..bc3c70251f --- /dev/null +++ b/tests/ref/fate/magicyuv-y4444i @@ -0,0 +1,2 @@ +#tb 0: 100/2397 +0, 0, 0, 1, 193024, 0x5292ecec |