Searched refs:band (Results 1 - 25 of 31) sorted by relevance

12

/openjdk9/jdk/src/java.desktop/share/classes/sun/java2d/pipe/
H A DSpanClipRenderer.java57 int band[]; field in class:SpanClipRenderer.SCRcontext
63 band = new int[4];
91 int[] band = context.band;
92 band[0] = x;
93 band[1] = y;
94 band[2] = x + w;
95 band[3] = y + h;
108 fillTile(ri, atile, offset, tsize, band);
110 eraseTile(ri, atile, offset, tsize, band);
123 fillTile(RegionIterator ri, byte[] alpha, int offset, int tsize, int[] band) argument
127 eraseTile(RegionIterator ri, byte[] alpha, int offset, int tsize, int[] band) argument
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/image/
H A DRescaleOp.java46 * for each band/component of the pixel {
69 * the rescaling is done per band on the raw data of the BufferedImage source
199 int band;
201 for (band=0; band<scale.length; band++) {
202 float bandScale = scale[band];
203 float bandOff = off[band];
204 byte[] bandLutData = lutData[band];
219 while (band < lutDat
[all...]
H A DLookupOp.java56 * This allows non-uniform rescaling of multi-band BufferedImages.
60 * the lookup is done per band on the raw data of the BufferedImage source
493 int band;
499 for ( band=0; band < numBands; band++, tidx+=step) {
500 // Find data for this band, scanline
501 srcPix = src.getSamples(0, y, width, 1, band, srcPix);
517 dst.setSamples(0, y, width, 1, band, srcPix);
525 int band;
[all...]
H A DPackedColorModel.java366 * associated with this {@code ColorModel} store the alpha band,
367 * if present, as the last band of image data. Returns {@code null}
382 int[] band = new int[1];
383 band[0] = raster.getNumBands() - 1;
386 band);
H A DSinglePixelPackedSampleModel.java58 * representing band {@code b} for pixel {@code x,y}
253 /** Returns the number of bits per sample for the specified band. */
254 public int getSampleSize(int band) { argument
255 return bitSizes[band];
496 * Returns as int the sample in a specified band for the pixel
502 * @param b The band to return.
504 * @return the sample in a specified band for the specified
519 * Returns the samples for a specified band for the specified rectangle
527 * @param b The band to return.
530 * @return the samples for the specified band fo
[all...]
/openjdk9/jdk/src/jdk.pack/share/native/common-unpack/
H A Dunpack.h28 struct band;
231 band* all_bands; // indexed by band_number
278 band** elems; // array of top-level layout elems (or callables)
281 band** bands() { assert(elems != null); return elems; }
307 band& xxx_flags_hi();
308 band& xxx_flags_lo();
309 band& xxx_attr_count();
310 band& xxx_attr_indexes();
311 band& xxx_attr_calls();
312 band
[all...]
H A Dbands.cpp46 inline void band::abort(const char* msg) { u->abort(msg); }
47 inline bool band::aborting() { return u->aborting(); }
49 void band::readData(int expectedLength) {
69 // Make a conservatively generous estimate of band size in bytes.
82 // must have already read from previous band:
85 || endsWith(name, "_lo") // preceded by _hi conditional band
86 || bn == e_file_options // preceded by conditional band
125 // Scribble the initial byte onto the band.
139 (name?name:"(band)"), minRP(), length, size(), cp1, cp2));
144 band save
[all...]
H A Dbands.h31 struct band { struct
33 int bn; // band_number of this band
43 byte* rplimit; // end of band (encoded, transmitted)
54 band** le_body; // body of repl, union, call (null-terminated)
58 band& nextBand() { return this[1]; }
59 band& prevBand() { return this[-1]; }
87 // Parse the band and its meta-coding header.
90 // Reset the band for another pass (Cf. Java Band.resetForSecondPass.)
107 jlong getLong(band& lo_band, bool have_hi);
116 static band* makeBand
[all...]
H A Dunpack.cpp710 julong x = band::makeLong(hi, lo);
888 abort("EOF reading band headers");
896 // Start scanning band headers here:
901 // Put evil meta-codes at the end of the band headers,
1074 // First band: Read lengths of shared prefixes.
1079 // Second band: Read lengths of unshared suffixes:
1091 // Third band: Read the char values in the unshared suffixes:
1142 // Fourth band: Go back and size the specially packed strings.
1168 // Fifth band(s): Get the specially packed characters.
1179 band saved_ban
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/sun/awt/image/
H A DShortBandedRaster.java38 * samples stored in separate arrays for each band. Operations on
39 * sets of pixels are performed on a given band of each pixel
40 * in the set before moving on to the next band. The arrays used
50 /** Data offsets for each band of image data. */
157 * Returns a copy of the data offsets array. For each band the data offset
158 * is the index into the band's data array, of the first sample of the
159 * band.
166 * Returns the data offset for the specified band. The data offset
167 * is the index into the band's data array
169 * @param band Th
171 getDataOffset(int band) argument
202 getDataStorage(int band) argument
319 getShortData(int x, int y, int w, int h, int band, short[] outData) argument
550 putShortData(int x, int y, int w, int h, int band, short[] inData) argument
[all...]
H A DByteBandedRaster.java38 * 8-bit samples stored in possibly separate arrays for each band.
39 * Operations on sets of pixels are performed on a given band in the
40 * Raster before moving on to the next band. The arrays used for
42 * Each band additionally has an offset that is added to determine the
52 /** Data offsets for each band of image data. */
160 * Returns a copy of the data offsets array. For each band the data
161 * offset is the index into the band's data array, of the first sample
162 * of the band.
169 * Returns data offset for the specified band. The data offset
170 * is the index into the band'
174 getDataOffset(int band) argument
205 getDataStorage(int band) argument
323 getByteData(int x, int y, int w, int h, int band, byte[] outData) argument
551 putByteData(int x, int y, int w, int h, int band, byte[] inData) argument
[all...]
H A DShortInterleavedRaster.java46 * IndexColorModel if there is only one band.
165 " or 1 band ComponentSampleModel. Sample model is "+
173 * Returns a copy of the data offsets array. For each band the data offset
174 * is the index into the band's data array, of the first sample of the
175 * band.
182 * Returns the data offset for the specified band. The data offset
185 * @param band The band whose offset is returned.
187 public int getDataOffset(int band) { argument
188 return dataOffsets[band];
329 getShortData(int x, int y, int w, int h, int band, short[] outData) argument
572 putShortData(int x, int y, int w, int h, int band, short[] inData) argument
[all...]
H A DShortComponentRaster.java45 * IndexColorModel if there is only one band.
55 /** private band offset for use by native code */
58 /** Data offsets for each band of image data. */
199 * Returns a copy of the data offsets array. For each band the data offset
200 * is the index into the band's data array, of the first sample of the
201 * band.
208 * Returns the data offset for the specified band. The data offset
211 * @param band The band whose offset is returned.
213 public int getDataOffset(int band) { argument
355 getShortData(int x, int y, int w, int h, int band, short[] outData) argument
599 putShortData(int x, int y, int w, int h, int band, short[] inData) argument
[all...]
H A DByteComponentRaster.java46 * IndexColorModel if there is only one band.
55 /** private band offset for use by native code */
58 /** Data offsets for each band of image data. */
200 * Returns a copy of the data offsets array. For each band the data offset
201 * is the index into the band's data array, of the first sample of the
202 * band.
209 * Returns the data offset for the specified band. The data offset
212 * @param band The band whose offset is returned.
214 public int getDataOffset(int band) { argument
357 getByteData(int x, int y, int w, int h, int band, byte[] outData) argument
639 putByteData(int x, int y, int w, int h, int band, byte[] inData) argument
[all...]
H A DIntegerComponentRaster.java67 /** private band offset for use by native code */
70 /** Data offsets for each band of image data. */
212 * Returns a copy of the data offsets array. For each band the data offset
213 * is the index into the band's data array, of the first sample of the
214 * band.
221 * Returns data offset for the specified band. The data offset
225 public int getDataOffset(int band) { argument
226 return dataOffsets[band];
240 * samples for the same band on the same scanline.
283 for (int band
[all...]
H A DByteInterleavedRaster.java47 * bands, or an IndexColorModel if there is only one band.
147 // Determine range of band offsets
252 * Returns a copy of the data offsets array. For each band the data offset
253 * is the index into the band's data array, of the first sample of the
254 * band.
261 * Returns the data offset for the specified band. The data offset
264 * @param band The band whose offset is returned.
266 public int getDataOffset(int band) { argument
267 return dataOffsets[band];
381 getByteData(int x, int y, int w, int h, int band, byte[] outData) argument
691 putByteData(int x, int y, int w, int h, int band, byte[] inData) argument
[all...]
H A DIntegerInterleavedRaster.java155 * Returns a copy of the data offsets array. For each band the data offset
156 * is the index into the band's data array, of the first sample of the
157 * band.
164 * Returns data offset for the specified band. The data offset
168 public int getDataOffset(int band) { argument
169 return dataOffsets[band];
183 * samples for the same band on the same scanline.
401 * for the nth band at location (x2, y2) would be found at:
448 * @param bandList Array of band indices.
502 * @param bandList Array of band indice
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/javax/imageio/
H A DImageReadParam.java256 * <p> Choosing a destination band subset will not affect the
267 * band index has been specified, or if the number of source bands
272 * @param destinationBands an array of integer band indices to be
288 int band = destinationBands[i];
289 if (band < 0) {
293 if (band == destinationBands[j]) {
294 throw new IllegalArgumentException("Duplicate band value!");
303 * Returns the set of band indices where data will be placed.
H A DIIOParam.java404 * source band index has been specified or if the number of source
413 * @param sourceBands an array of integer band indices to be
429 int band = sourceBands[i];
430 if (band < 0) {
434 if (band == sourceBands[j]) {
435 throw new IllegalArgumentException("Duplicate band value!");
H A DImageTypeSpecifier.java372 * offsets for each band.
524 * bank in which each band will be stored.
526 * starting offset of each band within its bank.
989 * Return the number of bits used to represent samples of the given band.
991 * @param band the index of the band to be queried, as an
996 * @exception IllegalArgumentException if {@code band} is
997 * negative or greater than the largest band index.
999 public int getBitsPerBand(int band) { argument
1000 if (band <
[all...]
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/
H A DJExpressionImpl.java93 public final JExpression band(JExpression right) { method in class:JExpressionImpl
94 return JOp.band(this, right);
H A DJExpression.java110 JExpression band(JExpression right); method in interface:JExpression
H A DJOp.java168 public static JExpression band(JExpression left, JExpression right) { method in class:JOp
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/tiff/
H A DTIFFImageReader.java1002 "Source band out of range!");
1007 "Destination band out of range!");
1020 private void decodeTile(int ti, int tj, int band) throws IOException { argument
1110 tileIndex += band * tilesAcross * tilesDown;
1116 decompressor.setPlanarBand(band);
1323 for (int band = 0; band < numBands; band++) {
1324 sb[0] = sourceBands[band];
1326 db[0] = destinationBands[band];
[all...]
H A DTIFFDecompressor.java159 * The planar band to decode; ignored for chunky (interleaved) images.
430 * it will have ascending band offsets as {0, 1, 2, ..., numBands}.
473 private static int createMask(int[] bitsPerSample, int band) { argument
474 int mask = (1 << bitsPerSample[band]) - 1;
475 for (int i = band + 1; i < bitsPerSample.length; i++) {
989 // Packed: 3- or 4-band, 8- or 16-bit.
1322 * Sets the index of the planar configuration band to be decoded. This value
1325 * @param planarBand the index of the planar band to decode
2192 // per band to perform the conversion
2242 // Determine whether source and destination band list
[all...]

Completed in 279 milliseconds

12