Speed up RGB processing a little bit