demosaic+filter+rgb2ycc+ycc2rgb working

Next maybe look into fmax, and add table looup