From 93aede41ce05b149eab8cc28cd416251df30f85e Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Tue, 30 Apr 2013 01:45:08 +0200 Subject: fate: move kerndeint test to the new system. --- tests/fate-run.sh | 3 ++- tests/fate/avfilter.mak | 3 +-- tests/fate/filter-video.mak | 3 +++ tests/lavfi-regression.sh | 1 - tests/ref/fate/filter-pixfmts-kerndeint | 10 ++++++++++ tests/ref/lavfi/kerndeint | 10 ---------- 6 files changed, 16 insertions(+), 14 deletions(-) create mode 100644 tests/ref/fate/filter-pixfmts-kerndeint delete mode 100644 tests/ref/lavfi/kerndeint (limited to 'tests') diff --git a/tests/fate-run.sh b/tests/fate-run.sh index afb1984314..ea3fe72bd7 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -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 diff --git a/tests/fate/avfilter.mak b/tests/fate/avfilter.mak index 3bfe78a995..c8cf78c677 100644 --- a/tests/fate/avfilter.mak +++ b/tests/fate/avfilter.mak @@ -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) diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index fb5008edb2..41e0ac9197 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -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 diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh index 506d1dc1dc..0f1920fdfb 100755 --- a/tests/lavfi-regression.sh +++ b/tests/lavfi-regression.sh @@ -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 index 0000000000..276931981c --- /dev/null +++ b/tests/ref/fate/filter-pixfmts-kerndeint @@ -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 index 276931981c..0000000000 --- a/tests/ref/lavfi/kerndeint +++ /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 -- cgit v1.2.3