Searched defs:raster (Results 1 - 17 of 17) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DOffScreenImage.java59 public OffScreenImage(Component c, ColorModel cm, WritableRaster raster, argument
62 super(cm, raster, isRasterPremultiplied, null);
64 initSurface(raster.getWidth(), raster.getHeight());
H A DBufferedImageGraphicsConfig.java69 Raster raster; field in class:BufferedImageGraphicsConfig
80 this.raster = bufImg.getRaster().createCompatibleWritableRaster(1, 1);
102 WritableRaster wr = raster.createCompatibleWritableRaster(width, height);
H A DImageRepresentation.java186 WritableRaster raster,
191 new BufferedImage(cm, raster, isRasterPremultiplied, null);
436 // Note that setDiffICM modified the raster directly
471 // Note that setICMpixels modifies the raster directly
606 // raster as changed
185 createImage(ColorModel cm, WritableRaster raster, boolean isRasterPremultiplied, Hashtable properties) argument
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DIIOImage.java70 protected Raster raster; field in class:IIOImage
112 this.raster = null;
124 * @param raster a <code>Raster</code>.
130 * @exception IllegalArgumentException if <code>raster</code> is
133 public IIOImage(Raster raster, argument
136 if (raster == null) {
137 throw new IllegalArgumentException("raster == null!");
139 this.raster = raster;
177 this.raster
221 setRaster(Raster raster) argument
[all...]
H A DImageWriter.java1529 * @param raster a <code>Raster</code> containing source
1547 * <li> <code>raster</code> is <code>null</code>.
1550 * <li> the layout of <code>raster</code> does not match, or this
1555 public void replacePixels(Raster raster, ImageWriteParam param) argument
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DPackedColorModel.java369 * @param raster a <code>WritableRaster</code> containing an image
371 * channel of the image contained in <code>raster</code>.
373 public WritableRaster getAlphaRaster(WritableRaster raster) { argument
378 int x = raster.getMinX();
379 int y = raster.getMinY();
381 band[0] = raster.getNumBands() - 1;
382 return raster.createWritableChild(x, y, raster.getWidth(),
383 raster.getHeight(), x, y,
H A DRenderedImage.java210 * SampleModel that is compatible with this image. If raster is null,
212 * @param raster a WritableRaster to hold the returned portion of the
216 WritableRaster copyData(WritableRaster raster); argument
H A DDirectColorModel.java1153 * Forces the raster data to match the state specified in the
1156 * may multiply or divide the color raster data by alpha, or do
1167 * @param raster the <code>WritableRaster</code> data
1176 final public ColorModel coerceData (WritableRaster raster, argument
1184 int w = raster.getWidth();
1185 int h = raster.getHeight();
1190 int rminX = raster.getMinX();
1191 int rY = raster.getMinY();
1204 pixel = raster.getPixel(rX, rY, pixel);
1211 raster
1353 isCompatibleRaster(Raster raster) argument
[all...]
H A DComponentColorModel.java2428 * Forces the raster data to match the state specified in the
2431 * It may multiply or divide the color raster data by alpha, or
2441 * @throws NullPointerException if <code>raster</code> is
2450 public ColorModel coerceData (WritableRaster raster, argument
2459 int w = raster.getWidth();
2460 int h = raster.getHeight();
2461 int aIdx = raster.getNumBands() - 1;
2463 int rminX = raster.getMinX();
2464 int rY = raster.getMinY();
2475 pixel = (byte[])raster
2785 isCompatibleRaster(Raster raster) argument
2915 getAlphaRaster(WritableRaster raster) argument
[all...]
H A DIndexColorModel.java1309 WritableRaster raster;
1313 raster = Raster.createPackedRaster(DataBuffer.TYPE_BYTE,
1317 raster = Raster.createInterleavedRaster(DataBuffer.TYPE_BYTE,
1321 raster = Raster.createInterleavedRaster(DataBuffer.TYPE_USHORT,
1329 return raster;
1333 * Returns <code>true</code> if <code>raster</code> is compatible
1336 * @param raster the {@link Raster} object to test for compatibility
1337 * @return <code>true</code> if <code>raster</code> is compatible
1341 public boolean isCompatibleRaster(Raster raster) { argument
1343 int size = raster
1424 convertToIntDiscrete(Raster raster, boolean forceARGB) argument
[all...]
H A DBufferedImage.java77 WritableRaster raster; field in class:BufferedImage
331 raster = colorModel.createCompatibleWritableRaster(width,
340 raster = colorModel.createCompatibleWritableRaster(width,
359 raster = colorModel.createCompatibleWritableRaster(width,
371 raster = colorModel.createCompatibleWritableRaster(width,
384 raster = Raster.createInterleavedRaster(DataBuffer.TYPE_BYTE,
399 raster = Raster.createInterleavedRaster(DataBuffer.TYPE_BYTE,
414 raster = Raster.createInterleavedRaster(DataBuffer.TYPE_BYTE,
428 raster = colorModel.createCompatibleWritableRaster(width,
440 raster
624 BufferedImage(ColorModel cm, WritableRaster raster, boolean isRasterPremultiplied, Hashtable<?,?> properties) argument
[all...]
H A DColorModel.java1515 * Forces the raster data to match the state specified in the
1518 * may multiply or divide the color raster data by alpha, or do
1529 * @param raster the <code>WritableRaster</code> data
1535 public ColorModel coerceData (WritableRaster raster, argument
1542 * Returns <code>true</code> if <code>raster</code> is compatible
1549 * @param raster the {@link Raster} object to test for compatibility
1550 * @return <code>true</code> if <code>raster</code> is compatible
1556 public boolean isCompatibleRaster(Raster raster) { argument
1653 * @param raster the specified <code>Raster</code>
1657 public WritableRaster getAlphaRaster(WritableRaster raster) { argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DImageUtil.java259 public static byte[] getPackedBinaryData(Raster raster, argument
261 SampleModel sm = raster.getSampleModel();
271 DataBuffer dataBuffer = raster.getDataBuffer();
273 int dx = rectX - raster.getSampleModelTranslateX();
274 int dy = rectY - raster.getSampleModelTranslateY();
444 public static byte[] getUnpackedBinaryData(Raster raster, argument
446 SampleModel sm = raster.getSampleModel();
456 DataBuffer dataBuffer = raster.getDataBuffer();
458 int dx = rectX - raster.getSampleModelTranslateX();
459 int dy = rectY - raster
526 setPackedBinaryData(byte[] binaryDataArray, WritableRaster raster, Rectangle rect) argument
776 setUnpackedBinaryData(byte[] bdata, WritableRaster raster, Rectangle rect) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/image/
H A Dawt_parseImage.h98 jint isUsed; // flag to indicate whether the raster sample model is SPPSM
103 jobject jraster; /* The raster object */
110 int width; /* Width of the raster */
111 int height; /* Height of the raster */
112 int minX; /* origin of this raster x */
113 int minY; /* origin of this raster x */
115 int baseOriginX; /* origin of base raster */
116 int baseOriginY; /* origin of base raster x */
119 int numDataElements; /* Number of data bands in raster */
120 int numBands; /* Number of bands in the raster */
170 RasterS_t raster; /* The raster structure */ member in struct:__anon677
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/
H A DJPEGImageReader.java160 private WritableRaster raster = null; field in class:JPEGImageReader
1142 raster = Raster.createInterleavedRaster(buffer,
1258 convert.filter(raster, raster);
1260 target.setRect(destROI.x, destROI.y + y, raster);
1266 raster.getWidth(), 1,
1436 * offset and creating a translated raster in readInternal()
1561 raster = null;
H A DJPEGImageWriter.java92 private WritableRaster raster = null; field in class:JPEGImageWriter
383 // Obtain the raster and image, if there is one
415 // Image is tiled so get a contiguous raster by copying.
898 // If we are writing a raster or subbands,
1034 // Create a raster from that
1037 raster = Raster.createInterleavedRaster(buffer,
1229 raster = null;
1770 // a new raster is allocated. It is then reused
1790 raster.setRect(sourceLine);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Window.cpp2649 static HBITMAP CreateBitmapFromRaster(JNIEnv* env, jintArray raster, jint w, jint h) argument
2652 if (raster != NULL) {
2655 rasterBuffer = (int *)env->GetPrimitiveArrayCritical(raster, 0);
2656 JNI_CHECK_NULL_GOTO(rasterBuffer, "raster data", done);
2660 env->ReleasePrimitiveArrayCritical(raster, rasterBuffer, 0);
2665 env->ReleasePrimitiveArrayCritical(raster, rasterBuffer, 0);
2791 // ok to pass null raster: default AWT icon

Completed in 73 milliseconds