Switch branches/tags
Nothing to show
Find file History
Latest commit 0166260 Jan 20, 2016 @saste saste YUVCanvas: add options to select the conversion matrix
This allows to RGB the YUVCanvas when the input was encoded using the
ITU-R Rec.709 colorspace.

The matrix is obtained inverting the RGB to YUV conversion general

[ W_R                W_G                W_B
-U_max*W_R/(1-W_B) -U_max*W_G/(1-W_B)  U_max
 V_max              -V_max*W_G/(1-W_R) -V_max*W_B/(1-W_R)];

W_B = 0.0722
W_R = 0.2126
U_max = V_max = 0.5