YUV->RGB improvement

The current transformation from yuv to rgb takes about 45 ms for the whole video image on my notebook. This commit improves the speed. Now it only takes about 19 ms for the whole video image.