Lines Matching defs:cc
995 double cc = c1/255.0;
997 if( cc < 0.04045 ) {
998 cc /= 12.92;
1000 cc = pow( (cc+0.055)/1.055, 2.4 );
1002 cc *= 255.0;
1004 const guint32 c2 = (int)cc;
1013 double cc = c1/255.0;
1015 if( cc < 0.0031308 ) {
1016 cc *= 12.92;
1018 cc = pow( cc, 1.0/2.4 )*1.055-0.055;
1020 cc *= 255.0;
1022 const guint32 c2 = (int)cc;