Package javax.media.jai

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


/*  168 */       doubleLoop(srcAccessor, destRect, srcRectX, srcRectY, dstAccessor);
/*      */     }
/*      */
/*  179 */     if (dstAccessor.isDataCopy()) {
/*  180 */       dstAccessor.clampDataArrays();
/*  181 */       dstAccessor.copyDataToRaster();
/*      */     }
/*      */   }
/*      */
/*      */   private void byteLoop(RasterAccessor src, Rectangle destRect, int srcRectX, int srcRectY, RasterAccessor dst)
/*      */   {
View Full Code Here


/*     */     }
/*     */
/* 196 */     if (dst.needsClamping()) {
/* 197 */       dst.clampDataArrays();
/*     */     }
/* 199 */     dst.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void byteAbsolute(int numBands, int dstWidth, int dstHeight, int srcScanlineStride, int srcPixelStride, int[] srcBandOffsets, byte[][] srcData, int dstScanlineStride, int dstPixelStride, int[] dstBandOffsets, byte[][] dstData)
/*     */   {
/* 213 */     for (int band = 0; band < numBands; band++) {
View Full Code Here

/*     */
/* 283 */     if (d.needsClamping()) {
/* 284 */       d.clampDataArrays();
/*     */     }
/*     */
/* 287 */     d.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void byteLoop(int dstNumBands, int dstWidth, int dstHeight, int src1LineStride, int src1PixelStride, int[] src1BandOffsets, byte[][] src1Data, int src2LineStride, int src2PixelStride, int[] src2BandOffsets, byte[][] src2Data, int dstLineStride, int dstPixelStride, int[] dstBandOffsets, byte[][] dstData)
/*     */   {
/* 298 */     int b = 0; int s1b = 0; for (int s2b = 0; b < dstNumBands;
View Full Code Here

/* 132 */       computeRectDouble(s, d);
/*     */     }
/*     */
/* 136 */     if (d.isDataCopy()) {
/* 137 */       d.clampDataArrays();
/* 138 */       d.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void computeRectByte(RasterAccessor src, RasterAccessor dst) {
/* 143 */     int sLineStride = src.getScanlineStride();
View Full Code Here

/*     */
/* 212 */     if (dstAccessor.needsClamping()) {
/* 213 */       dstAccessor.clampDataArrays();
/*     */     }
/*     */
/* 217 */     dstAccessor.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void computeRectDouble(RasterAccessor srcAccessor, RasterAccessor dstAccessor, int numRows, int numCols)
/*     */   {
/* 225 */     int srcPixelStride = srcAccessor.getPixelStride();
View Full Code Here

/* 618 */       doubleLoop(srcAccessor, destRect, translateX, translateY, dstAccessor, incr1, incr2, s_x, s_y);
/*     */     }
/*     */
/* 632 */     if (dstAccessor.isDataCopy()) {
/* 633 */       dstAccessor.clampDataArrays();
/* 634 */       dstAccessor.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void byteLoop(RasterAccessor src, Rectangle destRect, int srcTranslateX, int srcTranslateY, RasterAccessor dst, int incr1, int incr2, int s_x, int s_y)
/*     */   {
View Full Code Here

/* 206 */       doubleLoop(srcAccessor, destRect, dstAccessor, xpos, ypos, xfracvaluesFloat, yfracvaluesFloat);
/*     */     }
/*     */
/* 214 */     if (dstAccessor.isDataCopy()) {
/* 215 */       dstAccessor.clampDataArrays();
/* 216 */       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

/*     */
/* 250 */     if (dstAccessor.needsClamping()) {
/* 251 */       dstAccessor.clampDataArrays();
/*     */     }
/*     */
/* 254 */     dstAccessor.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void computeRectDouble(RasterAccessor src1Accessor, RasterAccessor src2Accessor, RasterAccessor dstAccessor)
/*     */   {
/* 261 */     int numRows = dstAccessor.getHeight();
View Full Code Here

/* 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

/* 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

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.