Clean up RGB processing with some pointers