Searched refs:colorindex (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djquant1.c41 * can be precalculated and stored in the lookup table colorindex[].
42 * colorindex[i][j] maps pixel value j in component i to the nearest
46 * sum( colorindex[component-number][pixel-component-value] )
70 * this to 0..MAXJSAMPLE, and then index into the colorindex table as usual.
71 * We can skip the separate range-limiting step by extending the colorindex
153 JSAMPARRAY colorindex; /* Precomputed mapping for speed */ member in struct:__anon735
154 /* colorindex[i][j] = index of color closest to pixel value j in component i,
158 boolean is_padded; /* is the colorindex padded for odither? */
356 cquantize->colorindex = (*cinfo->mem->alloc_sarray)
365 /* fill in colorindex entrie
468 JSAMPARRAY colorindex = cquantize->colorindex; local
[all...]
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/
H A DRenderTests.java274 int colorindex; field in class:RenderTests.Context
414 int ci = rctx.colorindex;
432 rctx.colorindex = ci;
459 int ci = rctx.colorindex;
477 rctx.colorindex = ci;
504 int ci = rctx.colorindex;
522 rctx.colorindex = ci;
540 int ci = rctx.colorindex;
558 rctx.colorindex = ci;
587 int ci = rctx.colorindex;
[all...]

Completed in 33 milliseconds