Dramatically improve video quality

Improve color space conversion

Fix bad order of arithemtic operation, i*cxbpl/2 becomes i/2*cxbpl, this fixed the 'ghost' images on the other parts of the screen when using subsampling