Searched refs:itrunc (Results 1 – 5 of 5) sorted by relevance
/external/pdfium/third_party/libtiff/ |
D | tif_luv.c | 745 static int itrunc(double x, int m) in itrunc() function 780 return itrunc(256.*(log2(Y) + 64.), em); in LogL16fromY() 782 return (~0x7fff | itrunc(256.*(log2(-Y) + 64.), em)); in LogL16fromY() 858 return itrunc(64.*(log2(Y) + 12.), em); in LogL10fromY() 928 vi = itrunc((v - UV_VSTART)*(1./UV_SQSIZ), em); in uv_encode() 933 ui = itrunc((u - uv_row[vi].ustart)*(1./UV_SQSIZ), em); in uv_encode() 1102 Le = itrunc(.25*(luv3[0]-3314.), sp->encode_meth); in Luv24fromLuv48() 1158 else ue = itrunc(UVSCALE*u, em); in LogLuv32fromXYZ() 1161 else ve = itrunc(UVSCALE*v, em); in LogLuv32fromXYZ() 1241 (itrunc(luv3[1]*(UVSCALE/(1<<15)), sp->encode_meth) << 8 & 0xff00) | in Luv32fromLuv48() [all …]
|
/external/skqp/tests/ |
D | MathTest.cpp | 300 int itrunc = SkMulDiv255Trunc(a, b); in test_muldiv255() local 303 REPORTER_ASSERT(reporter, itrunc == trunc); in test_muldiv255() 305 REPORTER_ASSERT(reporter, itrunc <= iround); in test_muldiv255()
|
/external/skia/tests/ |
D | MathTest.cpp | 340 int itrunc = SkMulDiv255Trunc(a, b); in test_muldiv255() local 343 REPORTER_ASSERT(reporter, itrunc == trunc); in test_muldiv255() 345 REPORTER_ASSERT(reporter, itrunc <= iround); in test_muldiv255()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_arit.c | 2443 LLVMValueRef trunc, itrunc, mask; in lp_build_ifloor() local 2453 itrunc = LLVMBuildFPToSI(builder, a, int_vec_type, ""); in lp_build_ifloor() 2454 trunc = LLVMBuildSIToFP(builder, itrunc, bld->vec_type, "ifloor.trunc"); in lp_build_ifloor() 2464 return lp_build_add(&intbld, itrunc, mask); in lp_build_ifloor() 2498 LLVMValueRef trunc, itrunc, mask; in lp_build_iceil() local 2508 itrunc = LLVMBuildFPToSI(builder, a, int_vec_type, ""); in lp_build_iceil() 2509 trunc = LLVMBuildSIToFP(builder, itrunc, bld->vec_type, "iceil.trunc"); in lp_build_iceil() 2519 return lp_build_sub(&intbld, itrunc, mask); in lp_build_iceil()
|
/external/mesa3d/docs/relnotes/ |
D | 7.10.rst | 2444 - gallivm: fix trunc/itrunc comment
|