Searched defs:pixels (Results 26 - 50 of 54) sorted by relevance

123

/openjdk7/jdk/src/share/classes/java/awt/image/
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 DMultipleGradientPaintContext.java49 * the gradient to fill pixels in a raster.
643 int[] pixels = rasterDB.getData(0);
649 fillRaster(pixels, off, adjust, x, y, w, h); // delegate to subclass
654 protected abstract void fillRaster(int pixels[], int off, int adjust, argument
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...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCRobot.java153 * Creates an image containing pixels read from the screen.
155 * @return the array of pixels
171 private void getScreenPixels(Rectangle r, int[] pixels){ argument
172 nativeGetScreenPixels(r.x, r.y, r.width, r.height, pixels);
174 private native void nativeGetScreenPixels(int x, int y, int width, int height, int[] pixels); argument
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DImageSurfaceData.h85 Pixel8bit* pixels; member in struct:_ImageSDOps
94 // if somebody draws on the bitmap context, or the pixels are changed in java. In that case, we need to NULL out
99 // native pixels as a source of the data. The dataProviders life cycle is the same as ISDO. The reference gets
104 // copy of the pixels for the Image. There is a spearate copy of the pixels that lives in Java heap. There are two main
105 // reasons why we keep those pixels spearate: 1) CG doesn't support all the Java pixel formats 2) The Garbage collector can
106 // move the java pixels at any time. There are possible workarounds for both problems. Number 2) seems to be a more serious issue, since
/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;
H A Dvis_IntArgb.c384 const jubyte *pixels; local
390 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
392 if (!pixels) continue;
402 pixels += clipLeft - left;
406 pixels += (clipTop - top) * rowBytes;
425 mlib_u8 *src = (void*)pixels;
479 pixels += rowBytes;
H A Dvis_IntArgbBm.c563 const jubyte *pixels; local
569 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
571 if (!pixels) continue;
581 pixels += clipLeft - left;
585 pixels += (clipTop - top) * rowBytes;
604 mlib_u8 *src = (void*)pixels;
673 pixels += rowBytes;
H A Dvis_IntBgr.c844 const jubyte *pixels; local
850 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
852 if (!pixels) continue;
862 pixels += clipLeft - left;
866 pixels += (clipTop - top) * rowBytes;
885 mlib_u8 *src = (void*)pixels;
939 pixels += rowBytes;
H A Dvis_IntRgb.c570 const jubyte *pixels; local
576 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
578 if (!pixels) continue;
588 pixels += clipLeft - left;
592 pixels += (clipTop - top) * rowBytes;
611 mlib_u8 *src = (void*)pixels;
665 pixels += rowBytes;
H A Dvis_ByteGray_Mask.c645 const jubyte *pixels; local
651 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
653 if (!pixels) continue;
663 pixels += clipLeft - left;
667 pixels += (clipTop - top) * rowBytes;
689 jint mixValSrc = pixels[i];
705 pixels += rowBytes;
709 mlib_u8 *src = (void*)pixels;
762 pixels
[all...]
H A Dvis_IntArgbPre.c1105 const jubyte *pixels, *pixels0; local
1111 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
1113 if (!pixels) continue;
1123 pixels += clipLeft - left;
1127 pixels += (clipTop - top) * rowBytes;
1145 pixels0 = pixels;
1149 mlib_u8 *src = (void*)pixels;
1197 pixels += rowBytes;
1200 pixels
[all...]
H A Dvis_IntRgbx.c980 const jubyte *pixels; local
986 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
988 if (!pixels) continue;
998 pixels += clipLeft - left;
1002 pixels += (clipTop - top) * rowBytes;
1021 mlib_u8 *src = (void*)pixels;
1075 pixels += rowBytes;
H A Dvis_FourByteAbgr.c1885 const jubyte *pixels; local
1891 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
1893 if (!pixels) continue;
1903 pixels += clipLeft - left;
1907 pixels += (clipTop - top) * rowBytes;
1937 mlib_u8 *src = (void*)pixels;
2004 pixels += rowBytes;
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11TextRenderer_md.c112 const jubyte *pixels; local
123 pixels = (const jubyte *)glyphs[glyphCounter].pixels;
124 if (!pixels) {
137 pixels += clipLeft - left;
141 pixels += (clipTop - top) * rowBytes;
171 if (pixels[x]) {
178 pixels += rowBytes;
192 if (pixels[x]) {
199 pixels
[all...]
H A DXRBackendNative.c454 jshort* pixels; local
463 if ((pixels = (jshort *)
470 pixelsArray, pixels, JNI_ABORT);
485 colors[i].alpha = pixels[i*4 + 0];
486 colors[i].red = pixels[i*4 + 1];
487 colors[i].green = pixels[i*4 + 2];
488 colors[i].blue = pixels[i*4 + 3];
500 (*env)->ReleasePrimitiveArrayCritical(env, pixelsArray, pixels, JNI_ABORT);
521 jshort* pixels; local
531 if ((pixels
[all...]
/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/windows/native/sun/java2d/d3d/
H A DD3DPaints.cpp285 // offset by a half texel to correctly map texels to pixels
354 juint *pixels = (juint *)pPixels; local
385 memcpy(pPix, pixels, numStops*sizeof(juint));
391 pPix[MAX_MULTI_GRADIENT_COLORS-1] = pixels[numStops-1];
433 void *fractions, void *pixels)
455 numStops, fractions, pixels);
480 void *fractions, void *pixels)
503 numStops, fractions, pixels);
429 D3DPaints_SetLinearGradientPaint(D3DContext *d3dc, D3DSDOps *dstOps, jboolean useMask, jboolean linear, jint cycleMethod, jint numStops, jfloat p0, jfloat p1, jfloat p3, void *fractions, void *pixels) argument
474 D3DPaints_SetRadialGradientPaint(D3DContext *d3dc, D3DSDOps *dstOps, jboolean useMask, jboolean linear, jint cycleMethod, jint numStops, jfloat m00, jfloat m01, jfloat m02, jfloat m10, jfloat m11, jfloat m12, jfloat focusX, void *fractions, void *pixels) argument
H A DD3DRenderQueue.cpp750 void *fractions, *pixels; local
752 pixels = b; SKIP_BYTES(b, numStops * sizeof(jint));
757 fractions, pixels);
773 void *fractions, *pixels; local
775 pixels = b; SKIP_BYTES(b, numStops * sizeof(jint));
782 fractions, 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/java2d/opengl/
H A DOGLPaints.c179 GLuint pixels[2]; local
191 pixels[0] = pixel1;
192 pixels[1] = pixel2;
216 0, 2, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, pixels);
638 GLint *pixels = (GLint *)pPixels; local
674 pixels);
682 pixels+(numStops-1));
739 void *fractions, void *pixels)
772 numStops, fractions, pixels);
864 void *fractions, void *pixels)
735 OGLPaints_SetLinearGradientPaint(OGLContext *oglc, OGLSDOps *dstOps, jboolean useMask, jboolean linear, jint cycleMethod, jint numStops, jfloat p0, jfloat p1, jfloat p3, void *fractions, void *pixels) argument
858 OGLPaints_SetRadialGradientPaint(OGLContext *oglc, OGLSDOps *dstOps, jboolean useMask, jboolean linear, jint cycleMethod, jint numStops, jfloat m00, jfloat m01, jfloat m02, jfloat m10, jfloat m11, jfloat m12, jfloat focusX, void *fractions, void *pixels) argument
[all...]
H A DOGLRenderQueue.c586 void *fractions, *pixels; local
588 pixels = b; SKIP_BYTES(b, numStops * sizeof(jint));
593 fractions, pixels);
609 void *fractions, *pixels; local
611 pixels = b; SKIP_BYTES(b, numStops * sizeof(jint));
618 fractions, pixels);
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRBackend.java105 float[] fractions, int[] pixels,
109 int[] pixels, int repeat,
103 createRadialGradient(Point2D inner, Point2D outer, float innerRadius, float outerRadius, float[] fractions, int[] pixels, int repeat, AffineTransform transform) argument
108 createLinearGradient(Point2D p1, Point2D p2, float[] fractions, int[] pixels, int repeat, AffineTransform transform) argument
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/classes/sun/awt/image/
H A DPNGImageDecoder.java221 * means that the all pixels which match the MSB
547 private boolean sendPixels(int x, int y, int w, int h, int[] pixels, argument
550 pixels, offset, pixlength);
556 private boolean sendPixels(int x, int y, int w, int h, byte[] pixels, argument
559 pixels, offset, pixlength);

Completed in 90 milliseconds

123