Searched refs:Table16 (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsgamma.c215 p ->Table16 = NULL;
218 p ->Table16 = (cmsUInt16Number*) _cmsCalloc(ContextID, nEntries, sizeof(cmsUInt16Number));
219 if (p ->Table16 == NULL) goto Error;
228 p ->Table16[i] = Values[i];
260 p ->InterpParams = _cmsComputeInterpParams(ContextID, p ->nEntries, 1, 1, p->Table16, CMS_LERP_FLAGS_16BITS);
266 if (p ->Table16) _cmsFree(ContextID, p ->Table16);
575 return t ->Table16;
623 g ->Table16[i] = _cmsQuickSaturateWord(Val * 65535.0);
707 if (Curve -> Table16)
[all...]
H A Dcmsopt.c755 Val = g ->Table16[AtBegin];
760 g ->Table16[i] = _cmsQuickSaturateWord(i * Slope + beta);
763 Val = g ->Table16[AtEnd];
768 g ->Table16[i] = _cmsQuickSaturateWord(i * Slope + beta);
943 if (g ->Table16[i] == 0x0000) Zeros++;
944 if (g ->Table16[i] == 0xffff) Poles++;
1024 Trans[t] ->Table16[i] = _cmsQuickSaturateWord(Out[t] * 65535.0);
1323 GammaTables[j] -> Table16[i] = _cmsQuickSaturateWord(OutFloat[j] * 65535.0);
H A Dcmsps2.c528 _cmsIOPrintf(m, "%d ", Table->Table16[i]);
583 if (i > 0 && GammaTableEquals(g[i-1]->Table16, g[i]->Table16, g[i]->nEntries)) {
879 Out ->Table16[i] =_cmsQuickSaturateWord(XYZ.Y * 65535.0);
H A Dcmstypes.c1144 if (!_cmsReadUInt16Array(io, Count, NewGamma -> Table16)) return NULL;
1171 return _cmsWriteUInt16Array(io, Curve ->nEntries, Curve ->Table16);
1666 Tables[i]->Table16[j] = (cmsUInt16Number) FROM_8_TO_16(Temp[j]);
1714 val = (cmsUInt8Number) FROM_16_TO_8(Tables->TheCurves[i]->Table16[j]);
2005 if (!_cmsReadUInt16Array(io, nEntries, Tables[i]->Table16)) goto Error;
2043 val = Tables->TheCurves[i]->Table16[j];
3522 if (!_cmsReadUInt16Array(io, CountUcr, n ->Ucr->Table16)) return NULL;
3533 if (!_cmsReadUInt16Array(io, CountBg, n ->Bg->Table16)) return NULL;
3561 if (!_cmsWriteUInt16Array(io, Value ->Ucr ->nEntries, Value ->Ucr ->Table16)) return FALSE;
3565 if (!_cmsWriteUInt16Array(io, Value ->Bg ->nEntries, Value ->Bg ->Table16)) retur
[all...]
H A Dlcms2_internal.h393 cmsUInt16Number* Table16; // The table itself. member in struct:_cms_curve_struct
H A Dcmslut.c1015 LabTable[j]->Table16[i] = (cmsUInt16Number) ((i * 0xffff + 0x80) >> 8);
1018 LabTable[j] ->Table16[257] = 0xffff;

Completed in 62 milliseconds