Package javax.media.jai

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


/*  595 */       break;
/*      */     default:
/*  597 */       throw new RuntimeException(JaiI18N.getString("OrderedDitherOpImage1"));
/*      */     }
/*      */
/*  600 */     dst.copyDataToRaster();
/*      */   }
/*      */
/*      */   private void computeRectByte(RasterAccessor src, RasterAccessor dst)
/*      */   {
/*  607 */     int sbands = src.getNumBands();
View Full Code Here


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

/*  238 */       break;
/*      */     case 5:
/*  240 */       doubleLoop(s1, s2, a1, a2, d);
/*      */     }
/*      */
/*  243 */     d.copyDataToRaster();
/*      */   }
/*      */
/*      */   private void byteLoop(RasterAccessor src1, RasterAccessor src2, RasterAccessor afa1, RasterAccessor afa2, RasterAccessor dst)
/*      */   {
/*  281 */     int dwidth = dst.getWidth();
View Full Code Here

/* 123 */       computeRectDouble(sources[0], d);
/*     */     }
/*     */
/* 127 */     if (d.isDataCopy()) {
/* 128 */       d.clampDataArrays();
/* 129 */       d.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void computeRectByte(PlanarImage src, RasterAccessor dst) {
/* 134 */     RandomIter iter = RandomIterFactory.create(src, src.getBounds());
View Full Code Here

/* 222 */       break;
/*     */     case 5:
/* 224 */       computeRectDouble(src, dst);
/*     */     }
/*     */
/* 228 */     dst.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void computeRectByte(RasterAccessor src, RasterAccessor dst)
/*     */   {
/* 233 */     int dstWidth = dst.getWidth();
View Full Code Here

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

/* 174 */       break;
/*     */     }
/*     */
/* 182 */     if (dstAccessor.isDataCopy()) {
/* 183 */       dstAccessor.clampDataArrays();
/* 184 */       dstAccessor.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void byteLoop(RasterAccessor src, RasterAccessor dst) {
/* 189 */     int dwidth = dst.getWidth();
View Full Code Here

/*     */
/* 287 */     if (d.needsClamping()) {
/* 288 */       d.clampDataArrays();
/*     */     }
/*     */
/* 291 */     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)
/*     */   {
/* 302 */     int b = 0; int s1b = 0; for (int s2b = 0; b < dstNumBands;
View Full Code Here

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

/*     */     }
/*     */
/* 170 */     if (d.needsClamping()) {
/* 171 */       d.clampDataArrays();
/*     */     }
/* 173 */     d.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void computeRectByte(RasterAccessor src, RasterAccessor dst)
/*     */   {
/* 178 */     initByteTable();
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.