Comment 4 for bug 318134

Revision history for this message
Preben S (prsodk) wrote :

There is added a constant 0.5 in statements like
... CLAMP_D_TO_U8( r*a00 + g*a01 + b*a02 + .5 );

The CLAMP_D_TO_U8 macro already contains a correct rounding function, so this correction is too much.

I don't understand how this error gave that tint, can somebody explain that?

Preben