demosaic+filter working

Some problems at the end of the frame.