Searched refs:pixels (Results 26 - 50 of 91) sorted by relevance

1234

/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWCustomCursor.java48 protected void createNativeCursor(Image im, int[] pixels, int w, int h, argument
68 int npixels = pixels.length;
72 if ((pixels[i] & 0xff000000) == 0) {
H A DWTrayIconPeer.java145 int pixels[] = ((DataBufferInt)raster.getDataBuffer()).getData();
146 int npixels = pixels.length;
153 if ((pixels[i] & 0xff000000) == 0) {
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DCropImageFilter.java54 * region of pixels from its source Image as specified by the x, y,
75 * <code>ImageProducer</code> of the <code>Image</code> whose pixels
77 * this class to filter pixels from an image should avoid calling
93 * pixels are being filtered. Developers using
94 * this class to filter pixels from an image should avoid calling
104 * Determine whether the delivered byte pixels intersect the region to
105 * be extracted and passes through only that subset of pixels that
110 * pixels are being filtered. Developers using
111 * this class to filter pixels from an image should avoid calling
116 ColorModel model, byte pixels[], in
115 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument
155 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
[all...]
H A DMemoryImageSource.java62 * int pixels[];
69 * pixels = new int[size];
73 * pixels[i] = value;
76 * source = new MemoryImageSource(width, height, pixels, 0, width);
92 * // Modify the values in the pixels array at (x, y, w, h)
111 Object pixels; field in class:MemoryImageSource
122 * @param w the width of the rectangle of pixels
123 * @param h the height of the rectangle of pixels
125 * @param pix an array of pixels
128 * @param scan the distance from one row of pixels t
[all...]
H A DReplicateScaleFilter.java37 * image. The pixels in the source image are sampled to produce pixels
39 * pixels to scale up or omitting rows and columns of pixels to scale
75 * row of pixels.
81 * column of pixels.
93 * Constructs a ReplicateScaleFilter that scales the pixels from
117 * <code>ImageProducer</code> of the <code>Image</code> whose pixels
119 * this class to filter pixels from an image should avoid calling
140 * <code>ImageProducer</code> of the <code>Image</code> whose pixels
186 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument
227 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
[all...]
H A DBufferedImageFilter.java83 * {@link ImageProducer} of the <code>Image</code> whose pixels are
84 * being filtered. Developers using this class to retrieve pixels from
87 * pixels.
115 * whose pixels are being filtered. Developers using this
116 * class to retrieve pixels from an image
119 * requested pixels.
151 * <code>ImageProducer</code> of the <code>Image</code> whose pixels
153 * this class to retrieve pixels from an image should avoid calling
155 * with retrieving the requested pixels.
162 ColorModel model, byte pixels[], in
161 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument
248 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
[all...]
H A DBandedSampleModel.java76 * @param w The width (in pixels) of the region of
78 * @param h The height (in pixels) of the region of image
96 * @param w The width (in pixels) of the region of
98 * @param h The height (in pixels) of the region of
379 int[] pixels;
382 pixels = iArray;
384 pixels = new int [numBands];
389 pixels[i] = data.getElem(bankIndices[i],
392 return pixels;
396 * Returns all samples for the specified rectangle of pixels i
[all...]
H A DSinglePixelPackedSampleModel.java98 * @param w The width (in pixels) of the region of the
100 * @param h The height (in pixels) of the region of the
127 * @param w The width (in pixels) of the region of
129 * @param h The height (in pixels) of the region of
434 int pixels[];
436 pixels = new int [numBands];
438 pixels = iArray;
443 pixels[i] = (value & bitMasks[i]) >>> bitOffsets[i];
445 return pixels;
449 * Returns all samples for the specified rectangle of pixels i
[all...]
H A DPixelGrabber.java36 * to an Image or ImageProducer object to retrieve a subset of the pixels
49 * int[] pixels = new int[w * h];
50 * PixelGrabber pg = new PixelGrabber(img, x, y, w, h, pixels, 0, w);
54 * System.err.println("interrupted waiting for pixels!");
63 * handlesinglepixel(x+i, y+j, pixels[j * w + i]);
98 * section of pixels from the specified image into the given array.
99 * The pixels are stored into the array in the default RGB ColorModel.
104 * @param img the image to retrieve pixels from
106 * of pixels to retrieve from the image, relative to the default
109 * of pixels t
471 setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, byte pixels[], int srcOff, int srcScan) argument
558 setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, int pixels[], int srcOff, int srcScan) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DGradientPaintContext.java237 int[] pixels = irast.getDataStorage();
240 cycleFillRaster(pixels, off, adjust, w, h, rowrel, dx, dy);
242 clipFillRaster(pixels, off, adjust, w, h, rowrel, dx, dy);
250 void cycleFillRaster(int[] pixels, int off, int adjust, int w, int h, argument
259 pixels[off++] = interp[icolrel >>> 23];
268 void clipFillRaster(int[] pixels, int off, int adjust, int w, int h, argument
276 pixels[off++] = rgb;
281 pixels[off++] = interp[(int) (colrel * 256)];
287 pixels[off++] = rgb;
H A DRadialGradientPaintContext.java173 protected void fillRaster(int pixels[], int off, int adjust, argument
177 simpleNonCyclicFillRaster(pixels, off, adjust, x, y, w, h);
179 cyclicCircularGradientFillRaster(pixels, off, adjust, x, y, w, h);
188 private void simpleNonCyclicFillRaster(int pixels[], int off, int adjust, argument
232 // adjust is (scan-w) of pixels array, we need (scan)
262 pixels[off + i] = rgbclip;
283 pixels[off + i] = gradient[gIndex];
292 pixels[off + i] = rgbclip;
330 private void cyclicCircularGradientFillRaster(int pixels[], int off, argument
371 // used to index pixels arra
[all...]
H A DLinearGradientPaintContext.java133 protected void fillRaster(int[] pixels, int off, int adjust, argument
152 pixels[off++] = indexIntoGradientsArrays(g);
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A Dimg_replscale.h33 * The input pixels will be replicated when scaling larger than the
36 * the original image size, the input pixels will be omitted as needed
42 * impose any restrictions on the order of delivery of the pixels.
63 #define InitScale(pixels, srcOff, srcScan, \
87 SetInputRow(pixels, srcOff, srcScan, srcOY, srcOY); \
101 srcOY, pixels, srcOff, srcScan) \
107 SetInputRow(pixels, srcOff, srcScan, srcY, srcOY); \
H A DREADME32 decoding the input pixels and then scaling, dithering, and storing the
33 pixels in the destination image structure. Each part of that process
41 Fetching retrieving pixels from the source pixel data
42 Decoding decoding source pixels into color/alpha information
46 Storing storing the final pixels in the destination image
57 <img_input8.h> Fetch 8 bit pixels from a byte array
58 <img_input32.h> Fetch 32 bit pixels from a int array
59 <img_input8_32.h> Fetch 8 or 32 bit pixels
62 <img_icm.h> Decode IndexColorModel pixels
63 <img_dcm.h> Decode DirectColorModel pixels
[all...]
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DPaints.h110 void *fractions, void *pixels);
120 void *fractions, void *pixels);
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLPaints.h47 void *fractions, void *pixels);
55 void *fractions, void *pixels);
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/
H A DBMPImageWriter.java565 // Buffer for up to 8 rows of pixels
566 int[] pixels = new int[scanlineBytes * scaleX];
626 // Get the pixels
694 srcRect.width, srcRect.height, pixels);
696 bpixels[h] = (byte)pixels[h];
707 srcRect.width, srcRect.height, pixels);
709 bpixels[h] = (byte)pixels[h];
716 srcRect.width, srcRect.height, pixels);
722 System.arraycopy(pixels, k, pixel, 0, pixel.length);
726 pixels[
762 writePixels(int l, int scanlineBytes, int bitsPerPixel, int pixels[], int padding, int numBands, IndexColorModel icm) argument
[all...]
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DGlyphPositionAdjustments.cpp117 LEPoint entryAnchor, exitAnchor, pixels; local
145 fontInstance->getGlyphAdvance(glyphID, pixels);
146 fontInstance->pixelsToUnits(pixels, secondAdvance);
152 fontInstance->getGlyphAdvance(lastExitGlyphID, pixels);
153 fontInstance->pixelsToUnits(pixels, firstAdvance);
H A DLEFontInstance.h87 * pixels and funits. (font design units)
320 * This method gets the X and Y advance of a particular glyph, in pixels.
347 * in pixels.
357 * in pixels.
400 * This method converts pixels in the
403 * @param xPixels - pixels in the X direction
412 * This method converts pixels in the
415 * @param yPixels - pixels in the Y direction
424 * This method converts pixels to font design units.
426 * @param pixels
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_FourByteAbgrPre.c187 const jubyte *pixels; local
193 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
195 if (!pixels) continue;
205 pixels += clipLeft - left;
209 pixels += (clipTop - top) * rowBytes;
239 mlib_u8 *src = (void*)pixels;
314 src = (void*)pixels;
328 pixels += rowBytes;
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRPaints.java111 int[] pixels = convertToIntArgbPixels(new Color[] { paint.getColor1(), paint.getColor2() }, false);
130 int gradient = con.createLinearGradient(pt1, pt2, fractions, pixels, repeat, at);
163 int[] pixels = convertToIntArgbPixels(colors, linear);
172 int gradient = con.createLinearGradient(pt1, pt2, fractions, pixels, repeat, at);
195 int[] pixels = convertToIntArgbPixels(colors, linear);
228 int gradient = con.createRadialGradient(new Point2D.Float(0, 0), new Point2D.Float(0, 0), 0, radius, fractions, pixels, repeat, at);
290 int[] pixels = new int[colors.length];
292 pixels[i] = colorToIntArgbPixel(colors[i], linear);
294 return pixels;
H A DXRBackendNative.java151 private short[] getRenderColors(int[] pixels) { argument
152 short[] renderColors = new short[pixels.length * 4];
155 for (int i = 0; i < pixels.length; i++) {
156 c.setColorValues(pixels[i], true);
178 int[] pixels, int repeat, AffineTransform trx) {
180 short[] colorValues = getRenderColors(pixels);
197 float[] fractions, int[] pixels, int repeat,
200 short[] colorValues = getRenderColors(pixels);
177 createLinearGradient(Point2D p1, Point2D p2, float[] fractions, int[] pixels, int repeat, AffineTransform trx) argument
195 createRadialGradient(Point2D inner, Point2D outer, float innerRadius, float outerRadius, float[] fractions, int[] pixels, int repeat, AffineTransform trx) argument
/openjdk7/jdk/src/share/native/sun/font/
H A DFontInstanceAdapter.h164 void pixelsToUnits(LEPoint &pixels, LEPoint &units) const argument
166 units.fX = xPixelsToUnits(pixels.fX);
167 units.fY = yPixelsToUnits(pixels.fY);
178 void transformFunits(float xFunits, float yFunits, LEPoint &pixels) const;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DImageIcon.java243 * @param imageData an array of pixels in an image format supported
267 * @param imageData an array of pixels in an image format supported by
422 * @return the width in pixels of this icon
431 * @return the height in pixels of this icon
483 int[] pixels = (int[])(s.readObject());
485 if (pixels != null) {
488 image = tk.createImage(new MemoryImageSource(w, h, cm, pixels, 0, w));
501 int[] pixels = image != null? new int[w * h] : null;
505 PixelGrabber pg = new PixelGrabber(image, 0, 0, w, h, pixels, 0, w);
518 s.writeObject(pixels);
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DOffScreenImageSource.java95 byte[] pixels = new byte[width];
101 raster.getDataElements(0, y, width, 1, pixels);
102 theConsumer.setPixels(0, y, width, 1, cm, pixels, 0,
112 pixels[x] = (byte) scanline[x];
114 theConsumer.setPixels(0, y, width, 1, cm, pixels, 0,

Completed in 2286 milliseconds

1234