Lines Matching refs:itrunc
745 #define itrunc(x,m) ((m)==SGILOGENCODE_NODITHER ? \
775 return itrunc(256.*(log2(Y) + 64.), em);
777 return (~0x7fff | itrunc(256.*(log2(-Y) + 64.), em));
853 return itrunc(64.*(log2(Y) + 12.), em);
923 vi = itrunc((v - UV_VSTART)*(1./UV_SQSIZ), em);
928 ui = itrunc((u - uv_row[vi].ustart)*(1./UV_SQSIZ), em);
1097 Le = itrunc(.25*(luv3[0]-3314.), sp->encode_meth);
1153 else ue = itrunc(UVSCALE*u, em);
1156 else ve = itrunc(UVSCALE*v, em);
1236 (itrunc(luv3[1]*(UVSCALE/(1<<15)), sp->encode_meth) << 8 & 0xff00) |
1237 (itrunc(luv3[2]*(UVSCALE/(1<<15)), sp->encode_meth) & 0xff);