Lines Matching defs:UVSCALE
674 #ifndef UVSCALE
677 #define UVSCALE 410.
1066 u = 1./UVSCALE * ((p>>8 & 0xff) + .5);
1067 v = 1./UVSCALE * ((p & 0xff) + .5);
1097 else ue = itrunc(UVSCALE*u, em);
1100 else ve = itrunc(UVSCALE*v, em);
1128 u = 1./UVSCALE * ((*luv>>8 & 0xff) + .5);
1129 v = 1./UVSCALE * ((*luv & 0xff) + .5);
1172 (luv3[1]*(uint32)(UVSCALE+.5) >> 7 & 0xff00) |
1173 (luv3[2]*(uint32)(UVSCALE+.5) >> 15 & 0xff);
1180 (itrunc(luv3[1]*(UVSCALE/(1<<15)), sp->encode_meth) << 8 & 0xff00) |
1181 (itrunc(luv3[2]*(UVSCALE/(1<<15)), sp->encode_meth) & 0xff);