Lines Matching defs:data

40  * data elements stored in close proximity to each other in a single byte
42 * The bit precision per data element is that
43 * of the data type (that is, the bit precision for this Raster is 8).
49 * For example, 3-3-2 RGB image data can be represented by a
59 /** Data offsets for each band of image data. */
62 /** Scanline stride of the image data contained in this Raster. */
65 /** Pixel stride of the image data contained in this Raster. */
68 /** The image data array. */
69 protected byte[] data;
114 * @param dataBuffer The DataBufferShort that contains the image data.
144 * @param dataBuffer The DataBufferShort that contains the image data.
164 this.data = stealData(dbb, 0);
205 * Returns a copy of the data offsets array. For each band the data offset
206 * is the index into the band's data array, of the first sample of the
214 * Returns the data offset for the specified band. The data offset
215 * is the index into the data array
224 * Returns the scanline stride -- the number of data array elements between
233 * Returns pixel stride -- the number of data array elements between two
241 * Returns a reference to the data array.
244 return data;
248 * Returns the data elements for all bands at the specified
261 * getTransferType() with the request pixel data.
279 outData[band] = data[dataOffsets[band] + off];
286 * Returns an array of data elements from the specified rectangular
296 * // To find a data element at location (x2, y2)
309 * getTransferType() with the request pixel data.
335 outData[off++] = data[dataOffsets[c] + xoff];
344 * Returns a byte array of data elements from the specified rectangular
350 * // To find the data element at location (x2, y2)
358 * @param outData If non-null, data elements for all bands
360 * @return Data array with data elements for all bands.
382 System.arraycopy(data, yoff, outData, 0, w*h);
386 System.arraycopy(data, yoff, outData, off, w);
395 outData[off++] = data[xoff];
404 * Returns a byte array of data elements from the specified rectangular
412 * // To find a data element at location (x2, y2)
420 * @param outData If non-null, data elements for all bands
422 * @return Data array with data elements for all bands.
445 outData[off++] = data[dataOffsets[c] + xoff];
454 * Stores the data elements for all bands at the specified location.
463 * containing the pixel data to place at x,y.
476 data[dataOffsets[i] + off] = inData[i];
483 * Stores the Raster data at the specified location.
488 * @param inRaster Raster of data to place at x,y location.
505 * Stores the Raster data at the specified location.
514 * @param inRaster Raster of data to place at x,y location.
545 data, dstOffset, width);
564 * Stores an array of data elements into the specified rectangular
570 * The data elements in the
571 * data array are assumed to be packed. That is, a data element
582 * containing the pixel data to place between x,y and
605 data, dstOffset, w);
618 data[dataOffsets[c] + xoff] = inData[off++];
627 * Stores a byte array of data elements into the specified rectangular
631 * The data elements in the
632 * data array are assumed to be packed. That is, a data element
642 * @param inData The data elements to be stored.
661 System.arraycopy(inData, 0, data, yoff, w*h);
665 System.arraycopy(inData, off, data, yoff, w);
674 data[xoff] = inData[off++];
683 * Stores a byte array of data elements into the specified rectangular
687 * The data elements in the
688 * data array are assumed to be packed. That is, a data element
697 * @param inData The data elements to be stored.
717 System.arraycopy(inData, 0, data, yoff, w*h);
721 System.arraycopy(inData, off, data, yoff, w);
731 data[xoff] = inData[off++];
741 data[dataOffsets[c] + xoff] = inData[off++];
835 * width and height, and with new zeroed data arrays.
851 * width and height, and with new zeroed data arrays. If
860 * Verify that the layout parameters are consistent with the data.
864 * in data buffer. It also verifies whether the data buffer has enough data
868 * or if data buffer has not enough capacity.
891 scanlineStride > data.length)
901 pixelStride > data.length)
930 if (data.length <= maxIndex) {
956 // String s = Integer.toHexString(data[off]);