Lines Matching refs:UVSCALE
728 #ifndef UVSCALE
731 #define UVSCALE 410. macro
1127 u = 1./UVSCALE * ((p>>8 & 0xff) + .5); in LogLuv32toXYZ()
1128 v = 1./UVSCALE * ((p & 0xff) + .5); in LogLuv32toXYZ()
1158 else ue = itrunc(UVSCALE*u, em); in LogLuv32fromXYZ()
1161 else ve = itrunc(UVSCALE*v, em); in LogLuv32fromXYZ()
1189 u = 1./UVSCALE * ((*luv>>8 & 0xff) + .5); in Luv32toLuv48()
1190 v = 1./UVSCALE * ((*luv & 0xff) + .5); in Luv32toLuv48()
1233 (luv3[1]*(uint32)(UVSCALE+.5) >> 7 & 0xff00) | in Luv32fromLuv48()
1234 (luv3[2]*(uint32)(UVSCALE+.5) >> 15 & 0xff); in Luv32fromLuv48()
1241 (itrunc(luv3[1]*(UVSCALE/(1<<15)), sp->encode_meth) << 8 & 0xff00) | in Luv32fromLuv48()
1242 (itrunc(luv3[2]*(UVSCALE/(1<<15)), sp->encode_meth) & 0xff); in Luv32fromLuv48()