Searched refs:bands (Results 1 - 25 of 27) sorted by relevance

12

/openjdk7/jdk/make/com/sun/java/pack/
H A DFILES_cpp.gmk26 bands.cpp \
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRegionIterator.java31 * This class defines the API for iterating through the bands
80 range[1] = region.bands[curIndex++];
81 range[3] = region.bands[curIndex++];
82 numXbands = region.bands[curIndex++];
97 range[0] = region.bands[curIndex++];
98 range[2] = region.bands[curIndex++];
H A DRegion.java35 * consists of a number of Y ranges each containing multiple X bands.
48 * bands[rowstart+0] = Y0; // starting Y coordinate
49 * bands[rowstart+1] = Y1; // ending Y coordinate - endY > startY
50 * bands[rowstart+2] = N; // number of X bands - N >= 1
52 * bands[rowstart+3] = X10; // starting X coordinate of first band
53 * bands[rowstart+4] = X11; // ending X coordinate of first band
54 * bands[rowstart+5] = X20; // starting X coordinate of second band
55 * bands[rowstart+6] = X21; // ending X coordinate of second band
57 * bands[rowstar
96 int[] bands; field in class:Region
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/event/
H A DIIOReadUpdateListener.java55 * bands that may be affected is indicated by the value of
56 * <code>bands</code>.
73 * @param bands an array of <code>int</code>s indicating the the
74 * set bands that may be updated.
82 int[] bands);
108 * updated bands (<code>bands</code>). For example, the update:
117 * bands = { 1, 3 }
120 * would indicate that bands 1 and 3 of the following pixels were
142 * @param bands a
76 passStarted(ImageReader source, BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument
145 imageUpdate(ImageReader source, BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
195 thumbnailPassStarted(ImageReader source, BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument
227 thumbnailUpdate(ImageReader source, BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DPixelInterleavedSampleModel.java35 * stores sample data for all bands in a single bank of the
44 * The bands are numbered from 0 to N-1.
60 * The number of bands will be given by the length of the bandOffsets
69 * @param bandOffsets The offsets of all bands.
72 * @throws IllegalArgumentException if any offset between bands is
78 * less than any offset between bands
96 throw new IllegalArgumentException("Offsets between bands must be"+
109 " between bands");
116 * same number of bands, storage data type, and pixel stride
150 * bands o
157 createSubsetSampleModel(int bands[]) argument
[all...]
H A DRaster.java111 * with a subset of the bands of its parent.
161 /** The number of bands in the Raster. */
178 * specified data type, width, height, and number of bands.
194 * @param bands the number of bands
197 * width, height and number of bands.
206 int bands,
208 int[] bandOffsets = new int[bands];
209 for (int i = 0; i < bands; i++) {
212 return createInterleavedRaster(dataType, w, h, w*bands, band
204 createInterleavedRaster(int dataType, int w, int h, int bands, Point location) argument
308 createBandedRaster(int dataType, int w, int h, int bands, Point location) argument
522 createPackedRaster(int dataType, int w, int h, int bands, int bitsPerBand, Point location) argument
[all...]
H A DComponentSampleModel.java44 * Different bands may be in different banks of the DataBuffer.
54 * The bands are numbered from 0 to N-1. This class can represent image
78 /** Offsets for all bands in data array elements. */
85 * The number of bands in this
115 * The number of bands will be given by the length of the bandOffsets array.
116 * All bands will be stored in the first bank of the DataBuffer.
126 * @param bandOffsets the offsets of all bands
175 * The number of bands will be given by the length of the bandOffsets array.
176 * Different bands may be stored in different banks of the DataBuffer.
187 * @param bankIndices the bank indices of all bands
381 createSubsetSampleModel(int bands[]) argument
[all...]
H A DLookupOp.java41 * For Rasters, the lookup operates on bands. The number of
43 * applied to all bands, or it must equal the number of Source
44 * Raster bands.
191 int[] bands = new int[numBands-1];
193 bands[i] = i;
200 bands);
208 int[] bands = new int[numBands-1];
210 bands[i] = i;
217 bands);
240 * number of bands o
[all...]
H A DBandedSampleModel.java55 * The bands are numbered from 0 to N-1.
80 * @param numBands The number of bands for the image data.
92 * The number of bands will be inferred from the lengths of the
118 * number of bands, storage data type, and bank indices
120 * such that the offset between bands will be w*pixelStride and
149 * Creates a new BandedSampleModel with a subset of the bands of this
153 * combination will represent an image with a subset of the bands
155 * @throws RasterFormatException if the number of bands is greater than
160 public SampleModel createSubsetSampleModel(int bands[]) { argument
161 if (bands
[all...]
H A DRescaleOp.java50 * For Rasters, rescaling operates on bands. The number of
52 * are applied to all bands, or it must equal the number of Source
53 * Raster bands.
120 * all bands in a source Raster and to all color (but not alpha)
399 int[] bands = new int[numBands-1];
401 bands[i] = i;
408 bands);
416 int[] bands = new int[numBands-1];
418 bands[i] = i;
425 bands);
[all...]
H A DSinglePixelPackedSampleModel.java53 * required to extract the samples representing the bands of the pixel.
55 * element of the samples representing the bands of the pixel.
68 /** Bit masks for all bands of the image data. */
71 /** Bit Offsets for all bands of the image data. */
74 /** Bit sizes for all the bands of the image data. */
92 * Constructs a SinglePixelPackedSampleModel with bitMasks.length bands.
102 * @param bitMasks The bit masks for all bands.
120 * Constructs a SinglePixelPackedSampleModel with bitMasks.length bands
132 * @param bitMasks The bit masks for all bands.
248 /** Returns the number of bits per sample for all bands
309 createSubsetSampleModel(int bands[]) argument
[all...]
H A DMultiPixelPackedSampleModel.java228 * Returns the number of bits per sample for all bands.
316 * subset of the bands of this
319 * bands argument must have a length of one and indicate the zeroth
321 * @param bands the specified bands
322 * @return a new <code>SampleModel</code> with a subset of bands of
324 * @exception RasterFormatException if the number of bands requested
329 public SampleModel createSubsetSampleModel(int bands[]) { argument
330 if (bands != null) {
331 if (bands
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DSpanClipRenderer.c47 pBandsArrayID = (*env)->GetFieldID(env, rc, "bands", "[I");
81 nextYRange(jint *box, jint *bands, jint endIndex, argument
91 box[1] = bands[curIndex++];
92 box[3] = bands[curIndex++];
93 numXbands = bands[curIndex++];
103 nextXBand(jint *box, jint *bands, jint endIndex, argument
113 box[0] = bands[curIndex++];
114 box[2] = bands[curIndex++];
165 jint *bands; local
213 bands
[all...]
H A DRegion.h71 jobject bands; member in struct:__anon931
H A DRegion.c57 InitField(bandsID, env, reg, "bands", "[I");
79 pRgnInfo->bands = (Region_IsRectangular(pRgnInfo)
105 : (*env)->GetPrimitiveArrayCritical(env, pRgnInfo->bands, 0));
220 (*env)->ReleasePrimitiveArrayCritical(env, pRgnInfo->bands,
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DBufImgOps.cpp200 void *bands[4]; local
213 // and the number of bands involved
240 bands[i] = tableValues;
242 bands[3] = NULL;
246 bands[i] = PtrAddBytes(tableValues, i*bandLength*bytesPerElem);
248 bands[3] = NULL;
252 bands[i] = PtrAddBytes(tableValues, i*bandLength*bytesPerElem);
256 // upload the bands one row at a time into our lookup table texture
264 if (bands[i] == NULL) {
269 memcpy(pDst, bands[
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLBufImgOps.c480 * The LUT texture is currently hardcoded as 4 rows/bands, each containing
631 void *bands[4]; local
644 // and the number of bands involved
700 bands[i] = tableValues;
702 bands[3] = NULL;
706 bands[i] = PtrAddBytes(tableValues, i*bandLength*bytesPerElem);
708 bands[3] = NULL;
712 bands[i] = PtrAddBytes(tableValues, i*bandLength*bytesPerElem);
716 // upload the bands one row at a time into our lookup table texture
718 if (bands[
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DImageReader.java963 * <p> The set of source bands to be read and destination bands to
967 * returned by these methods differ, the set of source bands
969 * index, or the set of destination bands contains an index larger
990 * destination bands specified by
1022 * <p> The set of source bands to be read and destination bands to
1026 * returned by these methods differ, the set of source bands
1028 * index, or the set of destination bands contains an index larger
1053 * destination bands specifie
2199 processPassStarted(BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument
2241 processImageUpdate(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
2302 processThumbnailPassStarted(BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument
2345 processThumbnailUpdate(BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DBandStructure.java53 * Define the structure and ordering of "bands" in a packed file.
68 boolean optDumpBands = p200.getBoolean(Utils.COM_PREFIX+"dump.bands");
69 boolean optDebugBands = p200.getBoolean(Utils.COM_PREFIX+"debug.bands");
348 * and then all the bands are written in their global order.
576 // BYTE1 bands can't vary codings, but the others can.
929 // The usual coding for bands is 7bit/5byte/delta.
1202 Band[] bands = new Band[10]; field in class:BandStructure.MultiBand
1210 return bands[i];
1213 return (Band[]) realloc(bands, bandCount);
1217 assert(bandCount == 0 || notePrevForAssert(b, bands[bandCoun
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/
H A DPNGImageReader.java143 // The number of bands by PNG color type
868 private WritableRaster createRaster(int width, int height, int bands, argument
875 if ((bitDepth < 8) && (bands == 1)) {
886 bands,
887 bandOffsets[bands],
894 bands,
895 bandOffsets[bands],
1021 // Handle source and destination bands
1036 // Determine if all of the relevant output bands have the
1293 // how many bands ar
[all...]
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dunpack.cpp62 #include "bands.h"
1007 // certain bands begin with implicit zeroes
1456 return lo->bands();
1460 // Create bands for this attribute by parsing the layout.
1462 bands_made = 0x10000; // base number for bands made
1473 band** bands = lo->elems; local
1474 assert(bands == lo->bands());
1477 while (bands[num_callables] != null) {
1478 if (bands[num_callable
2257 band** bands = ad.buildBands(lo); local
2465 band** bands = lo->bands(); local
[all...]
H A Dunpack.h267 band** bands() { assert(elems != null); return elems; } function in struct:unpacker::layout_definition
271 int xxx_flags_hi_bn;// locator for flags, count, indexes, calls bands
292 // Locate the five fixed bands.
300 // Register a new layout, and make bands for it.
312 // Read data into the bands of the idx-th layout.
313 void readBandData(int idx); // parse layout, make bands, read data
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/
H A DGIFImageReader.java393 int[] bands = { 0 };
399 bands);
811 int[] bands = { 0 };
821 bands);
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/
H A DBMPImageReader.java75 * It may subsample the image, clip the image, select sub-bands,
158 /** source and destination bands. */
255 // As BMP always has 3 rgb bands, except for Version 5,
616 // The number of bands in the SampleModel is determined by
1684 int[] bands)
1688 periodX, periodY, bands);
1701 int[] bands)
1705 bands);
1715 int[] bands) {}
1721 int[] bands) {}
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKEngine.java597 int[] bands = BAND_OFFSETS[transparency - 1];
599 dataBuffer, w0, h0, w0, bands, null);

Completed in 517 milliseconds

12