Lines Matching defs:data

53     /** Data offsets for each band of image data. */
56 /** Scanline stride of the image data contained in this Raster. */
59 /** The image data array. */
60 byte[][] data;
96 * @param dataBuffer The DataBufferShort that contains the image data.
122 * @param dataBuffer The DataBufferShort that contains the image data.
150 data = new byte[bankIndices.length][];
154 data[i] = stealData(dbb, bankIndices[i]);
167 * Returns a copy of the data offsets array. For each band the data
168 * offset is the index into the band's data array, of the first sample
176 * Returns data offset for the specified band. The data offset
177 * is the index into the band's data array
186 * Returns the scanline stride -- the number of data array elements
203 * Returns a reference to the entire data array.
206 return data;
210 * Returns a reference to the specific band data array.
213 return data[band];
217 * Returns the data elements for all bands at the specified
230 * getTransferType() with the request pixel data.
247 outData[band] = data[band][dataOffsets[band] + off];
254 * Returns an array of data elements from the specified
264 * // To find a data element at location (x2, y2)
277 * getTransferType() with the request pixel data.
295 byte[] bank = data[c];
312 * Returns a byte array of data elements from the specified rectangular
318 * // To find the data element at location (x2, y2)
326 * @param outData If non-null, data elements for all bands
328 * @return Data array with data elements for all bands.
344 System.arraycopy(data[band], yoff, outData, 0, w*h);
348 System.arraycopy(data[band], yoff, outData, off, w);
357 * Returns a byte array of data elements from the specified rectangular
365 * // To find a data element at location (x2, y2)
373 * @param outData If non-null, data elements for all bands
375 * @return Data array with data elements for all bands.
390 byte[] bank = data[c];
408 * Stores the data elements for all bands at the specified location.
417 * containing the pixel data to place at x,y.
428 data[i][dataOffsets[i] + off] = inData[i];
434 * Stores the Raster data at the specified location.
439 * @param inRaster Raster of data to place at x,y location.
456 * Stores the Raster data at the specified location.
465 * @param inRaster Raster of data to place at x,y location.
492 * Stores an array of data elements into the specified rectangular
498 * The data elements in the
499 * data array are assumed to be packed. That is, a data element
510 * containing the pixel data to place between x,y and
524 byte[] bank = data[c];
541 * Stores a byte array of data elements into the specified rectangular
545 * The data elements in the
546 * data array are assumed to be packed. That is, a data element
556 * @param inData The data elements to be stored.
573 System.arraycopy(inData, 0, data[band], yoff, w*h);
576 System.arraycopy(inData, off, data[band], yoff, w);
585 * Stores a byte array of data elements into the specified rectangular
589 * The data elements in the
590 * data array are assumed to be packed. That is, a data element
599 * @param inData The data elements to be stored.
611 byte[] bank = data[c];
710 * width and height, and with new zeroed data arrays.
725 * width and height, and with new zeroed data arrays. If
734 * Verify that the layout parameters are consistent with the data.
735 * Verifies whether the data buffer has enough data for the raster,
758 for (int i = 0; i < data.length; i++) {
759 if (scanlineStride > data[i].length) {
765 // Make sure data for Raster is in a legal range
794 if (data.length == 1) {
795 if (data[0].length <= maxIndex*numDataElements) {
797 "(it is "+data[0].length+
805 if (data[i].length <= maxIndex) {
807 "(it is "+data[i].length+