Package javax.media.jai

Examples of javax.media.jai.RasterAccessor.clampDataArrays()


/*     */     default:
/* 219 */       throw new RuntimeException(JaiI18N.getString("OrderedDitherOpImage0"));
/*     */     }
/*     */
/* 226 */     if (dstAccessor.isDataCopy()) {
/* 227 */       dstAccessor.clampDataArrays();
/* 228 */       dstAccessor.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void preComputePositionsInt(Rectangle destRect, int srcRectX, int srcRectY, int srcPixelStride, int srcScanlineStride, int[] xpos, int[] ypos, int[] xfracvalues, int[] yfracvalues)
View Full Code Here


/*     */     case 5:
/* 154 */       computeRectDouble(s1, s2, d);
/*     */     }
/*     */
/* 158 */     if (d.isDataCopy()) {
/* 159 */       d.clampDataArrays();
/* 160 */       d.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void computeRectByte(RasterAccessor src1, RasterAccessor src2, RasterAccessor dst)
View Full Code Here

/*      */     case 5:
/*  152 */       doubleLoop(srcAccessor, destRect, srcRectX, srcRectY, dstAccessor);
/*      */     }
/*      */
/*  163 */     if (dstAccessor.isDataCopy()) {
/*  164 */       dstAccessor.clampDataArrays();
/*  165 */       dstAccessor.copyDataToRaster();
/*      */     }
/*      */   }
/*      */
/*      */   private void byteLoop(RasterAccessor src, Rectangle destRect, int srcRectX, int srcRectY, RasterAccessor dst)
View Full Code Here

/*     */     case 5:
/* 123 */       computeRectDouble(sources[0], d);
/*     */     }
/*     */
/* 127 */     if (d.isDataCopy()) {
/* 128 */       d.clampDataArrays();
/* 129 */       d.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void computeRectByte(PlanarImage src, RasterAccessor dst) {
View Full Code Here

/* 139 */       computeRectDouble(srcs, dst);
/*     */     }
/*     */
/* 143 */     if (dst.needsClamping())
/*     */     {
/* 145 */       dst.clampDataArrays();
/*     */     }
/* 147 */     dst.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void computeRectByte(RasterAccessor[] srcs, RasterAccessor dst)
View Full Code Here

/* 173 */       doubleLoop(srcAccessor, dstAccessor);
/* 174 */       break;
/*     */     }
/*     */
/* 182 */     if (dstAccessor.isDataCopy()) {
/* 183 */       dstAccessor.clampDataArrays();
/* 184 */       dstAccessor.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void byteLoop(RasterAccessor src, RasterAccessor dst) {
View Full Code Here

/*     */     case 5:
/* 277 */       doubleLoop(dstNumBands, dstWidth, dstHeight, src1LineStride, src1PixelStride, src1BandOffsets, s1.getDoubleDataArrays(), src2LineStride, src2PixelStride, src2BandOffsets, s2.getDoubleDataArrays(), dstLineStride, dstPixelStride, dstBandOffsets, d.getDoubleDataArrays());
/*     */     }
/*     */
/* 287 */     if (d.needsClamping()) {
/* 288 */       d.clampDataArrays();
/*     */     }
/*     */
/* 291 */     d.copyDataToRaster();
/*     */   }
/*     */
View Full Code Here

/* 178 */       String className = getClass().getName();
/* 179 */       throw new RuntimeException(JaiI18N.getString("Convolve3x3OpImage1"));
/*     */     }
/*     */
/* 185 */     if (dstAccessor.isDataCopy()) {
/* 186 */       dstAccessor.clampDataArrays();
/* 187 */       dstAccessor.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void byteLoop(RasterAccessor src, RasterAccessor dst) {
View Full Code Here

/*     */     case 5:
/* 166 */       computeRectDouble(s, d);
/*     */     }
/*     */
/* 170 */     if (d.needsClamping()) {
/* 171 */       d.clampDataArrays();
/*     */     }
/* 173 */     d.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void computeRectByte(RasterAccessor src, RasterAccessor dst)
View Full Code Here

/*     */     case 5:
/* 127 */       doubleLoop(srcAccessor, dstAccessor, this.maskSize);
/*     */     }
/*     */
/* 134 */     if (dstAccessor.isDataCopy()) {
/* 135 */       dstAccessor.clampDataArrays();
/* 136 */       dstAccessor.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   protected abstract void byteLoop(RasterAccessor paramRasterAccessor1, RasterAccessor paramRasterAccessor2, int paramInt);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.