This looks like a lot but its a few small changes.
[blender.git] / source / blender / imbuf / intern / matrix.h
index 0036ff7b570f64b1cd6f100b03959cfb59f58c49..f2db8057b324819141b4c8e8656336c2216a5064 100644 (file)
 
 float rgbyuv[4][4]={                           /* afgeleid uit videoframer = Y Cr Cb in kopieen van Francois*/
                                                                        /* is identriek aan matrix van jpeg */
-                .50000,        .11400,         -.08131,        0.0,            /* b */
-               -.33126,        .58700,         -.41869,        0.0,            /* g */
-               -.16874,        .29900,          .50000,        0.0,            /* r */
-                 128.0,        0.0,            128.0,          1.0};
+               { .50000,       .11400,         -.08131,        0.0,},  /* b */
+               {-.33126,       .58700,         -.41869,        0.0,},  /* g */
+               {-.16874,       .29900,          .50000,        0.0,},  /* r */
+               {  128.0,       0.0,            128.0,          1.0}};
                  
            /* b-y (u)          y                       r-y (v)  */
 
 
 float rgbbeta[4][4]={                          /* afgeleid uit videoframer = Y Cr Cb in kopieen van Francois*/
                                                                        /* is identriek aan matrix van jpeg */
-                .50000,        .11400,         -.08131,        0.0,            /* b-y  -> b */
-               -.33126,        .58700,         -.41869,        0.0,            /* y    -> g */
-               -.16874,        .29900,          .50000,        0.0,            /* r-y  -> r */
-                 128.0,        0.0,            128.0,          1.0};
+               {.50000,        .11400,         -.08131,        0.0,},  /* b-y  -> b */
+               {-.33126,       .58700,         -.41869,        0.0,},  /* y    -> g */
+               {-.16874,       .29900,          .50000,        0.0,},  /* r-y  -> r */
+               {  128.0,       0.0,            128.0,          1.0}};
                  
            /* b-y    y      r-y   */
 
 
 
 float yuvrgb[4][4]={
-       1.77200,        -0.34414,               0.0,            0.0, 
-       1.0,             1.0,                   1.0,            0.0, 
-       0.0,            -0.71414,               1.40200,        0.0, 
-       -226.816,       135.460,                -179.456,       1.0};
+       {1.77200,       -0.34414,               0.0,            0.0, },
+       {1.0,            1.0,                   1.0,            0.0, },
+       {0.0,           -0.71414,               1.40200,        0.0, },
+       {-226.816,      135.460,                -179.456,       1.0}};
 
 float rgb_to_bw[4][4]={
-                .299,  .299,   .299,   0.0,
-                .587,  .587,   .587,   0.0,
-                .114,  .114,   .114,   0.0,
-                 0.5,   0.5,    0.5,   1.0};
+                {.299, .299,   .299,   0.0,},
+                {.587, .587,   .587,   0.0,},
+                {.114, .114,   .114,   0.0,},
+                { 0.5,  0.5,    0.5,   1.0}};
 
 float dyuvrgb_oud[4][4]={
-               1.0 ,   1.0 ,   1.0,    0.0,
-               1.733,  -0.337, 0.0,    0.0,
-               0.0,    -.698,  1.371,  0.0,
-               -221.8, 132.47, -175.5, 1.0};
+               {1.0 ,  1.0 ,   1.0,    0.0,},
+               {1.733, -0.337, 0.0,    0.0,},
+               {0.0,   -.698,  1.371,  0.0,},
+               {-221.8,        132.47, -175.5, 1.0}};
 
 float dyuvrgb[4][4]={
-               1.164 , 1.164 , 1.164,  0.0,
-               2.018,  -0.391, 0.0,    0.0,
-               0.0,    -0.813, 1.596,  0.0,
-               -276.7, 135.6, -222.7,  1.0};
+               {1.164 ,        1.164 , 1.164,  0.0,},
+               {2.018, -0.391, 0.0,    0.0,},
+               {0.0,   -0.813, 1.596,  0.0,},
+               {-276.7,        135.6, -222.7,  1.0}};
 
 float rgbdyuv[4][4]={
-               0.439,  0.098,  -0.071, 0.0,
-               -0.291, 0.504,  -0.368, 0.0,
-               -0.148, 0.257,  0.439,  0.0,
-               128.0,  16.0,   128.0,  1.0};
+               {0.439, 0.098,  -0.071, 0.0,},
+               {-0.291,        0.504,  -0.368, 0.0,},
+               {-0.148,        0.257,  0.439,  0.0,},
+               {128.0, 16.0,   128.0,  1.0}};