Lines Matching defs:dst

256      * The dst must be a byte or short type.
258 * All source band sizes must be the same and all dst band sizes
261 private boolean canUseLookup(Raster src, Raster dst) {
273 // Check dst sample sizes. All must be 8 or 16 bits.
275 SampleModel dstSM = dst.getSampleModel();
317 * @param dst the destination for the filtering operation
326 public final BufferedImage filter (BufferedImage src, BufferedImage dst) {
356 if (dst == null) {
357 dst = createCompatibleDestImage(src, null);
361 if (width != dst.getWidth()) {
364 ") not equal to dst width ("+
365 dst.getWidth()+")");
367 if (height != dst.getHeight()) {
370 ") not equal to dst height ("+
371 dst.getHeight()+")");
374 dstCM = dst.getColorModel();
378 dst = createCompatibleDestImage(src, null);
383 BufferedImage origDst = dst;
388 if (ImagingLib.filter(this, src, dst) == null) {
393 WritableRaster dstRaster = dst.getRaster();
439 ccop.filter(dst, origDst);
454 * @param dst the destination for the filtering operation
458 * <code>dst</code> do not have the same number of bands,
463 public final WritableRaster filter (Raster src, WritableRaster dst) {
472 if (dst == null) {
473 dst = createCompatibleDestRaster(src);
475 else if (height != dst.getHeight() || width != dst.getWidth()) {
480 else if (numBands != dst.getNumBands()) {
485 + dst.getNumBands());
499 if (ImagingLib.filter(this, src, dst) != null) {
500 return dst;
507 if (canUseLookup(src, dst)) {
515 op.filter(src, dst);
520 op.filter(src, dst);
532 int dminX = dst.getMinX();
533 int dY = dst.getMinY();
545 SampleModel dstSM = dst.getSampleModel();
576 dst.setPixel(dX, dY, srcPix);
580 return dst;