Extracted a "Transformer" base class from YUVtoRGB