Home | History | Annotate | Download | only in src

Lines Matching defs:rest

191     int cell0, rest;
206 rest = FIXED_REST_TO_INT(val3); // Rest is 16 LSB bits
212 Output[0] = LinearInterp(rest, y0, y1);
228 cmsFloat32Number val2, rest;
245 // Rest is 16 LSB bits
246 rest = val2 - cell0;
251 Output[0] = y0 + (y1 - y0) * rest;
294 cmsFloat32Number val2, rest;
312 // Rest is 16 LSB bits
313 rest = val2 - cell0;
323 Output[OutChan] = y0 + (y1 - y0) * rest;
404 rx = FIXED_REST_TO_INT(fx); // Rest in 0..1.0 domain
536 rx = FIXED_REST_TO_INT(fx); // Rest in 0..1.0 domain
701 cmsS15Fixed16Number c0, c1, c2, c3, Rest;
728 // Output should be computed as x = ROUND_FIXED_TO_INT(_cmsToFixedDomain(Rest))
729 // which expands as: x = (Rest + ((Rest+0x7fff)/0xFFFF) + 0x8000)>>16
730 // This can be replaced by: t = Rest+0x8001, x = (t + (t>>16))>>16
745 Rest = c1 * rx + c2 * ry + c3 * rz + 0x8001;
746 *Output++ = (cmsUInt16Number) c0 + ((Rest + (Rest>>16))>>16);
759 Rest = c1 * rx + c2 * ry + c3 * rz + 0x8001;
760 *Output++ = (cmsUInt16Number) c0 + ((Rest + (Rest>>16))>>16);
773 Rest = c1 * rx + c2 * ry + c3 * rz + 0x8001;
774 *Output++ = (cmsUInt16Number) c0 + ((Rest + (Rest>>16))>>16);
789 Rest = c1 * rx + c2 * ry + c3 * rz + 0x8001;
790 *Output++ = (cmsUInt16Number) c0 + ((Rest + (Rest>>16))>>16);
803 Rest = c1 * rx + c2 * ry + c3 * rz + 0x8001;
804 *Output++ = (cmsUInt16Number) c0 + ((Rest + (Rest>>16))>>16);
817 Rest = c1 * rx + c2 * ry + c3 * rz + 0x8001;
818 *Output++ = (cmsUInt16Number) c0 + ((Rest + (Rest>>16))>>16);
840 cmsS15Fixed16Number c0, c1, c2, c3, Rest;
930 Rest = c1 * rx + c2 * ry + c3 * rz;
932 Tmp1[OutChan] = (cmsUInt16Number) c0 + ROUND_FIXED_TO_INT(_cmsToFixedDomain(Rest));
994 Rest = c1 * rx + c2 * ry + c3 * rz;
996 Tmp2[OutChan] = (cmsUInt16Number) c0 + ROUND_FIXED_TO_INT(_cmsToFixedDomain(Rest));
1018 cmsFloat32Number rest;
1028 rest = pk - (cmsFloat32Number) k0;
1050 Output[i] = y0 + (y1 - y0) * rest;
1105 cmsFloat32Number rest;
1115 rest = pk - (cmsFloat32Number) k0;
1138 Output[i] = y0 + (y1 - y0) * rest;
1192 cmsFloat32Number rest;
1202 rest = pk - (cmsFloat32Number) k0;
1225 Output[i] = y0 + (y1 - y0) * rest;
1277 cmsFloat32Number rest;
1287 rest = pk - (cmsFloat32Number) k0;
1311 Output[i] = y0 + (y1 - y0) * rest;
1362 cmsFloat32Number rest;
1372 rest = pk - (cmsFloat32Number) k0;
1396 Output[i] = y0 + (y1 - y0) * rest;