Lines Matching refs:Table16
253 p ->Table16 = NULL;
256 p ->Table16 = (cmsUInt16Number*) _cmsCalloc(ContextID, nEntries, sizeof(cmsUInt16Number));
257 if (p ->Table16 == NULL) goto Error;
266 p ->Table16[i] = Values[i];
298 p ->InterpParams = _cmsComputeInterpParams(ContextID, p ->nEntries, 1, 1, p->Table16, CMS_LERP_FLAGS_16BITS);
305 if (p ->Table16) _cmsFree(ContextID, p ->Table16);
614 return t ->Table16;
662 g ->Table16[i] = _cmsQuickSaturateWord(Val * 65535.0);
762 if (Curve -> Table16)
764 _cmsFree(ContextID, Curve ->Table16);
765 Curve ->Table16 = NULL;
825 if (In == NULL || In ->InterpParams == NULL || In ->Segments == NULL || In ->Table16 == NULL) return NULL;
827 return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In ->Segments, In ->Table16);
959 j = GetInterval(y, InCurve->Table16, InCurve->InterpParams);
964 x1 = InCurve ->Table16[j];
965 x2 = InCurve ->Table16[j+1];
973 out ->Table16[i] = _cmsQuickSaturateWord(Ascending ? y2 : y1);
984 out ->Table16[i] = _cmsQuickSaturateWord(a* y + b);
1088 y[i+1] = (cmsFloat32Number) Tab -> Table16[i];
1119 Tab -> Table16[i] = _cmsQuickSaturateWord(z[i+1]);
1136 diff = abs((int) Curve->Table16[i] - (int) _cmsQuantizeVal(i, Curve ->nEntries));
1162 last = t ->Table16[0];
1166 if (t ->Table16[i] - last > 2) // We allow some ripple
1169 last = t ->Table16[i];
1175 last = t ->Table16[n-1];
1179 if (t ->Table16[i] - last > 2)
1182 last = t ->Table16[i];
1195 return t ->Table16[0] > t ->Table16[t ->nEntries-1];