rewrite videoprocessor.h