Lines Matching defs:data
33 * data arrays for one or more bands (or components) of an image,
36 * smaller than the native data size to be provided for a
49 byte data[][];
56 * bands is the length of the data argument. The
57 * data array for each band is stored as a reference.
60 * @param data an array of byte arrays representing a lookup
63 * is less than 0 or if the length of <code>data</code>
66 public ByteLookupTable(int offset, byte data[][]) {
67 super(offset,data.length);
68 numComponents = data.length;
69 numEntries = data[0].length;
70 this.data = new byte[numComponents][];
71 // Allocate the array and copy the data reference
73 this.data[i] = data[i];
82 * The data array is stored as a reference.
85 * @param data an array of bytes
87 * is less than 0 or if the length of <code>data</code>
90 public ByteLookupTable(int offset, byte data[]) {
91 super(offset,data.length);
93 numEntries = data.length;
94 this.data = new byte[1][];
95 this.data[0] = data;
99 * Returns the lookup table data by reference. If this ByteLookupTable
102 * @return the data array of this <code>ByteLookupTable</code>.
105 return data;
142 dst[i] = (int) data[0][s];
153 dst[i] = (int) data[i][s];
193 dst[i] = data[0][s];
204 dst[i] = data[i][s];