Commits on Source (4)
-
Steve Lhomme authored
It's clearer to signify the value is 0 (black). We could also use a define for black. All the filling of read, green and blue to 0 might be equivalent to a big memset(). RGB2PIXEL() is only used when shifting is needed.
d9780971 -
Steve Lhomme authored
The right shift values are initialized to 0 as these chromas use a whole octet per color.
ba73bb1e -
Steve Lhomme authorede9096068
-
Steve Lhomme authored8137f1b1