Package javax.media.jai

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


/*  563 */       break;
/*      */     case 5:
/*  565 */       computeRectDouble(s, d, a, roiRaster);
/*      */     }
/*      */
/*  569 */     d.copyDataToRaster();
/*      */   }
/*      */
/*      */   private void computeRectByte(RasterAccessor[] src, RasterAccessor dst, RasterAccessor[] alfa, Raster[] roi)
/*      */   {
/*  577 */     int numSources = src.length;
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

/* 149 */       break;
/*     */     }
/*     */
/* 157 */     if (dstAccessor.isDataCopy()) {
/* 158 */       dstAccessor.clampDataArrays();
/* 159 */       dstAccessor.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   protected void byteLoop(RasterAccessor src, RasterAccessor dst)
/*     */   {
View Full Code Here

/* 145 */       break;
/*     */     }
/*     */
/* 153 */     if (dstAccessor.isDataCopy()) {
/* 154 */       dstAccessor.clampDataArrays();
/* 155 */       dstAccessor.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void byteLoop(RasterAccessor src, RasterAccessor dst) {
/* 160 */     int dwidth = dst.getWidth();
View Full Code Here

/* 159 */       break;
/*     */     case 3:
/* 162 */       intLoop(dstNumBands, dstWidth, dstHeight, srcLineStride, srcPixelStride, srcBandOffsets, src.getIntDataArrays(), dstLineStride, dstPixelStride, dstBandOffsets, dst.getIntDataArrays());
/*     */     }
/*     */
/* 170 */     dst.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void byteLoop(int dstNumBands, int dstWidth, int dstHeight, int srcLineStride, int srcPixelStride, int[] srcBandOffsets, byte[][] srcData, int dstLineStride, int dstPixelStride, int[] dstBandOffsets, byte[][] dstData)
/*     */   {
/* 179 */     for (int b = 0; b < dstNumBands; b++) {
View Full Code Here

/* 113 */         throw new RuntimeException(JaiI18N.getString("Convolve3x3OpImage1"));
/*     */       }
/*     */
/* 119 */       if (dstAccessor.isDataCopy()) {
/* 120 */         dstAccessor.clampDataArrays();
/* 121 */         dstAccessor.copyDataToRaster();
/*     */       }
/*     */     }
/*     */   }
/*     */
/*     */   private void byteLoop(RasterAccessor src, RasterAccessor dst) {
View Full Code Here

/*     */
/* 211 */     if (d.needsClamping()) {
/* 212 */       d.clampDataArrays();
/*     */     }
/*     */
/* 215 */     d.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void computeRectByte(RasterAccessor src1, RasterAccessor src2, RasterAccessor dst)
/*     */   {
/* 221 */     int s1LineStride = src1.getScanlineStride();
View Full Code Here

/* 207 */       doubleLoop(width, height, bands, srcPixelStride, srcLineStride, srcBandOffsets, src.getDoubleDataArrays(), dstPixelStride, dstLineStride, dstBandOffsets, dst.getDoubleDataArrays());
/*     */     }
/*     */
/* 215 */     if (dst.isDataCopy()) {
/* 216 */       dst.clampDataArrays();
/* 217 */       dst.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void byteLoop(int width, int height, int bands, int srcPixelStride, int srcLineStride, int[] srcBandOffsets, byte[][] srcData, int dstPixelStride, int dstLineStride, int[] dstBandOffsets, byte[][] dstData)
/*     */   {
View Full Code Here

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

/*  151 */       doubleLoop(s1, s2, a1, a2, d);
/*      */     }
/*      */
/*  155 */     if (d.isDataCopy()) {
/*  156 */       d.clampDataArrays();
/*  157 */       d.copyDataToRaster();
/*      */     }
/*      */   }
/*      */
/*      */   private void byteLoop(RasterAccessor s1, RasterAccessor s2, RasterAccessor a1, RasterAccessor a2, RasterAccessor d)
/*      */   {
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.