/openjdk7/jdk/src/solaris/native/sun/awt/utility/ |
H A D | rect.h | 50 int BitmapToYXBandedRectangles(int bitsPerPixel, int width, int height,
|
/openjdk7/jdk/src/windows/native/sun/awt/utility/ |
H A D | rect.h | 50 int BitmapToYXBandedRectangles(int bitsPerPixel, int width, int height,
|
/openjdk7/jdk/src/share/native/sun/awt/utility/ |
H A D | rect.c | 33 * bitsPerPixel must be 32 for now. 36 int BitmapToYXBandedRectangles(int bitsPerPixel, int width, int height, unsigned char * buf, RECT_T * outBuf) argument 41 int widthBytes = width * bitsPerPixel / 8;
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_GraphicsEnv.h | 63 jfieldID bitsPerPixel; member in struct:X11GraphicsConfigIDs
|
H A D | awt_GraphicsEnv.c | 154 x11GraphicsConfigIDs.bitsPerPixel = NULL; 158 x11GraphicsConfigIDs.bitsPerPixel = (*env)->GetFieldID (env, cls, "bitsPerPixel", "I"); 162 x11GraphicsConfigIDs.bitsPerPixel == NULL || 1370 (*env)->SetIntField(env, this, x11GraphicsConfigIDs.bitsPerPixel,
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/ |
H A D | BMPImageWriter.java | 134 meta.bitsPerPixel = (short)imageType.getColorModel().getPixelSize(); 173 int bitsPerPixel = 24; 332 bitsPerPixel = 335 if (bitsPerPixel != 16 && bitsPerPixel != 32) { 338 bitsPerPixel = 32; 345 destScanlineBytes = w * bitsPerPixel + 7 >> 3; 358 if (bitsPerPixel == 16) { 405 bitsPerPixel = 1; 408 bitsPerPixel 762 writePixels(int l, int scanlineBytes, int bitsPerPixel, int pixels[], int padding, int numBands, IndexColorModel icm) argument 1304 writeInfoHeader(int headerSize, int bitsPerPixel) argument [all...] |
H A D | BMPImageReader.java | 117 private int bitsPerPixel; field in class:BMPImageReader 250 bitsPerPixel = iis.readUnsignedShort(); 253 metadata.bitsPerPixel = (short)bitsPerPixel; 264 if (bitsPerPixel == 1) { 266 } else if (bitsPerPixel == 4) { 268 } else if (bitsPerPixel == 8) { 270 } else if (bitsPerPixel == 24) { 318 if (bitsPerPixel == 1) { 320 } else if (bitsPerPixel [all...] |
H A D | BMPMetadata.java | 50 public short bitsPerPixel; field in class:BMPMetadata 135 addChildNode(root, "BitsPerPixel", new Short(bitsPerPixel)); 231 if (bitsPerPixel == 24) 233 else if (bitsPerPixel == 16 || bitsPerPixel == 32) {
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/ |
H A D | GIFImageWriter.java | 703 int bitsPerPixel; 705 bitsPerPixel = getNumBits(globalColorTable.length/3); 708 bitsPerPixel = 711 bitsPerPixel = sampleModel.getSampleSize(0); 713 writeHeader(streamMetadata, bitsPerPixel); 804 int bitsPerPixel = 810 writeImageDescriptor(imageMetadata, bitsPerPixel); 898 int bitsPerPixel = sampleModel.getSampleSize()[0]; 900 int initCodeSize = bitsPerPixel; 1064 int bitsPerPixel, 1057 writeHeader(String version, int logicalScreenWidth, int logicalScreenHeight, int colorResolution, int pixelAspectRatio, int backgroundColorIndex, boolean sortFlag, int bitsPerPixel, byte[] globalColorTable) argument 1102 writeHeader(IIOMetadata streamMetadata, int bitsPerPixel) argument 1247 writeImageDescriptor(int imageLeftPosition, int imageTopPosition, int imageWidth, int imageHeight, boolean interlaceFlag, boolean sortFlag, int bitsPerPixel, byte[] localColorTable) argument 1283 writeImageDescriptor(GIFWritableImageMetadata imageMetadata, int bitsPerPixel) argument [all...] |
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | ImageSurfaceData.h | 58 size_t bitsPerPixel; member in struct:_ImageInfo
|
H A D | CImage.m | 95 bitsPerPixel:32];
|
H A D | CDataTransferer.m | 152 bitsPerPixel:32];
|
H A D | CDragSource.m | 428 hasAlpha:YES isPlanar:NO colorSpaceName:NSCalibratedRGBColorSpace bytesPerRow:0 bitsPerPixel:32];
|
H A D | ImageSurfaceData.m | 142 fprintf(stderr, "\t bitsPerPixel=%ld\n", (long)isdo->imageInfo.bitsPerPixel); 1027 size_t bitsPerPixel = isdo->imageInfo.bitsPerPixel; 1089 CGImageRef javaImg = CGImageCreate(width, height, bitsPerComponent, bitsPerPixel, bytesPerRow, 1129 //fprintf(stderr, "isdo->type=%d, isdo->width=%d, isdo->height=%d, isdo->imageInfo.bitsPerComponent=%d, isdo->imageInfo.bytesPerPixel=%d, isdo->imageInfo.bitsPerPixel=%d, isdo->imageInfo.bytesPerRow=%d, isdo->imageInfo.colorSpace=%p, isdo->imageInfo.alphaInfo=%d\n", 1130 //(jint)isdo->type, (jint)isdo->width, (jint)isdo->height, (jint)isdo->imageInfo.bitsPerComponent, (jint)isdo->imageInfo.bytesPerPixel, (jint)isdo->imageInfo.bitsPerPixel, (jint)isdo->imageInfo.bytesPerRow, isdo->imageInfo.colorSpace, (jint)isdo->imageInfo.alphaInfo);
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Palette.cpp | 251 int bitsPerPixel; local 259 bitsPerPixel = ::GetDeviceCaps(hDC, BITSPIXEL); 261 if (8 != bitsPerPixel) {
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | Raster.java | 802 * @param bitsPerPixel the number of bits for each pixel 823 int bitsPerPixel, 847 new MultiPixelPackedSampleModel(dataType, w, h, bitsPerPixel); 850 (bitsPerPixel == 1 || bitsPerPixel == 2 || bitsPerPixel == 4)) { 821 createPackedRaster(DataBuffer dataBuffer, int w, int h, int bitsPerPixel, Point location) argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/ |
H A D | X11GraphicsConfig.java | 83 protected int bitsPerPixel; field in class:X11GraphicsConfig 170 return bitsPerPixel;
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WPathGraphics.java | 1280 int bitsPerPixel = 24; 1284 bitsPerPixel = csm.getPixelStride() * 8; 1288 bitsPerPixel = mppsm.getPixelBitStride(); 1294 bitsPerPixel = data.length*8/diw/dih; 1316 bitsPerPixel, icm);
|
/openjdk7/jdk/src/macosx/native/sun/awt/splashscreen/ |
H A D | splashscreen_sys.m | 215 bitsPerPixel: 32];
|
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | PNGImageDecoder.java | 332 int bitsPerPixel = samplesPerPixel*bitDepth; 333 int bytesPerPixel = (bitsPerPixel+7)>>3; 350 int rowByteWidth = ((rowPixelWidth*bitsPerPixel)+7)>>3;
|