add imitation of img input and remove rgv2yuv funcs to feature/common.cc