UNTESTED support for yuv/rgb conversion and grayscale extraction