Searched defs:pixelStride (Results 1 - 15 of 15) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/image/
H A DPixelInterleavedSampleModel.java67 * @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 DComponentSampleModel.java105 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 DRaster.java237 * @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 DByteComponentRaster.java66 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 DIntegerComponentRaster.java78 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...]
H A DShortComponentRaster.java66 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...]
/openjdk7/jdk/src/windows/native/sun/java2d/opengl/
H A DWGLSurfaceData.c590 jint pixelStride = 4; local
591 jint scanStride = pixelStride * w;
616 j2d_glPixelStorei(GL_PACK_ROW_LENGTH, scanStride / pixelStride);
/openjdk7/jdk/src/share/native/sun/java2d/
H A DSurfaceData.h64 * *(pixeltype *) (((char *)rasBase) + y * scanStride + x * pixelStride)
87 * jint pixelStride;
157 jint pixelStride; /* bytes to next X pixel */ member in struct:__anon812
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIWindowSurfaceData.h166 jint pixelStride; // Bytes per pixel member in struct:_GDIWinSDOps
H A DGDIWindowSurfaceData.cpp401 // 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...]
/openjdk7/jdk/src/share/native/sun/awt/image/
H A Dawt_ImageRep.c80 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 Dawt_parseImage.h122 int pixelStride; /* Pixel stride (or pixel bit stride) */ member in struct:__anon674
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DImageData.h100 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
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_p.h140 int pixelStride; /* Used in X11SurfaceData.c */ member in struct:_AwtGraphicsConfigData
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A DimageioJPEG.c1818 int pixelStride; local
2020 pixelStride = stepX*cinfo->output_components;
2031 if (orderedBands && (pixelStride == numBands)) {
2048 in += pixelStride) {
2617 int pixelStride; local
2890 pixelStride = numBands * stepX;
2913 for (; (in < pixelLimit) && (out < scanLineLimit); in += pixelStride) {

Completed in 82 milliseconds