Added a few (meaningful?) optimization to YUV to RGB conversion