Home
last modified time | relevance | path

Searched refs:itrunc (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_luv.c703 #define itrunc(x,m) ((m)==SGILOGENCODE_NODITHER ? \ macro
733 return itrunc(256.*(log2(Y) + 64.), em); in LogL16fromY()
735 return (~0x7fff | itrunc(256.*(log2(-Y) + 64.), em)); in LogL16fromY()
811 return itrunc(64.*(log2(Y) + 12.), em); in LogL10fromY()
881 vi = itrunc((v - UV_VSTART)*(1./UV_SQSIZ), em); in uv_encode()
886 ui = itrunc((u - uv_row[vi].ustart)*(1./UV_SQSIZ), em); in uv_encode()
1055 Le = itrunc(.25*(luv3[0]-3314.), sp->encode_meth); in Luv24fromLuv48()
1111 else ue = itrunc(UVSCALE*u, em); in LogLuv32fromXYZ()
1114 else ve = itrunc(UVSCALE*v, em); in LogLuv32fromXYZ()
1194 (itrunc(luv3[1]*(UVSCALE/(1<<15)), sp->encode_meth) << 8 & 0xff00) | in Luv32fromLuv48()
[all …]
/external/opencv3/3rdparty/libtiff/
Dtif_luv.c689 #define itrunc(x,m) ((m)==SGILOGENCODE_NODITHER ? \ macro
719 return itrunc(256.*(log2(Y) + 64.), em); in LogL16fromY()
721 return (~0x7fff | itrunc(256.*(log2(-Y) + 64.), em)); in LogL16fromY()
797 return itrunc(64.*(log2(Y) + 12.), em); in LogL10fromY()
867 vi = itrunc((v - UV_VSTART)*(1./UV_SQSIZ), em); in uv_encode()
872 ui = itrunc((u - uv_row[vi].ustart)*(1./UV_SQSIZ), em); in uv_encode()
1041 Le = itrunc(.25*(luv3[0]-3314.), sp->encode_meth); in Luv24fromLuv48()
1097 else ue = itrunc(UVSCALE*u, em); in LogLuv32fromXYZ()
1100 else ve = itrunc(UVSCALE*v, em); in LogLuv32fromXYZ()
1180 (itrunc(luv3[1]*(UVSCALE/(1<<15)), sp->encode_meth) << 8 & 0xff00) | in Luv32fromLuv48()
[all …]
/external/skia/tests/
DMathTest.cpp427 int itrunc = SkMulDiv255Trunc(a, b); in test_muldiv255() local
430 REPORTER_ASSERT(reporter, itrunc == trunc); in test_muldiv255()
432 REPORTER_ASSERT(reporter, itrunc <= iround); in test_muldiv255()