Searched refs:pixel (Results 26 - 50 of 139) sorted by relevance

123456

/openjdk7/jdk/src/share/classes/java/awt/image/
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...]
H A DBandCombineOp.java44 * end of the vector of band samples representing a pixel. The height
48 * transformation applied to each pixel in order to invert the second band of
71 * 1 at the end of the vector of band samples representing a pixel. The
158 int[] pixel = null;
172 pixel = src.getPixel(sX, sY, pixel);
176 accum += matrix[r][c]*pixel[c];
190 pixel = src.getPixel(sX, sY, pixel);
194 accum += matrix[r][c]*pixel[
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DUshort4444Argb.h66 #define Ushort4444ArgbPixelFromArgb(pixel, rgb, pRasInfo) \
67 (pixel) = IntArgbToUshort4444Argb(rgb)
69 #define StoreUshort4444ArgbPixel(pRas, x, pixel) \
70 ((pRas)[x] = (jushort) (pixel))
72 #define StoreUshort4444ArgbPixelData(pPix, x, pixel, PREFIX)
76 jushort pixel = (pRas)[x]; \
77 (r) = ((pixel) >> 8) & 0xf; \
79 (g) = ((pixel) >> 4) & 0xf; \
81 (b) = ((pixel) >> 0) & 0xf; \
87 jushort pixel
[all...]
H A DUshort555Rgb.h68 #define Ushort555RgbPixelFromArgb(pixel, rgb, pRasInfo) \
69 (pixel) = IntArgbToUshort555Rgb(rgb)
71 #define StoreUshort555RgbPixel(pRas, x, pixel) \
72 ((pRas)[x] = (jushort) (pixel))
74 #define StoreUshort555RgbPixelData(pPix, x, pixel, PREFIX) \
75 StoreUshort555RgbPixel(pPix, x, pixel)
80 jushort pixel = (pRas)[x]; \
81 (r) = ((pixel) >> 10) & 0x1f; \
83 (g) = ((pixel) >> 5) & 0x1f; \
85 (b) = ((pixel) >>
[all...]
H A DUshort565Rgb.h68 #define Ushort565RgbPixelFromArgb(pixel, rgb, pRasInfo) \
69 (pixel) = IntArgbToUshort565Rgb(rgb)
71 #define StoreUshort565RgbPixel(pRas, x, pixel) \
72 ((pRas)[x] = (jushort) (pixel))
74 #define StoreUshort565RgbPixelData(pPix, x, pixel, PREFIX) \
75 StoreUshort565RgbPixel(pPix, x, pixel)
80 jushort pixel = (pRas)[x]; \
81 (r) = ((pixel) >> 11) & 0x1f; \
83 (g) = ((pixel) >> 5) & 0x3f; \
85 (b) = ((pixel) >>
[all...]
H A DIntArgbPre.h54 #define IntArgbPrePixelFromArgb(pixel, rgb, pRasInfo) \
57 (pixel) = (rgb); \
64 (pixel) = ComposeIntDcmComponents1234(a, r, g, b); \
68 #define StoreIntArgbPrePixel(pRas, x, pixel) \
69 (pRas)[x] = (pixel)
75 #define StoreIntArgbPrePixelData(pPix, x, pixel, PREFIX) \
76 (pPix)[x] = (pixel)
88 jint pixel = (pRas)[x]; \
89 jint a = ((juint) pixel) >> 24; \
91 (argb) = pixel; \
[all...]
H A DIntRgb.h55 #define IntRgbPixelFromArgb(pixel, rgb, pRasInfo) \
56 (pixel) = (rgb)
58 #define StoreIntRgbPixel(pRas, x, pixel) \
59 (pRas)[x] = (pixel)
65 #define StoreIntRgbPixelData(pPix, x, pixel, PREFIX) \
66 StoreIntRgbPixel(pPix, x, pixel)
77 jint pixel = (pRas)[x]; \
78 ExtractIntDcmComponentsX123(pixel, r, g, b); \
H A DIntRgbx.h58 #define IntRgbxPixelFromArgb(pixel, rgb, pRasInfo) \
59 (pixel) = (rgb << 8)
61 #define StoreIntRgbxPixel(pRas, x, pixel) \
62 (pRas)[x] = (pixel)
68 #define StoreIntRgbxPixelData(pPix, x, pixel, PREFIX) \
69 (pPix)[x] = (pixel)
80 jint pixel = (pRas)[x]; \
81 ExtractIntDcmComponents123X(pixel, r, g, b); \
H A DThreeByteBgr.h52 #define ThreeByteBgrPixelFromArgb(pixel, rgb, pRasInfo) \
53 (pixel) = (rgb)
55 #define StoreThreeByteBgrPixel(pRas, x, pixel) \
57 (pRas)[3*(x)+0] = (jubyte) ((pixel) >> 0); \
58 (pRas)[3*(x)+1] = (jubyte) ((pixel) >> 8); \
59 (pRas)[3*(x)+2] = (jubyte) ((pixel) >> 16); \
72 #define StoreThreeByteBgrPixelData(pPix, x, pixel, PREFIX) \
H A DByteBinary1Bit.h71 #define StoreByteBinary1BitPixel(pRas, x, pixel) \
72 StoreByteBinaryPixel(ByteBinary1Bit, pRas, x, pixel)
74 #define StoreByteBinary1BitPixelData(pPix, x, pixel, PREFIX) \
75 StoreByteBinaryPixelData(ByteBinary1Bit, pPix, x, pixel, PREFIX)
77 #define ByteBinary1BitPixelFromArgb(pixel, rgb, pRasInfo) \
78 ByteBinaryPixelFromArgb(ByteBinary1Bit, pixel, rgb, pRasInfo)
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A Dimg_scaleloop.h51 unsigned int pixel; local
73 ColSetup(srcTotalWidth, dstTotalWidth, pixel);
74 PixelDecode(colormodel, pixel, red, green, blue, alpha);
76 DitherPixel(DSTX, DSTY, pixel, red, green, blue);
77 PutPixelInc(pixel, red, green, blue);
H A Dimg_input8_32.h31 * array of bytes or longs where the data for pixel (srcX, srcY) is
79 #define VerifyPixelRange(pixel, mapsize) \
81 if (((unsigned int) pixel) >= mapsize) { \
H A Dimg_ordclrsgn.h81 #define ColorDitherPixel(dstX, dstY, pixel, red, green, blue) \
89 pixel = ColorCubeOrdMapSgn(red, green, blue); \
H A Dimg_ordclruns.h94 * intensity thereby causing an occasionaly dark pixel when rendering
104 #define ColorDitherPixel(dstX, dstY, pixel, red, green, blue) \
124 pixel = ColorCubeOrdMapUns(red, green, blue); \
H A Dimg_ordgray.h80 #define GrayDitherPixel(dstX, dstY, pixel, red, green, blue) \
85 pixel = img_grays[img_bwgamma[green]]; \
H A Dimg_output16.h31 * shorts such that the pixel for (srcX, srcY) is stored at index
47 #define PutPixelInc(pixel, red, green, blue) \
48 *dstP.sp++ = ((unsigned short) pixel)
H A Dimg_output32.h31 * longs such that the pixel for (srcX, srcY) is stored at index
47 #define PutPixelInc(pixel, red, green, blue) \
48 *dstP.ip++ = pixel
H A Dimg_output8.h31 * such that the pixel for (srcX, srcY) is stored at index
45 #define PutPixelInc(pixel, red, green, blue) \
46 *dstP.bp++ = ((unsigned char) pixel)
H A Dimg_fsgray.h97 #define GrayDitherPixel(dstX, dstY, pixel, red, green, blue) \
110 /* Store the closest color in the destination pixel */ \
112 pixel = img_grays[e2]; \
113 GetPixelRGB(pixel, red, green, blue); \
H A Dimg_output8_16_24.h31 * of bytes or shorts such that the pixel for (srcX, srcY) is stored at
35 * as three consecutive bytes such that the pixel for (srcX, srcY) is
61 #define PutPixelInc(pixel, red, green, blue) \
65 *dstP.bp++ = ((unsigned char) pixel); \
68 *dstP.sp++ = ((unsigned short) pixel); \
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Djava2d_Mlib.c64 dst_ptr[index] = pixel##chan
73 jint hiy, jint pixel, \
87 EXTRACT_CONST_##NCHAN(pixel); \
93 STORE_CONST_##NCHAN(c_arr, pixel); \
110 dst_ptr[index] ^= pixel##chan
115 jint hiy, jint pixel, \
128 pixel = (pixel ^ xorpixel) &~ alphamask; \
133 EXTRACT_CONST_##NCHAN(pixel); \
139 STORE_CONST_##NCHAN(c_arr, pixel); \
[all...]
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/solaris/native/sun/awt/
H A Drobot_common.c60 colors[i].pixel = i ;
87 if( (uint32_t)i <= redMask) colors[i].pixel = (i<<redShift) ;
88 if( (uint32_t)i <= greenMask) colors[i].pixel |= (i<<greenShift) ;
89 if( (uint32_t)i <= blueMask) colors[i].pixel |= (i<<blueShift) ;
92 colors[i].pixel = (i<<redShift)|(i<<greenShift)|(i<<blueShift);
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DImageSurfaceData.m229 register Pixel32bit pixel, red, blue;
236 pixel = *pixelsSrc++;
239 pixel = CFSwapInt32BigToHost(pixel); // the jint is in big endian format, we need to swap the bits
242 red = (pixel & 0x00ff0000) >> 16; // get original red and shift to new position
243 blue = (pixel & 0x000000ff) << 16; // get original blue and shift to new position
245 pixel = (pixel & 0xff00ff00); // erase original red&blue
247 pixel = pixel | re
[all...]

Completed in 82 milliseconds

123456