Lines Matching defs:data

39  * data elements stored in close proximity to each other in a integer array.
40 * The bit precision per data element is that
41 * of the data type (that is, the bit precision for this raster is 32).
43 * bands. For a given pixel, all samples fit in N data elements and these
44 * N data elements hold samples for only one pixel. This type of Raster
47 * For example, if there is only one data element per pixel, a
71 /** Data offsets for each band of image data. */
74 /** Scanline stride of the image data contained in this Raster. */
77 /** Pixel stride of the image data contained in this Raster. */
80 /** The image data array. */
81 protected int[] data;
83 /** The number of data elements required to store a pixel. */
129 * @param dataBuffer The DataBufferInt that contains the image data.
158 * @param dataBuffer The DataBufferInt that contains the image data.
181 this.data = stealData(dbi, 0);
216 * Returns a copy of the data offsets array. For each band the data offset
217 * is the index into the band's data array, of the first sample of the
225 * Returns data offset for the specified band. The data offset
226 * is the index into the data array in which the first sample
235 * Returns the scanline stride -- the number of data array elements between
243 * Returns pixel stride -- the number of data array elements between two
251 * Returns a reference to the data array.
254 return data;
258 * Returns the data elements for all bands at the specified
271 * getTransferType() with the request pixel data.
288 outData[band] = data[dataOffsets[band] + off];
296 * Returns an array of data elements from the specified rectangular
306 * // To find a data element at location (x2, y2)
319 * getTransferType() with the request pixel data.
344 outData[off++] = data[dataOffsets[c] + xoff];
354 * Stores the data elements for all bands at the specified location.
363 * containing the pixel data to place at x,y.
377 data[dataOffsets[i] + off] = inData[i];
385 * Stores the Raster data at the specified location.
391 * @param inRaster Raster of data to place at x,y location.
407 * Stores the Raster data at the specified location.
416 * @param inRaster Raster of data to place at x,y location.
455 // Loop through all of the scanlines and copy the data
457 System.arraycopy(tdata, srcOffset, data, dstOffset, width);
476 * Stores an array of data elements into the specified rectangular
482 * The data elements in the
483 * data array are assumed to be packed. That is, a data element
494 * containing the pixel data to place between x,y and
516 data[dataOffsets[c] + xoff] = inData[off++];
608 * width and height, and with new zeroed data arrays.
622 * Creates a raster with the same data layout and the same
623 * width and height, and with new zeroed data arrays. If
632 * Verify that the layout parameters are consistent with the data.
636 * in data buffer. It also verifies whether the data buffer has enough data
640 * or if data buffer has not enough capacity.
660 scanlineStride > data.length)
670 pixelStride > data.length)
698 if (data.length <= maxIndex) {
726 // System.out.print(Integer.toHexString(data[off])+" ");