v4l2 wrapper for yami

most code duplicate with inputWorker. can we use one function?