fate: move kerndeint test to the new system.
authorClément Bœsch <ubitux@gmail.com>
Mon, 29 Apr 2013 23:45:08 +0000 (01:45 +0200)
committerClément Bœsch <ubitux@gmail.com>
Mon, 29 Apr 2013 23:47:53 +0000 (01:47 +0200)
tests/fate-run.sh
tests/fate/avfilter.mak
tests/fate/filter-video.mak
tests/lavfi-regression.sh
tests/ref/fate/filter-pixfmts-kerndeint [new file with mode: 0644]
tests/ref/lavfi/kerndeint [deleted file]

index afb1984..ea3fe72 100755 (executable)
@@ -187,6 +187,7 @@ pixdesc(){
 pixfmts(){
     filter=${test#filter-pixfmts-}
     filter_args=$1
+    prefilter_chain=$2
 
     showfiltfmts="$target_exec $target_path/libavfilter/filtfmts-test"
     scale_exclude_fmts=${outfile}${1}_scale_exclude_fmts
@@ -204,7 +205,7 @@ pixfmts(){
 
     for pix_fmt in $pix_fmts; do
         test=$pix_fmt
-        video_filter "format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt
+        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt
     done
 
     rm $in_fmts $scale_in_fmts $scale_out_fmts $scale_exclude_fmts
index 3bfe78a..c8cf78c 100644 (file)
@@ -1,7 +1,6 @@
 #FIXME the whole file should be removed
 
-FATE_LAVFI-$(CONFIG_GPL) += fate-lavfi-kerndeint                        \
-                            fate-lavfi-tinterlace_merge                 \
+FATE_LAVFI-$(CONFIG_GPL) += fate-lavfi-tinterlace_merge                 \
                             fate-lavfi-tinterlace_pad                   \
 
 FATE_LAVFI += $(FATE_LAVFI-yes)
index fb5008e..41e0ac9 100644 (file)
@@ -192,6 +192,9 @@ fate-filter-pixfmts-hflip: CMD = pixfmts
 FATE_FILTER_PIXFMTS-$(CONFIG_IL_FILTER) += fate-filter-pixfmts-il
 fate-filter-pixfmts-il:    CMD = pixfmts "luma_mode=d:chroma_mode=d:alpha_mode=d"
 
+FATE_FILTER_PIXFMTS-$(CONFIG_KERNDEINT_FILTER) += fate-filter-pixfmts-kerndeint
+fate-filter-pixfmts-kerndeint: CMD = pixfmts "" "tinterlace=interleave_top,"
+
 FATE_FILTER_PIXFMTS-$(CONFIG_NULL_FILTER) += fate-filter-pixfmts-null
 fate-filter-pixfmts-null:  CMD = pixfmts
 
index 506d1dc..0f1920f 100755 (executable)
@@ -51,7 +51,6 @@ do_lavfi_pixfmts(){
 }
 
 # all these filters have exactly one input and exactly one output
-do_lavfi_pixfmts "kerndeint"           "kerndeint" "" "tinterlace=interleave_top,"
 do_lavfi_pixfmts "tinterlace_merge"    "tinterlace" "merge"
 do_lavfi_pixfmts "tinterlace_pad"      "tinterlace" "pad"
 
diff --git a/tests/ref/fate/filter-pixfmts-kerndeint b/tests/ref/fate/filter-pixfmts-kerndeint
new file mode 100644 (file)
index 0000000..2769319
--- /dev/null
@@ -0,0 +1,10 @@
+0bgr                58fb0bda60562ce17e75f1c3459d0504
+0rgb                d29f6a7b63ade359ec81f5856633ec06
+abgr                71071045b8ec66a6d0a38bb3fed1ca51
+argb                93ba0daa1e945ad1a6f8c0c1cd2e1858
+bgr0                364b8bcd1c7a384902077bc7190c5ea3
+bgra                81ac8315a4c66e363bc6fa3e99d9cd2b
+rgb0                ae0c2afbc266345c1372276755595105
+rgba                42a6cc9b815ca0ee69c29db3616ce25e
+yuv420p             40ca042814882b0b791cbec38e289702
+yuyv422             f549c98059ba9ce50e28204256d13b5d
diff --git a/tests/ref/lavfi/kerndeint b/tests/ref/lavfi/kerndeint
deleted file mode 100644 (file)
index 2769319..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-0bgr                58fb0bda60562ce17e75f1c3459d0504
-0rgb                d29f6a7b63ade359ec81f5856633ec06
-abgr                71071045b8ec66a6d0a38bb3fed1ca51
-argb                93ba0daa1e945ad1a6f8c0c1cd2e1858
-bgr0                364b8bcd1c7a384902077bc7190c5ea3
-bgra                81ac8315a4c66e363bc6fa3e99d9cd2b
-rgb0                ae0c2afbc266345c1372276755595105
-rgba                42a6cc9b815ca0ee69c29db3616ce25e
-yuv420p             40ca042814882b0b791cbec38e289702
-yuyv422             f549c98059ba9ce50e28204256d13b5d