avfilter: add maskfun filter