convert palette to yuv instead of converting each pixel after pal->rgb