Searched refs:pixel (Results 76 - 100 of 139) sorted by relevance

123456

/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DLineUtils.h56 #define LineUtils_ProcessLine(pRasInfo, pixel, pLine, pPrim, pCompInfo, \
67 (*pLine)((pRasInfo), tx1, Y1, pixel, tx2 - tx1, 0, \
79 (*pLine)((pRasInfo), X1, ty1, pixel, ty2 - ty1, 0, \
96 (*pLine)((pRasInfo), tx1, ty1, pixel, steps, error, \
H A DFillRect.c45 jint pixel = GrPrim_Sg2dGetPixel(env, sg2d); local
84 pixel, pPrim, &compInfo);
H A DFillSpans.c41 jobject sg2d, jobject sData, jint pixel, jlong pIterator, jobject si)
93 pixel, pPrim, &compInfo);
39 Java_sun_java2d_loops_FillSpans_FillSpans(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jint pixel, jlong pIterator, jobject si) argument
H A DByteIndexed.h112 #define StoreByteIndexedPixel(pRas, x, pixel) \
113 ((pRas)[x] = (jubyte) (pixel))
118 #define StoreByteIndexedPixelData(pPix, x, pixel, PREFIX) \
119 (pPix)[x] = (jubyte) (pixel)
121 #define ByteIndexedPixelFromArgb(pixel, rgb, pRasInfo) \
125 (pixel) = SurfaceData_InvColorMap((pRasInfo)->invColorTable, \
H A DFillParallelogram.c49 jint pixel; local
70 pixel = GrPrim_Sg2dGetPixel(env, sg2d);
121 pixel, pPrim, &compInfo);
139 pixel, pPrim, &compInfo);
155 pixel, pPrim, &compInfo);
171 pixel, pPrim, &compInfo);
H A DUshortIndexed.h110 #define StoreUshortIndexedPixel(pRas, x, pixel) \
111 ((pRas)[x] = (jushort) (pixel))
116 #define StoreUshortIndexedPixelData(pPix, x, pixel, PREFIX) \
117 (pPix)[x] = (jushort) (pixel)
119 #define UshortIndexedPixelFromArgb(pixel, rgb, pRasInfo) \
123 (pixel) = SurfaceData_InvColorMap((pRasInfo)->invColorTable, \
H A DDrawPolygons.c66 jint pixel, jint transX, jint transY,
83 LineUtils_ProcessLine(pRasInfo, pixel, pLine,
91 LineUtils_ProcessLine(pRasInfo, pixel, pLine,
126 jint pixel = GrPrim_Sg2dGetPixel(env, sg2d); local
211 pixel, transX, transY,
62 ProcessPoly(SurfaceDataRasInfo *pRasInfo, DrawLineFunc *pLine, NativePrimitive *pPrim, CompositeInfo *pCompInfo, jint pixel, jint transX, jint transY, jint *xPointsPtr, jint *yPointsPtr, jint *nPointsPtr, jint numPolys, jboolean close) argument
H A DAnyByteBinary.h91 #define StoreByteBinaryPixel(TYPE, pRas, x, pixel)
93 #define StoreByteBinaryPixelData(TYPE, pPix, x, pixel, PREFIX) \
96 PREFIX ## bbpix |= (pixel << PREFIX ## bits); \
99 #define ByteBinaryPixelFromArgb(TYPE, pixel, rgb, pRasInfo) \
103 (pixel) = SurfaceData_InvColorMap((pRasInfo)->invColorTable, \
283 jint pixel, \
298 Store ## DST ## PixelData(pPix, 0, pixel, DstPix); \
309 jint pixel, NativePrimitive *pPrim, \
329 Store ## DST ## PixelData(pPix, 0, pixel, DstPix); \
340 jint x1, jint y1, jint pixel, \
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dimg_util_md.h69 #define GetPixelRGB(pixel, red, green, blue) \
71 RGBQUAD *cp = AwtImage::PixelColor(pixel); \
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/loops/
H A DFillSpans.java77 int pixel, long pIterator, SpanIterator si);
85 FillSpans(sg2d, dest, sg2d.pixel, si.getNativeIterator(), si);
76 FillSpans(SunGraphics2D sg2d, SurfaceData dest, int pixel, long pIterator, SpanIterator si) argument
H A DMaskFill.java200 int pixel = sg2d.pixel;
201 sg2d.pixel = tmpData.pixelFor(sg2d.getColor());
203 sg2d.pixel = pixel;
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRColor.java85 public void setColorValues(int pixel, boolean pre) { argument
86 long pix = XRUtils.intToULong(pixel);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DEffectUtils.java142 int pixel = srcPixels[offset + subOffset];
145 a += blurFactor * ((pixel >> 24) & 0xFF);
146 r += blurFactor * ((pixel >> 16) & 0xFF);
147 g += blurFactor * ((pixel >> 8) & 0xFF);
148 b += blurFactor * ((pixel) & 0xFF);
195 int pixel = srcPixels[offset + subOffset] & 0xFF;
197 p += blurFactor * pixel;
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
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 DOGLPaints.h36 void OGLPaints_SetColor(OGLContext *oglc, jint pixel);
/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 Dimg_util_md.h89 #define GetPixelRGB(pixel, red, green, blue) \
91 ColorEntry *cp = &awt_Colors[pixel]; \
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DSurfaceData.cpp408 jint pixel = 0; local
412 RETURN_STATUS_IF_NULL(d3dsdo = (D3DSDOps *)jlong_to_ptr(pData), pixel);
413 RETURN_STATUS_IF_NULL(d3dsdo->pResource, pixel);
414 RETURN_STATUS_IF_NULL(pMgr = D3DPipelineManager::GetInstance(), pixel);
418 return pixel;
444 pixel = *(jint*)lRect.pBits;
446 pixel = *(unsigned short*)lRect.pBits;
454 return pixel;
463 (JNIEnv *env, jclass clazz, jlong pData, jint x, jint y, jint pixel)
501 *(jint*)lRect.pBits = pixel;
462 Java_sun_java2d_d3d_D3DSurfaceData_dbSetPixelNative(JNIEnv *env, jclass clazz, jlong pData, jint x, jint y, jint pixel) argument
[all...]
H A DD3DPaints.h35 HRESULT D3DPaints_SetColor(D3DContext *d3dc, jint pixel);
/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DBufferedMaskBlit.c173 jint pixel = pSrc[0]; local
174 if (pathA == 0xff && (pixel >> 24) + 1 == 0) {
175 pBuf[0] = pixel;
178 ExtractIntDcmComponents1234(pixel, a, r, g, b);
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djpegdecoder.c503 int *ip, pixel; local
674 pixel = (*--bp) << 24;
675 pixel |= (*--bp);
676 pixel |= (*--bp) << 8;
677 pixel |= (*--bp) << 16;
678 *--ip = pixel;
684 pixel = (*--bp);
685 pixel |= (*--bp) << 8;
686 pixel |= (*--bp) << 16;
687 *--ip = pixel;
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DGifImageDecoder.java372 // rasline[0] == pixel at coordinate (x,y)
373 // rasline[width] == pixel at coordinate (x+width, y)
383 // rasline[rasbeg] == pixel at coordinate (x2,y)
384 // rasline[width] == pixel at coordinate (x+width, y)
385 // rasline[rasbeg + width] == pixel at coordinate (x2+width, y)
393 // rasline[rasbeg] == pixel at coordinate (x2,y)
394 // rasline[rasend] == pixel at coordinate (x2+width, y)
400 byte pixel = rasline[i];
401 if ((pixel & 0xff) == trans_pixel) {
404 saved_image[off] = pixel;
[all...]
/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/test/sun/java2d/SunGraphics2D/
H A DDrawImageBilinear.java206 int pixel = capture.getRGB(5, 5);
207 if (pixel != 0xffffffff) {

Completed in 71 milliseconds

123456