add cfunc to src-filter.
refactor.