Lines Matching refs:src

133         public void compose(Raster src, Raster dstIn, WritableRaster dstOut) {  in compose()  argument
134 if (src.getSampleModel().getDataType() != DataBuffer.TYPE_INT || in compose()
141 int width = Math.min(src.getWidth(), dstIn.getWidth()); in compose()
142 int height = Math.min(src.getHeight(), dstIn.getHeight()); in compose()
155 src.getDataElements(0, y, width, 1, srcPixels); in compose()
200 public abstract int[] blend(int[] src, int[] dst, int[] result); in blend() argument
207 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
209 result[i] = Math.min(255, src[i] + dst[i]); in getBlenderFor()
217 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
219 result[i] = Math.min(src[i], dst[i]); in getBlenderFor()
221 result[3] = Math.min(255, src[3] + dst[3]); in getBlenderFor()
228 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
230 result[i] = Math.max(src[i], dst[i]); in getBlenderFor()
232 result[3] = Math.min(255, src[3] + dst[3]); in getBlenderFor()
239 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
241 result[i] = (src[i] * dst[i]) >> 8; in getBlenderFor()
243 result[3] = Math.min(255, src[3] + dst[3] - (src[3] * dst[3]) / 255); in getBlenderFor()
250 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
252 result[i] = dst[i] < 128 ? dst[i] * src[i] >> 7 : in getBlenderFor()
253 255 - ((255 - dst[i]) * (255 - src[i]) >> 7); in getBlenderFor()
255 result[3] = Math.min(255, src[3] + dst[3]); in getBlenderFor()
262 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
263 result[0] = 255 - ((255 - src[0]) * (255 - dst[0]) >> 8); in getBlenderFor()
264 result[1] = 255 - ((255 - src[1]) * (255 - dst[1]) >> 8); in getBlenderFor()
265 result[2] = 255 - ((255 - src[2]) * (255 - dst[2]) >> 8); in getBlenderFor()
266 result[3] = Math.min(255, src[3] + dst[3]); in getBlenderFor()
276 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()