@@ -187,6 +187,7 @@ pixdesc(){ | |||||
pixfmts(){ | pixfmts(){ | ||||
filter=${test#filter-pixfmts-} | filter=${test#filter-pixfmts-} | ||||
filter_args=$1 | filter_args=$1 | ||||
prefilter_chain=$2 | |||||
showfiltfmts="$target_exec $target_path/libavfilter/filtfmts-test" | showfiltfmts="$target_exec $target_path/libavfilter/filtfmts-test" | ||||
scale_exclude_fmts=${outfile}${1}_scale_exclude_fmts | scale_exclude_fmts=${outfile}${1}_scale_exclude_fmts | ||||
@@ -204,7 +205,7 @@ pixfmts(){ | |||||
for pix_fmt in $pix_fmts; do | for pix_fmt in $pix_fmts; do | ||||
test=$pix_fmt | 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 | done | ||||
rm $in_fmts $scale_in_fmts $scale_out_fmts $scale_exclude_fmts | rm $in_fmts $scale_in_fmts $scale_out_fmts $scale_exclude_fmts | ||||
@@ -1,7 +1,6 @@ | |||||
#FIXME the whole file should be removed | #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-tinterlace_pad \ | ||||
FATE_LAVFI += $(FATE_LAVFI-yes) | FATE_LAVFI += $(FATE_LAVFI-yes) | ||||
@@ -192,6 +192,9 @@ fate-filter-pixfmts-hflip: CMD = pixfmts | |||||
FATE_FILTER_PIXFMTS-$(CONFIG_IL_FILTER) += fate-filter-pixfmts-il | 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-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-$(CONFIG_NULL_FILTER) += fate-filter-pixfmts-null | ||||
fate-filter-pixfmts-null: CMD = pixfmts | fate-filter-pixfmts-null: CMD = pixfmts | ||||
@@ -51,7 +51,6 @@ do_lavfi_pixfmts(){ | |||||
} | } | ||||
# all these filters have exactly one input and exactly one output | # 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_merge" "tinterlace" "merge" | ||||
do_lavfi_pixfmts "tinterlace_pad" "tinterlace" "pad" | do_lavfi_pixfmts "tinterlace_pad" "tinterlace" "pad" | ||||