Searched defs:lut (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/native/sun/awt/medialib/
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;
/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/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
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsxform.c463 _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut, argument
473 p ->Lut = lut;
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 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 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/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);

Completed in 122 milliseconds