Lines Matching defs:offsets
85 float[] offsets;
95 * and offsets. The length of the scaleFactor and offset arrays
99 * @param offsets the specified offsets
103 public RescaleOp (float[] scaleFactors, float[] offsets,
106 if (length > offsets.length) length = offsets.length;
109 this.offsets = new float[length];
112 this.offsets[i] = offsets[i];
131 this.offsets = new float[1];
133 this.offsets[0] = offset;
156 * Returns the offsets in the given array. The array is also returned
157 * for convenience. If offsets is null, a new array
159 * @param offsets the array to contain the offsets of
161 * @return the offsets of this <code>RescaleOp</code>.
163 final public float[] getOffsets(float offsets[]) {
164 if (offsets == null) {
165 return (float[]) this.offsets.clone();
168 System.arraycopy (this.offsets, 0, offsets, 0,
169 Math.min(this.offsets.length, offsets.length));
170 return offsets;
174 * Returns the number of scaling factors and offsets used in this
176 * @return the number of scaling factors and offsets of this
313 * scaling factors/offsets in this object does not meet the
322 * or if the number of scaling factors and offsets in this
450 * Note that the number of scaling factors/offsets in this object must
459 * or if the number of scaling factors and offsets in this
512 ByteLookupTable lut = createByteLut(scaleFactors, offsets,
517 ShortLookupTable lut = createShortLut(scaleFactors, offsets,
562 + offsets[tidx]);