Searched refs:itrunc (Results 1 - 4 of 4) sorted by relevance

/external/pdfium/third_party/libtiff/
H A Dtif_luv.c745 #define itrunc(x,m) ((m)==SGILOGENCODE_NODITHER ? \ macro
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(luv
[all...]
/external/skia/tests/
H A DMathTest.cpp356 int itrunc = SkMulDiv255Trunc(a, b); local
359 REPORTER_ASSERT(reporter, itrunc == trunc);
361 REPORTER_ASSERT(reporter, itrunc <= iround);
/external/skqp/tests/
H A DMathTest.cpp356 int itrunc = SkMulDiv255Trunc(a, b); local
359 REPORTER_ASSERT(reporter, itrunc == trunc);
361 REPORTER_ASSERT(reporter, itrunc <= iround);
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_arit.c2402 * Ex: itrunc(-1.5) = -1
2501 LLVMValueRef trunc, itrunc, mask; local
2511 itrunc = LLVMBuildFPToSI(builder, a, int_vec_type, "");
2512 trunc = LLVMBuildSIToFP(builder, itrunc, bld->vec_type, "ifloor.trunc");
2522 return lp_build_add(&intbld, itrunc, mask);
2556 LLVMValueRef trunc, itrunc, mask; local
2566 itrunc = LLVMBuildFPToSI(builder, a, int_vec_type, "");
2567 trunc = LLVMBuildSIToFP(builder, itrunc, bld->vec_type, "iceil.trunc");
2577 return lp_build_sub(&intbld, itrunc, mask);

Completed in 2077 milliseconds