Searched defs:pixel (Results 26 - 49 of 49) sorted by relevance

12

/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLContext.h77 jint pixel; member in struct:__anon927
H A DOGLPaints.c91 oglc->pixel = (ea << 24) | (ea << 16) | (ea << 8) | (ea << 0);
101 OGLPaints_SetColor(OGLContext *oglc, jint pixel) argument
105 J2dTraceLn1(J2D_TRACE_INFO, "OGLPaints_SetColor: pixel=%08x", pixel);
116 // store the raw (unmodified) pixel value, which may be used for
118 oglc->pixel = pixel;
121 r = (jubyte)(pixel >> 16);
122 g = (jubyte)(pixel >> 8);
123 b = (jubyte)(pixel >>
[all...]
H A DOGLRenderQueue.c139 // even though it requires an extra vertex per pixel.
559 jint pixel = NEXT_INT(b); local
560 OGLPaints_SetColor(oglc, pixel);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DComponentColorModel.java32 * A <CODE>ColorModel</CODE> class that works with pixel values that
36 * color samples in the pixel values must be same as the number of
41 * a primitive array pixel representation of type <CODE>transferType</CODE>,
49 * The translation from pixel sample values to color/alpha components for
53 * <code>ComponentColorModel</code>, the pixel sample values
71 * and <CODE>DataBuffer.TYPE_INT</CODE> have pixel sample values which
73 * The number of bits in a color or alpha sample of a pixel value might not
108 * <CODE>DataBuffer.TYPE_DOUBLE</CODE> have pixel sample values which
148 * responsibility of applications to appropriately scale pixel data before
156 * Methods that use a single int pixel representatio
609 getRGBComponent(int pixel, int idx) argument
669 getRed(int pixel) argument
691 getGreen(int pixel) argument
713 getBlue(int pixel) argument
730 getAlpha(int pixel) argument
762 getRGB(int pixel) argument
1185 getDataElements(int rgb, Object pixel) argument
1681 getComponents(int pixel, int[] components, int offset) argument
1741 getComponents(Object pixel, int[] components, int offset) argument
2343 getNormalizedComponents(Object pixel, float[] normComponents, int normOffset) argument
[all...]
H A DIndexColorModel.java34 * class that works with pixel values consisting of a
45 * for each pixel in the colormap, while others either provide no
50 * An optional transparent pixel value can be supplied that indicates a
51 * pixel to be made completely transparent, regardless of any alpha
52 * component supplied or assumed for that pixel value.
64 * the colormap are opaque and there is no valid transparent pixel.
68 * a valid transparent pixel is specified,
90 * significant <em>n</em> bits of pixel representations where
91 * <em>n</em> is based on the pixel size specified in the constructor.
92 * For pixel size
778 getRed(int pixel) argument
793 getGreen(int pixel) argument
808 getBlue(int pixel) argument
821 getAlpha(int pixel) argument
836 getRGB(int pixel) argument
877 getDataElements(int rgb, Object pixel) argument
1031 installpixel(Object pixel, int pix) argument
1092 getComponents(int pixel, int[] components, int offset) argument
1158 getComponents(Object pixel, int[] components, int offset) argument
1277 getDataElements(int[] components, int offset, Object pixel) argument
1476 isValid(int pixel) argument
[all...]
H A DColorModel.java41 * methods for translating a pixel value to color components
44 * image, pixel values must be converted to color and alpha components.
49 * A <code>ColorModel</code> used with pixel data that does not include
54 * pixel values. A pixel value can be a single 32-bit int or an
58 * class, pixel value arguments were passed as ints. The Java(tm) 2
61 * objects, based on {@link Raster} and {@link SampleModel} classes, pixel
64 * pixel values represented as arrays of primitive types. The primitive
68 * <code>ColorModel</code> objects used with images for which pixel values
70 * {@link IllegalArgumentException} when methods taking a single int pixel
531 getRed(int pixel) argument
546 getGreen(int pixel) argument
561 getBlue(int pixel) argument
572 getAlpha(int pixel) argument
589 getRGB(int pixel) argument
921 getDataElements(int rgb, Object pixel) argument
958 getComponents(int pixel, int[] components, int offset) argument
1000 getComponents(Object pixel, int[] components, int offset) argument
1430 getNormalizedComponents(Object pixel, float[] normComponents, int normOffset) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_ByteIndexed.c209 mlib_s32 pixel = *(mlib_s32*)(pSrc + 4*i); \
210 if (pixel >> 24)
213 mlib_s32 pixel = SrcReadLut[pSrc[i]]; \
214 if (pixel < 0)
245 b = (pixel) & 0xff; \
246 g = (pixel >> 8) & 0xff; \
247 r = (pixel >> 16) & 0xff; \
274 mlib_u32 pixel = *(mlib_u32*)(pSrc + 4*i); \
275 b = (pixel) & 0xff; \
276 g = (pixel >>
484 mlib_s32 pathA0, dstA0, dst_val, pixel; local
[all...]
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DPaints.cpp39 jint pixel, paintState; local
80 pixel = (ea << 24) | (ea << 16) | (ea << 8) | (ea << 0);
81 d3dc->pVCacher->SetColor(pixel);
88 D3DPaints_SetColor(D3DContext *d3dc, jint pixel) argument
92 J2dTraceLn1(J2D_TRACE_INFO, "D3DPaints_SetColor: pixel=%08x", pixel);
102 d3dc->pVCacher->SetColor(pixel);
227 // pixel shader
246 // pixel state has been set appropriately in D3DPaints_ResetPaint()
307 // pixel stat
[all...]
H A DD3DRenderQueue.cpp723 jint pixel = NEXT_INT(b); local
724 res = D3DPaints_SetColor(d3dc, pixel);
/openjdk7/jdk/src/share/native/sun/font/
H A DDrawGlyphList.c84 * to round down the glyph positions to integral pixel positions.
172 GlyphBlitVector *gbv, jint pixel, jint color,
222 pixel, color,
237 GlyphBlitVector *gbv, jint pixel, jint color,
290 pixel, color,
311 jint pixel, color; local
323 pixel = GrPrim_Sg2dGetPixel(env, sg2d);
325 drawGlyphList(env, self, sg2d, sData, gbv, pixel, color,
341 jint pixel, color; local
352 pixel
170 drawGlyphList(JNIEnv *env, jobject self, jobject sg2d, jobject sData, GlyphBlitVector *gbv, jint pixel, jint color, NativePrimitive *pPrim, DrawGlyphListFunc *func) argument
235 drawGlyphListLCD(JNIEnv *env, jobject self, jobject sg2d, jobject sData, GlyphBlitVector *gbv, jint pixel, jint color, jboolean rgbOrder, int contrast, NativePrimitive *pPrim, DrawGlyphListLCDFunc *func) argument
369 jint pixel, color, contrast; local
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRCompositeManager.java128 public void setForeground(int pixel) { argument
129 solidColor.setColorValues(pixel, false);
169 if (sg2d != null && validatedPixel != sg2d.pixel) {
170 validatedPixel = sg2d.pixel;
H A DXRBackend.java72 public void setGCForeground(long gc, int pixel); argument
H A DXRBackendNative.java71 public native void setGCForeground(long gc, int pixel); argument
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DSurfaceData.java428 int pixel);
430 int pixel; field in class:D3DSurfaceData.D3DDataBufferNative
450 pixel = dbGetPixelNative(sData.getNativeOps(), x, y);
454 retPixel = pixel;
460 protected void setElem(final int x, final int y, final int pixel, argument
472 dbSetPixelNative(sData.getNativeOps(), x, y, pixel);
510 * - the pixel shaders are available, and
427 dbSetPixelNative(long pData, int x, int y, int pixel) argument
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DX11Color.c256 * Allocate a color in the X color map and return the pixel.
257 * If the "expected pixel" is non-negative then we will only
258 * accept the allocation if we get exactly that pixel value.
265 alloc_col(Display *dpy, Colormap cm, int r, int g, int b, int pixel, argument
281 jio_fprintf(stdout, "allocated %d (%d,%d, %d)\n", col.pixel, r, g, b);
283 if (pixel >= 0 && col.pixel != (unsigned long)pixel) {
287 * pixel. If the returned pixel wa
343 int r, g, b, pixel; local
1286 int i, pixel; local
[all...]
H A DmultiVis.c509 int32_t pixel; local
559 /* let's assume byte per pixel for overlay image for now */
576 pixel = (int32_t) XGetPixel(ximage_ipm,dst_x+x1,dst_y+y1) ;
577 XPutPixel(ximage,dst_x+x1, dst_y+y1,(unsigned long)pixel);
605 pixel = (int32_t) XGetPixel(ximage_ipm,dst_x+x1,dst_y+y1) ;
606 XPutPixel(ximage,dst_x+x1, dst_y+y1,(unsigned long)pixel);
631 pixel = (int32_t) XGetPixel(ximage_ipm,dst_x+x1,
633 XPutPixel(ximage,dst_x+x1, dst_y+y1,(unsigned long)pixel);
1104 * pixel. */
H A Dgtk2_interface.h297 guint32 pixel; member in struct:__anon983
/openjdk7/jdk/src/windows/native/sun/windows/
H A DThemeReader.cpp321 int pixel; local
327 pixel = *src++;
328 a = (pixel & ALPHA_MASK) >> ALPHA_SHIFT;
341 pixel = *src++;
342 if (pixel != 0) {
347 a = (pixel & ALPHA_MASK) >> ALPHA_SHIFT;
349 r = (pixel & RED_MASK) >> RED_SHIFT;
350 g = (pixel & GREEN_MASK) >> GREEN_SHIFT;
351 b = (pixel & BLUE_MASK);
359 pixel
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSurfaceData.java160 * typically be unique to a given screen and pixel format, but
168 * and shared across all screens and pixel formats - such
353 * most image based surfaces never change size or pixel format.
355 * change their pixel format when manually validated against a
947 * Does the pixel accessibility of the destination surface
964 * Returns the pixel data for the specified Argb value packed
972 * Returns the pixel data for the specified color packed into an
993 public int rgbFor(int pixel) { argument
994 return surfaceType.rgbFor(pixel, colorModel);
1064 * SurfaceData. If the scale is 2 then virtual pixel coordinate
[all...]
H A DSunGraphics2D.java150 public int pixel; // pixel value for eargb field in class:SunGraphics2D
1673 * Validate the eargb and pixel fields against the current color.
1683 * The pixel field will always be the best pixel data choice for
1708 this.pixel = surfaceData.pixelFor(eargb);
2660 // pixel of raster to be pixel (0, 0) of wRaster. We also
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DSurfaceType.java437 public int rgbFor(int pixel, ColorModel cm) { argument
438 return pixelConverter.pixelToRgb(pixel, cm);
/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/
H A DX11SurfaceData.java531 // surfaces, regardless of the pixel masks reported by
631 private static native void XSetForeground(long xgc, int pixel); argument
642 int pixel)
644 return getGC(clip, compState, comp, pixel, validatedExposures);
654 int pixel, boolean needExposures)
690 // validate pixel
691 pixel ^= xorpixelmod;
692 if (pixel != validatedPixel) {
693 validatedPixel = pixel;
694 XSetForeground(xgc, pixel);
640 getRenderGC(Region clip, int compState, Composite comp, int pixel) argument
652 getGC(Region clip, int compState, Composite comp, int pixel, boolean needExposures) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11SurfaceData.c1085 /* the background pixel is not valid anymore */
1284 // on Linux configurations that use 24 bits per pixel (denoted
1574 X11SD_GetPixmapWithBg(JNIEnv *env, X11SDOps *xsdo, jint pixel) argument
1593 if (xsdo->isBgInitialized == JNI_FALSE || xsdo->bgPixel != pixel) {
1623 XSetForeground(awt_display, srcGC, pixel);
1633 xsdo->bgPixel = pixel;
1764 (JNIEnv *env, jclass xsd, jlong xgc, jint pixel)
1768 XSetForeground(awt_display, (GC) xgc, pixel);
1763 Java_sun_java2d_x11_X11SurfaceData_XSetForeground(JNIEnv *env, jclass xsd, jlong xgc, jint pixel) argument
H A DXRBackendNative.c351 (JNIEnv *env, jobject this, jlong gc, jint pixel) {
352 XSetForeground(awt_display, (GC) jlong_to_ptr(gc), (unsigned long) pixel);
350 Java_sun_java2d_xr_XRBackendNative_setGCForeground(JNIEnv *env, jobject this, jlong gc, jint pixel) argument

Completed in 157 milliseconds

12