Searched refs:pixels (Results 1 - 25 of 91) sorted by relevance

1234

/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DGlyphImageRef.h41 const void *pixels; member in struct:__anon914
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DJPEGImageDecoder.java113 public boolean sendPixels(int pixels[], int y) { argument
114 int count = setPixels(0, y, pixels.length, 1, colormodel,
115 pixels, 0, pixels.length);
122 public boolean sendPixels(byte pixels[], int y) { argument
123 int count = setPixels(0, y, pixels.length, 1, colormodel,
124 pixels, 0, pixels.length);
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DAnchorTables.cpp81 LEPoint pixels; local
83 fontInstance->transformFunits(x, y, pixels);
85 fontInstance->pixelsToUnits(pixels, anchor);
107 LEPoint pixels; local
111 fontInstance->transformFunits(x, y, pixels);
117 pixels.fX += adjx;
124 pixels.fY += adjy;
127 fontInstance->pixelsToUnits(pixels, anchor);
H A DValueRecords.cpp72 LEPoint pixels; local
74 fontInstance->transformFunits(value, 0, pixels);
76 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX);
77 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY);
82 LEPoint pixels; local
84 fontInstance->transformFunits(0, value, pixels);
86 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX);
87 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY);
92 LEPoint pixels; local
94 fontInstance->transformFunits(value, 0, pixels);
102 LEPoint pixels; local
176 LEPoint pixels; local
186 LEPoint pixels; local
196 LEPoint pixels; local
206 LEPoint pixels; local
[all...]
H A DMarkToBasePosnSubtables.cpp96 LEPoint baseAnchor, markAdvance, pixels; local
106 fontInstance->getGlyphAdvance(markGlyph, pixels);
107 fontInstance->pixelsToUnits(pixels, markAdvance);
121 fontInstance->getGlyphAdvance(baseGlyph, pixels);
130 pixels.fX += px.fX; // and add that to the base glyph's advance
131 pixels.fY += px.fY;
136 fontInstance->pixelsToUnits(pixels, baseAdvance);
H A DMarkToMarkPosnSubtables.cpp95 LEPoint mark2Anchor, markAdvance, pixels; local
104 fontInstance->getGlyphAdvance(markGlyph, pixels);
105 fontInstance->pixelsToUnits(pixels, markAdvance);
117 fontInstance->getGlyphAdvance(mark2Glyph, pixels);
118 fontInstance->pixelsToUnits(pixels, mark2Advance);
H A DMarkToLigaturePosnSubtables.cpp106 LEPoint ligatureAnchor, markAdvance, pixels; local
110 fontInstance->getGlyphAdvance(markGlyph, pixels);
111 fontInstance->pixelsToUnits(pixels, markAdvance);
123 fontInstance->getGlyphAdvance(ligatureGlyph, pixels);
124 fontInstance->pixelsToUnits(pixels, ligatureAdvance);
H A DLEFontInstance.cpp156 void LEFontInstance::pixelsToUnits(LEPoint &pixels, LEPoint &units) const argument
158 units.fX = xPixelsToUnits(pixels.fX);
159 units.fY = yPixelsToUnits(pixels.fY);
162 void LEFontInstance::transformFunits(float xFunits, float yFunits, LEPoint &pixels) const
164 pixels.fX = xUnitsToPoints(xFunits) * getScaleFactorX();
165 pixels.fY = yUnitsToPoints(yFunits) * getScaleFactorY();
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DImageConsumer.java58 * the pixels reported using the setPixels method
59 * calls. Note that each set of pixels delivered using setPixels
63 * may be seen is a filtered image when for each set of pixels
66 * pixels can be sent on untouched, using the original ColorModel,
67 * or whether the pixels should be modified (filtered) and passed
76 * pixels delivered by the ImageProducer.
77 * The ImageProducer can deliver the pixels in any order, but
78 * the ImageConsumer may be able to scale or convert the pixels
80 * quality if it knows some information about how the pixels will
83 * of hints about the manner in which the pixels wil
159 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument
185 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
[all...]
H A DImageFilter.java64 * of the Image whose pixels are being filtered. Developers using
65 * this class to filter pixels from an image should avoid calling
83 * of the Image whose pixels are being filtered. Developers using
84 * this class to filter pixels from an image should avoid calling
98 * of the Image whose pixels are being filtered. Developers using
99 * this class to filter pixels from an image should avoid calling
122 * of the Image whose pixels are being filtered. Developers using
123 * this class to filter pixels from an image should avoid calling
137 * of the Image whose pixels are being filtered. Developers using
138 * this class to filter pixels fro
158 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument
175 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
[all...]
H A DRGBImageFilter.java33 * the pixels of an image in the default RGB ColorModel. It is meant to
37 * single method which converts pixels one at a time in the default RGB
106 * <code>ImageProducer</code> of the <code>Image</code> whose pixels
108 * this class to filter pixels from an image should avoid calling
127 * is substituted and the pixels passed through
179 * Filters a buffer of pixels in the default RGB ColorModel by passing
182 * of pixels
184 * of pixels
185 * @param w the width of the region of pixels
186 * @param h the height of the region of pixels
194 filterRGBPixels(int x, int y, int w, int h, int pixels[], int off, int scansize) argument
224 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument
261 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
[all...]
H A DSampleModel.java39 * This abstract class defines an interface for extracting samples of pixels
40 * in an image. All image data is expressed as a collection of pixels.
46 * consists of all the red samples from all pixels in the
61 * A collection of pixels is represented as a Raster, which consists of
64 * a programmer can use to directly manipulate samples and pixels in the
70 * manipulate pixels in the DataBuffer.
84 /** Width in pixels of the region of image data that this SampleModel
89 /** Height in pixels of the region of image data that this SampleModel
111 * @param w The width (in pixels) of the region of image data.
112 * @param h The height (in pixels) o
[all...]
H A DAreaAveragingScaleFilter.java39 * image. The pixels in the source image are blended to produce pixels
43 * size by simply averaging all the pixels in the supersized image that
47 * requestTopDownLeftRightResend() method to refilter the pixels in a
71 * Constructs an AreaAveragingScaleFilter that scales the pixels from
86 * pixels are being filtered. Developers using
87 * this class to filter pixels from an image should avoid calling
135 ColorModel model, Object pixels, int off,
172 if (pixels instanceof byte[]) {
173 rgb = ((byte[]) pixels)[of
134 accumPixels(int x, int y, int w, int h, ColorModel model, Object pixels, int off, int scansize) argument
246 setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize) argument
272 setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A Dimg_input32.h30 * This implementation can load 32-bit pixels from an array of longs
41 #define SetInputRow(pixels, srcOff, srcScan, srcY, srcOY) \
42 srcP.vp = pixels; \
H A Dimg_input8.h30 * This implementation can load 8-bit pixels from an array of bytes
41 #define SetInputRow(pixels, srcOff, srcScan, srcY, srcOY) \
42 srcP.vp = pixels; \
H A Dimg_input8_32.h30 * This implementation can load either 8-bit or 32-bit pixels from an
54 #define SetInputRow(pixels, srcOff, srcScan, srcY, srcOY) \
56 srcP.vp = pixels; \
H A Dimg_noscale.h49 #define InitScale(pixels, srcOff, srcScan, \
55 SetInputRow(pixels, srcOff, srcScan, srcOY, srcOY); \
62 srcOY, pixels, srcOff, srcScan) \
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DEffectUtils.java104 * <p>Blurs the source pixels into the destination pixels. The force of the blur is specified by the radius which
105 * must be greater than 0.</p> <p>The source and destination pixels arrays are expected to be in the INT_ARGB
109 * @param srcPixels the source pixels
110 * @param dstPixels the destination pixels
166 * <p>Blurs the source pixels into the destination pixels. The force of the blur is specified by the radius which
167 * must be greater than 0.</p> <p>The source and destination pixels arrays are expected to be in the BYTE_GREY
171 * @param srcPixels the source pixels
172 * @param dstPixels the destination pixels
250 getPixels(BufferedImage img, int x, int y, int w, int h, byte[] pixels) argument
284 setPixels(BufferedImage img, int x, int y, int w, int h, byte[] pixels) argument
318 getPixels(BufferedImage img, int x, int y, int w, int h, int[] pixels) argument
357 setPixels(BufferedImage img, int x, int y, int w, int h, int[] pixels) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/
H A DX11CustomCursor.java46 protected void createNativeCursor(Image im, int[] pixels, int width, int height, argument
63 int tmp[] = new int[pixels.length];
64 for (int i=0; i<pixels.length; i++) {
65 if ((pixels[i] & 0xff000000) == 0) {
68 tmp[i] = pixels[i] & 0x00ffffff;
75 CCount cols[] = new CCount[pixels.length];
79 while ( is < pixels.length ) {
87 for (int i = is+1; i < pixels.length; i++) {
112 int rest = pixels.length - ((numColors > 0) ? cols[0].count : 0);
155 if ((pixels[i
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DCustomCursor.java88 int[] pixels = new int[width * height];
91 pixels, 0, width);
97 createNativeCursor(image, pixels, width, height, hotSpot.x, hotSpot.y);
100 protected abstract void createNativeCursor(Image im, int[] pixels, argument
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRColor.java70 public static int[] ARGBPrePixelToXRColors(int[] pixels) { argument
71 int[] colorValues = new int[pixels.length * 4];
74 for (int i = 0; i < pixels.length; i++) {
75 c.setColorValues(pixels[i], true);
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_GlyphList.c46 const jubyte *pixels; \
52 pixels = (const jubyte *) glyphs[glyphCounter].pixels; \
54 if (!pixels) continue; \
64 pixels += clipLeft - left; \
68 pixels += (clipTop - top) * rowBytes; \
109 mlib_u8 *src = (void*)pixels;
148 pixels += rowBytes;
176 mlib_u8 *src = (void*)pixels;
209 pixels
[all...]
H A Dvis_GlyphListXor.c48 const jubyte *pixels; \
54 pixels = (const jubyte *) glyphs[glyphCounter].pixels; \
56 if (!pixels) continue; \
66 pixels += clipLeft - left; \
70 pixels += (clipTop - top) * rowBytes; \
111 mlib_u8 *src = (void*)pixels;
150 pixels += rowBytes;
178 mlib_u8 *src = (void*)pixels;
211 pixels
[all...]
/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...]
/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

Completed in 94 milliseconds

1234