/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/ |
H A D | img_icm.h | 60 Classjava_awt_image_IndexColorModel *icm = \ 62 cmrgb = (unsigned int *) unhand(icm->rgb); \ 63 mapsize = obj_length(icm->rgb); \
|
/openjdk7/jdk/src/share/native/sun/awt/image/ |
H A D | BufImgSurfaceData.h | 37 jobject icm; member in struct:_BufImgSDOps
|
H A D | BufImgSurfaceData.c | 64 (JNIEnv *env, jclass bisd, jclass icm, jclass cd) 75 rgbID = (*env)->GetFieldID(env, icm, "rgb", "[I"); 76 allGrayID = (*env)->GetFieldID(env, icm, "allgrayopaque", "Z"); 77 mapSizeID = (*env)->GetFieldID(env, icm, "map_size", "I"); 78 colorDataID = (*env)->GetFieldID(env, icm, "colorData", 109 jobject icm) 127 if (JNU_IsNull(env, icm)) { 130 bisdo->icm = NULL; 132 jobject lutarray = (*env)->GetObjectField(env, icm, rgbID); 134 bisdo->lutsize = (*env)->GetIntField(env, icm, mapSizeI 63 Java_sun_awt_image_BufImgSurfaceData_initIDs(JNIEnv *env, jclass bisd, jclass icm, jclass cd) argument 104 Java_sun_awt_image_BufImgSurfaceData_initRaster(JNIEnv *env, jobject bisd, jobject array, jint offset, jint bitoffset, jint width, jint height, jint pixStr, jint scanStr, jobject icm) argument [all...] |
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | RGBImageFilter.java | 143 * @param icm the IndexColorModel object to be filtered 144 * @exception NullPointerException if <code>icm</code> is null 147 public IndexColorModel filterIndexColorModel(IndexColorModel icm) { argument 148 int mapsize = icm.getMapSize(); 153 icm.getReds(r); 154 icm.getGreens(g); 155 icm.getBlues(b); 156 icm.getAlphas(a); 157 int trans = icm.getTransparentPixel(); 160 int rgb = filterRGB(-1, -1, icm [all...] |
H A D | ConvolveOp.java | 171 IndexColorModel icm = (IndexColorModel) srcCM; 172 src = icm.convertToIntDiscrete(src.getRaster(), false);
|
/openjdk7/jdk/test/javax/imageio/plugins/png/ |
H A D | GrayPngTest.java | 91 IndexColorModel icm = null; 94 icm = new IndexColorModel(bpp, numColors, r, g, b); 97 icm = new IndexColorModel(bpp, numColors, r, g, b, trans_pixel); 101 icm = new IndexColorModel(bpp, numColors, r, g, b, a); 112 WritableRaster wr = icm.createCompatibleWritableRaster(w, h); 127 return new BufferedImage(icm, wr, false, null);
|
H A D | ShortHistogramTest.java | 144 IndexColorModel icm = (IndexColorModel)bi.getColorModel(); 145 int mapSize = icm.getMapSize(); 201 IndexColorModel icm = createTestICM(numColors); 206 BufferedImage.TYPE_BYTE_INDEXED, icm); 210 int rgb = icm.getRGB(i); 225 IndexColorModel icm = new IndexColorModel(numBits, numColors, 228 return icm;
|
/openjdk7/jdk/test/sun/java2d/DirectX/ |
H A D | DrawBitmaskToSurfaceTest.java | 55 IndexColorModel icm = new IndexColorModel(2, 4, r, g, b, 3); 59 icm);
|
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | BufImgSurfaceData.java | 200 IndexColorModel icm = null; 224 icm = (IndexColorModel)cm; 225 if (icm.getPixelSize() == 12) { 226 if (isOpaqueGray(icm)) { 232 icm = null; 235 sData = createDataSC(bufImg, sType, icm); 269 IndexColorModel icm) { 280 icm); 292 IndexColorModel icm = ((cm instanceof IndexColorModel) 301 icm); 267 createDataSC(BufferedImage bImg, SurfaceType sType, IndexColorModel icm) argument 342 initRaster(Object theArray, int offset, int bitoffset, int width, int height, int pixStr, int scanStr, IndexColorModel icm) argument [all...] |
H A D | ImageRepresentation.java | 219 IndexColorModel icm = (IndexColorModel) model; 220 numSrcLUT = icm.getMapSize(); 222 icm.getRGBs(srcLUT); 223 srcLUTtransIndex = icm.getTransparentPixel(); 340 int transPix, int numLut, IndexColorModel icm, 426 IndexColorModel icm = (IndexColorModel) model; 430 numSrcLUT, icm, 440 boolean hasAlpha = icm.hasAlpha(); 444 int nbits = icm.getPixelSize(); 445 icm 339 setDiffICM(int x, int y, int w, int h, int[] lut, int transPix, int numLut, IndexColorModel icm, byte[] pix, int off, int scansize, ByteComponentRaster bct, int chanOff) argument [all...] |
/openjdk7/jdk/test/sun/java2d/X11SurfaceData/DrawImageBgTest/ |
H A D | DrawImageBgTest.java | 69 IndexColorModel icm = new IndexColorModel(8, 2, r, g, b, 0); 70 WritableRaster wr = icm.createCompatibleWritableRaster(25, 25); 71 BufferedImage tImg = new BufferedImage(icm, wr, false, null);
|
/openjdk7/jdk/test/java/awt/Graphics/DrawImageBG/ |
H A D | SystemBgColorTest.java | 73 IndexColorModel icm = new IndexColorModel(8, 2, cmap, 0, true, 0, 76 BufferedImage.TYPE_BYTE_INDEXED, icm);
|
/openjdk7/jdk/test/sun/awt/image/ImageRepresentation/ |
H A D | LUTCompareTest.java | 168 IndexColorModel icm = new IndexColorModel(getNumBits(palette.length), 170 WritableRaster wr = icm.createCompatibleWritableRaster(w, h); 175 BufferedImage img = new BufferedImage(icm, wr, false, null);
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/ |
H A D | PaletteBuilder.java | 163 IndexColorModel icm = getIndexColorModel(); 167 BufferedImage.TYPE_BYTE_INDEXED, icm); 318 IndexColorModel icm = null; 320 icm = new IndexColorModel(8, size, red, green, blue, 0); 322 icm = new IndexColorModel(8, currSize, red, green, blue); 324 return icm;
|
/openjdk7/jdk/test/javax/imageio/plugins/bmp/ |
H A D | TopDownTest.java | 126 IndexColorModel icm = new IndexColorModel(4, 16, r, g, b); 127 img = new BufferedImage(100, 100, TYPE_BYTE_INDEXED, icm);
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | ImageSurfaceData.h | 82 jobject icm; member in struct:_ImageSDOps
|
H A D | ImageSurfaceData.m | 156 fprintf(stderr, "\t icm=%p\n", isdo->icm); 1444 if (bisdo->icm != NULL) { 1445 (*env)->DeleteWeakGlobalRef(env, bisdo->icm); 1492 if (isdo->icm != NULL) 1494 JNFDeleteGlobalRef(env, isdo->icm); 1495 isdo->icm = NULL; 1605 jclass icm; 1612 icm = (*env)->FindClass(env, icmName); 1613 if (icm [all...] |
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | OSXOffScreenSurfaceData.java | 372 private static SurfaceData createDataSC(BufferedImage bImg, SurfaceType sType, IndexColorModel icm, int iType) { argument 382 icm, 393 public static SurfaceData createDataSC(BufferedImage bImg, SurfaceType sType, IndexColorModel icm) { argument 394 return createDataSC(bImg, sType, icm, bImg.getType()); 402 IndexColorModel icm = ((cm instanceof IndexColorModel) ? (IndexColorModel) cm : null); 409 icm, 429 IndexColorModel icm = ((cm instanceof IndexColorModel) ? (IndexColorModel) cm : null); 437 icm, 448 protected native void initRaster(Object theArray, int offset, int width, int height, int pixStr, int scanStr, IndexColorModel icm, int type, ByteBuffer graphicsStates, Object graphicsStatesObjects, ByteBuffer imageInfo); argument
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/ |
H A D | BMPImageWriter.java | 176 IndexColorModel icm = null; 396 icm = (IndexColorModel)colorModel; 401 icm = (IndexColorModel)colorModel; 402 paletteEntries = icm.getMapSize(); 427 icm.getAlphas(a); 428 icm.getReds(r); 429 icm.getGreens(g); 430 icm.getBlues(b); 731 padding, numBands, icm); 765 IndexColorModel icm) throw 762 writePixels(int l, int scanlineBytes, int bitsPerPixel, int pixels[], int padding, int numBands, IndexColorModel icm) argument [all...] |
/openjdk7/jdk/test/java/awt/print/PrinterJob/ImagePrinting/ |
H A D | ImageTypes.java | 186 private void drawImage(Graphics g, int biType, IndexColorModel icm) { argument 189 if (icm != null) { 190 bi = new BufferedImage(sw, sh, biType, icm);
|
/openjdk7/jdk/src/share/native/sun/java2d/ |
H A D | SurfaceData.c | 103 jobject icm) 105 if (icm == NULL) { 108 return (*env)->GetBooleanField(env, icm, allGrayID); 102 Java_sun_java2d_SurfaceData_isOpaqueGray(JNIEnv *env, jclass sdClass, jobject icm) argument
|
/openjdk7/jdk/src/share/classes/javax/imageio/ |
H A D | ImageTypeSpecifier.java | 1220 IndexColorModel icm = (IndexColorModel)bi.getColorModel(); 1221 int mapSize = icm.getMapSize(); 1227 icm.getReds(redLUT); 1228 icm.getGreens(greenLUT); 1229 icm.getBlues(blueLUT); 1230 icm.getAlphas(alphaLUT);
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/ |
H A D | WBMPImageWriter.java | 247 IndexColorModel icm = (IndexColorModel)input.getColorModel(); 248 isWhiteZero = icm.getRed(0) > icm.getRed(1);
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ |
H A D | PixelTests.java | 231 IndexColorModel icm = 236 // bimg = new BufferedImage(64/nbits, 1, type, icm); 238 icm.createCompatibleWritableRaster(64/nbits, 1); 239 bimg = new BufferedImage(icm, wr, false, null);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalBumps.java | 228 IndexColorModel icm = new IndexColorModel(8, 3, cmap, 0, false, 232 BufferedImage.TYPE_BYTE_INDEXED, icm);
|