avfilter: add scale2ref filter