http://disp.ee.ntu.edu.tw/meeting/%E7%B6%AD%E6%AF%85/An%20In...
and also read here:
https://en.wikipedia.org/wiki/YUV
That is my quick guess on how to roughly derive the constants (because it is new, probably there are some fancy modifications tho :) )