Some more optimization to YUV to RGB conversion