Lines Matching refs:UVSCALE
728 #ifndef UVSCALE
731 #define UVSCALE 410. macro
1122 u = 1./UVSCALE * ((p>>8 & 0xff) + .5); in LogLuv32toXYZ()
1123 v = 1./UVSCALE * ((p & 0xff) + .5); in LogLuv32toXYZ()
1153 else ue = itrunc(UVSCALE*u, em); in LogLuv32fromXYZ()
1156 else ve = itrunc(UVSCALE*v, em); in LogLuv32fromXYZ()
1184 u = 1./UVSCALE * ((*luv>>8 & 0xff) + .5); in Luv32toLuv48()
1185 v = 1./UVSCALE * ((*luv & 0xff) + .5); in Luv32toLuv48()
1228 (luv3[1]*(uint32)(UVSCALE+.5) >> 7 & 0xff00) | in Luv32fromLuv48()
1229 (luv3[2]*(uint32)(UVSCALE+.5) >> 15 & 0xff); in Luv32fromLuv48()
1236 (itrunc(luv3[1]*(UVSCALE/(1<<15)), sp->encode_meth) << 8 & 0xff00) | in Luv32fromLuv48()
1237 (itrunc(luv3[2]*(UVSCALE/(1<<15)), sp->encode_meth) & 0xff); in Luv32fromLuv48()