tests: add overlay rgb and yuv444 tests
authorStefano Sabatini <stefasab@gmail.com>
Tue, 5 Mar 2013 00:42:00 +0000 (01:42 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Tue, 5 Mar 2013 12:20:13 +0000 (13:20 +0100)
Also rename overlay test to overlay_yuv420 accordingly.

tests/fate/avfilter.mak
tests/lavfi-regression.sh
tests/ref/lavfi/overlay [deleted file]
tests/ref/lavfi/overlay_rgb [new file with mode: 0644]
tests/ref/lavfi/overlay_yuv420 [new file with mode: 0644]
tests/ref/lavfi/overlay_yuv444 [new file with mode: 0644]

index 15c8595..8ac8d41 100644 (file)
@@ -14,7 +14,9 @@ FATE_LAVFI = fate-lavfi-alphaextract_rgb                                \
              fate-lavfi-il                                              \
              fate-lavfi-life                                            \
              fate-lavfi-null                                            \
-             fate-lavfi-overlay                                         \
+             fate-lavfi-overlay_rgb                                     \
+             fate-lavfi-overlay_yuv420                                  \
+             fate-lavfi-overlay_yuv444                                  \
              fate-lavfi-pad                                             \
              fate-lavfi-pixfmts_copy                                    \
              fate-lavfi-pixfmts_crop                                    \
index d6aba4c..9335124 100755 (executable)
@@ -47,7 +47,9 @@ do_lavfi "fade"               "fade=in:5:15,fade=out:30:15"
 do_lavfi "hue"                "hue=s=sin(2*PI*t)+1"
 do_lavfi "idet"               "idet"
 do_lavfi "null"               "null"
-do_lavfi "overlay"            "split[m],scale=88:72,pad=96:80:4:4[o2];[m]fifo[o1],[o1][o2]overlay=240:16"
+do_lavfi "overlay_rgb"        "split[m],scale=88:72,pad=96:80:4:4[o2];[m]fifo[o1],[o1][o2]overlay=240:16:format=rgb"
+do_lavfi "overlay_yuv420"     "split[m],scale=88:72,pad=96:80:4:4[o2];[m]fifo[o1],[o1][o2]overlay=240:16:format=yuv420"
+do_lavfi "overlay_yuv444"     "split[m],scale=88:72,pad=96:80:4:4[o2];[m]fifo[o1],[o1][o2]overlay=240:16:format=yuv444"
 do_lavfi "pad"                "pad=iw*1.5:ih*1.5:iw*0.3:ih*0.2"
 do_lavfi "pp"                 "pp=be/hb/vb/tn/l5/al"
 do_lavfi "pp2"                "pp=be/fq:16/h1/v1/lb"
diff --git a/tests/ref/lavfi/overlay b/tests/ref/lavfi/overlay
deleted file mode 100644 (file)
index ca70370..0000000
+++ /dev/null
@@ -1 +0,0 @@
-overlay             4e85d551db9e56e8faddc1fc70fd6a00
diff --git a/tests/ref/lavfi/overlay_rgb b/tests/ref/lavfi/overlay_rgb
new file mode 100644 (file)
index 0000000..ce4e30b
--- /dev/null
@@ -0,0 +1 @@
+overlay_rgb         abea47d9e61d7eab40c4734294519524
diff --git a/tests/ref/lavfi/overlay_yuv420 b/tests/ref/lavfi/overlay_yuv420
new file mode 100644 (file)
index 0000000..3d12251
--- /dev/null
@@ -0,0 +1 @@
+overlay_yuv420      4e85d551db9e56e8faddc1fc70fd6a00
diff --git a/tests/ref/lavfi/overlay_yuv444 b/tests/ref/lavfi/overlay_yuv444
new file mode 100644 (file)
index 0000000..b83e605
--- /dev/null
@@ -0,0 +1 @@
+overlay_yuv444      16215d0b4054a44bbe7f6c46bd97d235