/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | PixelInterleavedSampleModel.java | 67 * @param pixelStride The pixel stride of the image data. 75 * <code>pixelStride</code> and <code>w</code> is greater 77 * @throws IllegalArgumentException if <code>pixelStride</code> is 84 int pixelStride, 87 super(dataType, w, h, pixelStride, scanlineStride, bandOffsets); 100 if (pixelStride*w > scanlineStride) { 106 if (pixelStride < maxBandOff) { 144 return new PixelInterleavedSampleModel(dataType, w, h, pixelStride, 145 pixelStride*w, bandOff); 163 this.pixelStride, 82 PixelInterleavedSampleModel(int dataType, int w, int h, int pixelStride, int scanlineStride, int bandOffsets[]) argument [all...] |
H A D | ComponentSampleModel.java | 105 protected int pixelStride; field in class:ComponentSampleModel 122 * @param pixelStride the pixel stride of the region of image 129 * @throws IllegalArgumentException if <code>pixelStride</code> 143 int pixelStride, 148 this.pixelStride = pixelStride; 152 if (pixelStride < 0) { 183 * @param pixelStride the pixel stride of the region of image 191 * @throws IllegalArgumentException if <code>pixelStride</code> 205 int pixelStride, 141 ComponentSampleModel(int dataType, int w, int h, int pixelStride, int scanlineStride, int bandOffsets[]) argument 203 ComponentSampleModel(int dataType, int w, int h, int pixelStride, int scanlineStride, int bankIndices[], int bandOffsets[]) argument [all...] |
H A D | Raster.java | 237 * @param pixelStride the pixel stride of the image data 256 int pixelStride, 262 pixelStride * w; // last scan 279 pixelStride, bandOffsets, location); 608 * @param pixelStride the pixel stride of the image data 630 int pixelStride, 643 pixelStride, 253 createInterleavedRaster(int dataType, int w, int h, int scanlineStride, int pixelStride, int bandOffsets[], Point location) argument 627 createInterleavedRaster(DataBuffer dataBuffer, int w, int h, int scanlineStride, int pixelStride, int bandOffsets[], Point location) argument
|
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ByteInterleavedRaster.java | 53 /** True if the data offsets range from 0 to (pixelStride - 1) in order. */ 57 * The DataBuffer offset, minus sampleModelTranslateX*pixelStride, 126 * of less than pixelStride. 210 this.pixelStride = csm.getPixelStride(); 213 dataOffsets[i] += xOffset*pixelStride+yOffset*scanlineStride; 222 this.pixelStride = 1; 225 dataOffsets[0] += xOffset*pixelStride+yOffset*scanlineStride; 236 sampleModelTranslateX*pixelStride; 238 (xOffset*pixelStride+yOffset*scanlineStride); 243 if (numDataElements == pixelStride) { [all...] |
H A D | ByteComponentRaster.java | 66 protected int pixelStride; field in class:ByteComponentRaster 176 this.pixelStride = ism.getPixelStride(); 182 xOffset*pixelStride+yOffset*scanlineStride; 189 this.pixelStride = 1; 194 dataOffsets[0] += xOffset*pixelStride+yOffset*scanlineStride; 237 return pixelStride; 276 (x-minX)*pixelStride; 325 (x-minX)*pixelStride; 333 for (xstart=0; xstart < w; xstart++, xoff += pixelStride) { 374 (x-minX)*pixelStride [all...] |
H A D | ShortInterleavedRaster.java | 150 this.pixelStride = csm.getPixelStride(); 155 dataOffsets[i] += xOffset*pixelStride+yOffset*scanlineStride; 161 this.pixelStride = 1; 209 return pixelStride; 248 (x-minX)*pixelStride; 296 (x-minX)*pixelStride; 305 for (xstart=0; xstart < w; xstart++, xoff += pixelStride) { 346 (x-minX)*pixelStride+ dataOffsets[band]; 352 if (pixelStride == 1) { 366 for (xstart=0; xstart < w; xstart++, xoff += pixelStride) { [all...] |
H A D | ShortComponentRaster.java | 66 protected int pixelStride; field in class:ShortComponentRaster 176 this.pixelStride = csm.getPixelStride(); 182 xOffset*pixelStride+yOffset*scanlineStride; 189 this.pixelStride = 1; 236 return pixelStride; 275 (x-minX)*pixelStride; 323 (x-minX)*pixelStride; 332 for (xstart=0; xstart < w; xstart++, xoff += pixelStride) { 373 (x-minX)*pixelStride+ dataOffsets[band]; 379 if (pixelStride [all...] |
H A D | IntegerComponentRaster.java | 78 protected int pixelStride; field in class:IntegerComponentRaster 198 this.pixelStride = 1; 247 return pixelStride; 286 (x-minX)*pixelStride; 334 (x-minX)*pixelStride; 342 for (xstart=0; xstart < w; xstart++, xoff += pixelStride) { 374 (x-minX)*pixelStride; 433 (pixelStride == 1) && (numDataElements == 1)) { 452 if (ict.getPixelStride() == pixelStride) { 453 width *= pixelStride; [all...] |
/openjdk7/jdk/src/share/native/sun/awt/image/ |
H A D | DataBufferNative.c | 54 (x * lockInfo->pixelStride + y * lockInfo->scanStride)); 83 switch (lockInfo.pixelStride) { 125 switch (lockInfo.pixelStride) {
|
H A D | awt_ImageRep.c | 80 int poffset = (xx) * pixelStride; \ 127 int pixelStride; local 150 pixelStride = (*env)->GetIntField(env, jict, g_ICRpixstrID); 183 CHECK_STRIDE(x, w, pixelStride); 213 dstyP = dstData + dstDataOff + y*sStride + x*pixelStride; 218 for (xIdx = 0; xIdx < w; xIdx++, dstP+=pixelStride) { 244 int pixelStride; local 283 pixelStride =(*env)->GetIntField(env, jbct, g_BCRpixstrID); 305 CHECK_STRIDE(x, w, pixelStride); 368 ydataP = dstData + dstDataOff + y*sStride + x*pixelStride; [all...] |
H A D | awt_parseImage.c | 132 if (!SAFE_TO_MULT(rasterP->width, rasterP->pixelStride)) { 137 lastPixelOffset = (rasterP->width - 1) * rasterP->pixelStride; 273 rasterP->pixelStride = (*env)->GetIntField(env, jraster, g_ICRpixstrID); 285 rasterP->pixelStride = (*env)->GetIntField(env, jraster, g_BCRpixstrID); 297 rasterP->pixelStride = (*env)->GetIntField(env, jraster, g_SCRpixstrID); 306 rasterP->pixelStride = (*env)->GetIntField(env, jraster, g_BPRpixstrID); 333 rasterP->pixelStride <= 0 || rasterP->scanlineStride <= 0) 388 fprintf(stderr,"PS : %d\n",rasterP->pixelStride); 632 hintP->pStride = rasterP->pixelStride*rasterP->dataSize; 647 hintP->pStride = rasterP->pixelStride*raster [all...] |
H A D | awt_parseImage.h | 122 int pixelStride; /* Pixel stride (or pixel bit stride) */ member in struct:__anon674
|
/openjdk7/jdk/src/windows/native/sun/java2d/windows/ |
H A D | GDIBlitLoops.cpp | 124 srcInfo.pixelStride * srcx; 132 bmi.bmiHeader.biWidth = srcInfo.scanStride/srcInfo.pixelStride; 137 bmi.bmiHeader.biBitCount = (WORD)srcInfo.pixelStride * 8; 144 bmi.bmiHeader.biCompression = (srcInfo.pixelStride != 2) 147 srcInfo.pixelStride); 152 if (srcInfo.pixelStride == 1) { 179 } else if (srcInfo.pixelStride == 2) {
|
H A D | GDIWindowSurfaceData.cpp | 401 // Init the DIB pixelStride and pixel masks according to 407 wsdo->pixelStride = 1; 410 wsdo->pixelStride = 2; 413 wsdo->pixelStride = 2; 416 wsdo->pixelStride = 3; 419 wsdo->pixelStride = 4; 762 int pixelStride = wsdo->pixelStride; local 784 if (pixelStride == 1 || !wsdo->bitmap || (w > wsdo->bmWidth) || 805 bmi.bmiHeader.biBitCount = pixelStride * [all...] |
H A D | GDIWindowSurfaceData.h | 166 jint pixelStride; // Bytes per pixel member in struct:_GDIWinSDOps
|
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | ImageData.h | 100 unsigned int pixelStride; member in struct:ImageDataIntLockInfo 114 unsigned int pixelStride; member in struct:ImageDataShortLockInfo 128 unsigned int pixelStride; member in struct:ImageDataByteLockInfo 142 unsigned int pixelStride; member in struct:ImageDataShortIndexedLockInfo 161 unsigned int pixelStride; member in struct:ImageDataByteIndexedLockInfo 184 unsigned int pixelStride; member in struct:ImageDataIndex8GrayLockInfo 209 unsigned int pixelStride; member in struct:ImageDataIndex12GrayLockInfo 235 unsigned int pixelStride; member in struct:ImageDataBitLockInfo
|
H A D | Blit.c | 105 srcx + span.x1, srcInfo.pixelStride, 108 span.x1, dstInfo.pixelStride,
|
H A D | BlitBg.c | 109 srcx + span.x1, srcInfo.pixelStride, 112 span.x1, dstInfo.pixelStride,
|
H A D | MaskBlit.c | 104 srcx + span.x1, srcInfo.pixelStride, 107 span.x1, dstInfo.pixelStride,
|
H A D | MaskFill.c | 81 rasInfo.bounds.x1, rasInfo.pixelStride, 177 pMid = PtrAddBytes(pMid, pRasInfo->pixelStride); 189 pMid = PtrCoord(pMid, midw, pRasInfo->pixelStride, 0, 0); 617 pRow = PtrCoord(pDst, x-moff, pRasInfo->pixelStride, 0, 0); 631 pRow = PtrCoord(pDst, x, pRasInfo->pixelStride, 0, 0); 653 void *pRow = PtrCoord(pDst, x-moff, pRasInfo->pixelStride, 0, 0); 741 ix1, rasInfo.pixelStride, 872 pRow = PtrCoord(pDst, x-moff, pRasInfo->pixelStride, 0, 0); 887 pRow = PtrCoord(pDst, x, pRasInfo->pixelStride, 0, 0); 910 void *pRow = PtrCoord(pDst, x-moff, pRasInfo->pixelStride, [all...] |
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | PrinterSurfaceData.m | 140 pRasInfo->pixelStride = 4; // ARGB 141 pRasInfo->scanStride = psdo->width * pRasInfo->pixelStride; 149 pRasInfo->pixelStride = 0;
|
/openjdk7/jdk/src/share/native/sun/java2d/pipe/ |
H A D | BufferedMaskBlit.c | 117 jint srcPixelStride = srcInfo.pixelStride; 120 srcInfo.bounds.x1, srcInfo.pixelStride,
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/ |
H A D | ImageUtil.java | 987 int pixelStride = csm.getPixelStride(); 991 if (pixelStride > 0) 992 size += pixelStride * (sm.getWidth() - 1); 1017 int pixelStride = csm.getPixelStride(); 1019 long size = Math.min(pixelStride, scanlineStride); 1021 if (pixelStride > 0) 1022 size += pixelStride * (sm.getWidth() - 1);
|
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DBlitLoops.cpp | 159 dstx, pDstInfo->pixelStride, 164 srcInfo.pixelStride = 4; 170 srcInfo.pixelStride = 4; 176 srcInfo.pixelStride = 4; 182 srcInfo.pixelStride = 2; 188 srcInfo.pixelStride = 2; 246 dstInfo.pixelStride = 4; 249 srcx, pSrcInfo->pixelStride, 252 dstx, dstInfo.pixelStride,
|
/openjdk7/jdk/src/windows/native/sun/java2d/opengl/ |
H A D | WGLSurfaceData.c | 590 jint pixelStride = 4; local 591 jint scanStride = pixelStride * w; 616 j2d_glPixelStorei(GL_PACK_ROW_LENGTH, scanStride / pixelStride);
|