Searched refs:lut (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmslut.c1266 void BlessLUT(cmsPipeline* lut) argument
1269 if (lut ->Elements != NULL) {
1273 First = cmsPipelineGetPtrToFirstStage(lut);
1274 Last = cmsPipelineGetPtrToLastStage(lut);
1276 if (First != NULL)lut ->InputChannels = First ->InputChannels;
1277 if (Last != NULL) lut ->OutputChannels = Last ->OutputChannels;
1286 cmsPipeline* lut = (cmsPipeline*) D; local
1291 From16ToFloat(In, &Storage[Phase][0], lut ->InputChannels);
1293 for (mpe = lut ->Elements;
1303 FromFloatTo16(&Storage[Phase][0], Out, lut
1312 cmsPipeline* lut = (cmsPipeline*) D; local
1362 cmsGetPipelineContextID(const cmsPipeline* lut) argument
1368 cmsPipelineInputChannels(const cmsPipeline* lut) argument
1374 cmsPipelineOutputChannels(const cmsPipeline* lut) argument
1381 cmsPipelineFree(cmsPipeline* lut) argument
1402 cmsPipelineEval16(const cmsUInt16Number In[], cmsUInt16Number Out[], const cmsPipeline* lut) argument
1410 cmsPipelineEvalFloat(const cmsFloat32Number In[], cmsFloat32Number Out[], const cmsPipeline* lut) argument
1419 cmsPipelineDup(const cmsPipeline* lut) argument
1468 cmsPipelineInsertStage(cmsPipeline* lut, cmsStageLoc loc, cmsStage* mpe) argument
1503 cmsPipelineUnlinkStage(cmsPipeline* lut, cmsStageLoc loc, cmsStage** mpe) argument
1590 cmsPipelineSetSaveAs8bitsFlag(cmsPipeline* lut, cmsBool On) argument
1599 cmsPipelineGetPtrToFirstStage(const cmsPipeline* lut) argument
1604 cmsPipelineGetPtrToLastStage(const cmsPipeline* lut) argument
1614 cmsPipelineStageCount(const cmsPipeline* lut) argument
1706 cmsPipelineEvalReverseFloat(cmsFloat32Number Target[], cmsFloat32Number Result[], cmsFloat32Number Hint[], const cmsPipeline* lut) argument
[all...]
H A Dcmsps2.c1083 cmsPipeline* lut = NULL; local
1107 // Read the lut with all necessary conversion stages
1108 lut = _cmsReadInputLUT(hProfile, Intent);
1109 if (lut == NULL) goto Error;
1113 if (cmsPipelineCheckAndRetreiveStages(lut, 2, cmsSigCurveSetElemType, cmsSigMatrixElemType, &Shaper, &Matrix)) {
1129 if (lut != NULL) cmsPipelineFree(lut);
1135 if (lut != NULL) cmsPipelineFree(lut);
H A Dlcms2.h1173 CMSAPI void CMSEXPORT cmsPipelineFree(cmsPipeline* lut);
1176 CMSAPI cmsContext CMSEXPORT cmsGetPipelineContextID(const cmsPipeline* lut);
1177 CMSAPI cmsUInt32Number CMSEXPORT cmsPipelineInputChannels(const cmsPipeline* lut);
1178 CMSAPI cmsUInt32Number CMSEXPORT cmsPipelineOutputChannels(const cmsPipeline* lut);
1180 CMSAPI cmsUInt32Number CMSEXPORT cmsPipelineStageCount(const cmsPipeline* lut);
1181 CMSAPI cmsStage* CMSEXPORT cmsPipelineGetPtrToFirstStage(const cmsPipeline* lut);
1182 CMSAPI cmsStage* CMSEXPORT cmsPipelineGetPtrToLastStage(const cmsPipeline* lut);
1184 CMSAPI void CMSEXPORT cmsPipelineEval16(const cmsUInt16Number In[], cmsUInt16Number Out[], const cmsPipeline* lut);
1185 CMSAPI void CMSEXPORT cmsPipelineEvalFloat(const cmsFloat32Number In[], cmsFloat32Number Out[], const cmsPipeline* lut);
1186 CMSAPI cmsBool CMSEXPORT cmsPipelineEvalReverseFloat(cmsFloat32Number Target[], cmsFloat32Number Result[], cmsFloat32Number Hint[], const cmsPipeline* lut);
[all...]
H A Dcmsxform.c463 _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut, argument
473 p ->Lut = lut;
H A Dcmstypes.c1641 cmsBool Read8bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels) argument
1676 cmsPipelineInsertStage(lut, cmsAT_END, mpe);
1751 // 8 bit lut may be scaled easely to v4 PCS, but we need also to properly adjust
1984 cmsBool Read16bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels, int nEntries) argument
2013 cmsPipelineInsertStage(lut, cmsAT_END, mpe);
2979 a lut tag. The second colorant listed is the colorant of the second device channel
2980 of a lut tag, and so on.
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_c_ImageAffineIndex_BL.c82 pcolor00 = (lut + sp0[0]*ind); \
83 pcolor10 = (lut + sp1[0]*ind); \
84 pcolor01 = (lut + sp0[1]*ind); \
85 pcolor11 = (lut + sp1[1]*ind)
168 mlib_d64 *lut = mlib_ImageGetLutDoubleData(colormap); \
170 lut -= NCHAN*mlib_ImageGetLutOffset(colormap); \
H A Dmlib_c_ImageAffineIndex_BC.c83 s0 = *(lut + sp[0]*nchan + chan); \
84 s1 = *(lut + sp[1]*nchan + chan); \
85 s2 = *(lut + sp[2]*nchan + chan); \
86 s3 = *(lut + sp[3]*nchan + chan)
91 dst = ((*(lut + sp[0]*nchan + chan))*xf0 + \
92 (*(lut + sp[1]*nchan + chan))*xf1 + \
93 (*(lut + sp[2]*nchan + chan))*xf2 + \
94 (*(lut + sp[3]*nchan + chan))*xf3)
271 mlib_d64 *lut = ((mlib_d64*)mlib_ImageGetLutDoubleData(colormap) - \
H A Dmlib_ImageColormap.h35 void **lut; member in struct:__anon747
82 ((void **)((( mlib_colormap *)( colormap))->lut))
H A Dmlib_ImageColorTrue2Index.c43 * of finding the nearest matched lut entry for each pixel.
48 * The lut might have either 3 or 4 channels. The type of the lut can be
55 * The src image and the lut must have same number of channels.
1225 p[ 0 ] = s->lut[ 0 ]; \
1226 p[ 1 ] = s->lut[ 1 ]; \
1227 p[ 2 ] = s->lut[ 2 ]; \
1637 p[ 0 ] = s->lut[ 0 ]; \
1638 p[ 1 ] = s->lut[ 1 ]; \
1639 p[ 2 ] = s->lut[
4203 mlib_u8 *lut = ((mlib_colormap *)state)->table; local
4240 mlib_u8 *lut = ((mlib_colormap *)state)->table; local
[all...]
H A Dawt_ImagingLib.c1274 unsigned char lut[256]; local
1399 /* Set up a straight lut so we don't mess around with alpha */
1409 /* REMIND: This should be the size of the input lut!! */
1411 lut[j] = j;
1414 tbl[j] = lut;
H A Dmlib_image_proto.h2351 void **lut);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DRescaleOp.java512 ByteLookupTable lut = createByteLut(scaleFactors, offsets,
514 LookupOp op = new LookupOp(lut, hints);
517 ShortLookupTable lut = createShortLut(scaleFactors, offsets,
519 LookupOp op = new LookupOp(lut, hints);
H A DIndexColorModel.java945 int lut[] = this.rgb;
948 lutrgb = lut[i];
958 lutrgb = lut[i];
992 int lut[] = this.rgb;
994 int lutrgb = lut[i];
/openjdk7/jdk/src/share/native/sun/awt/image/
H A Dawt_ImageRep.c38 static int findIdx(unsigned int rgb, unsigned int *lut, int numLut1);
345 /* Need to write back new number of entries in lut */
461 static int findIdx(unsigned int rgb, unsigned int *lut, int numLut) { argument
466 if ((lut[i]&0xff000000)==0) return i;
471 if (lut[i] == rgb) return i;
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLTextRenderer.c393 OGLTR_UpdateGammaLutTexture(GLuint texID, GLfloat *lut, jint size) argument
397 size, size, size, 0, GL_RGB, GL_FLOAT, lut);
420 GLfloat lut[LUT_EDGE][LUT_EDGE][LUT_EDGE][3]; local
444 lut[z][y][x][0] = gx;
445 lut[z][y][x][1] = gy;
446 lut[z][y][x][2] = gz;
458 OGLTR_UpdateGammaLutTexture(gammaLutTextureID, (GLfloat *)lut, LUT_EDGE);
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DImageRepresentation.java336 private native boolean setICMpixels(int x, int y, int w, int h, int[] lut, argument
339 private native boolean setDiffICM(int x, int y, int w, int h, int[] lut, argument
465 // Fill in the new lut

Completed in 196 milliseconds