Package javax.media.jai

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


/*  304 */       doubleLoop(srcAccessor, destRect, srcRectX, srcRectY, dstAccessor);
/*      */     }
/*      */
/*  317 */     if (dstAccessor.isDataCopy()) {
/*  318 */       dstAccessor.clampDataArrays();
/*  319 */       dstAccessor.copyDataToRaster();
/*      */     }
/*      */   }
/*      */
/*      */   private void byteLoop(RasterAccessor src, Rectangle destRect, int srcRectX, int srcRectY, RasterAccessor dst)
/*      */   {
View Full Code Here


/* 165 */       break;
/*     */     case 5:
/* 167 */       computeRectDouble(src, dst);
/*     */     }
/*     */
/* 171 */     dst.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void computeRectByte(RasterAccessor src, RasterAccessor dst)
/*     */   {
/* 176 */     initByteTable();
View Full Code Here

/* 170 */       break;
/*     */     case 3:
/* 173 */       intLoop(dstNumBands, dstWidth, dstHeight, src1LineStride, src1PixelStride, src1BandOffsets, s1.getIntDataArrays(), src2LineStride, src2PixelStride, src2BandOffsets, s2.getIntDataArrays(), dstLineStride, dstPixelStride, dstBandOffsets, d.getIntDataArrays());
/*     */     }
/*     */
/* 183 */     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)
/*     */   {
/* 194 */     for (int b = 0; b < dstNumBands; b++) {
View Full Code Here

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

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

/*     */     }
/*     */
/* 149 */     if (d.needsClamping()) {
/* 150 */       d.clampDataArrays();
/*     */     }
/* 152 */     d.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void computeRectByte(RasterAccessor src, RasterAccessor dst)
/*     */   {
/* 157 */     initByteTable();
View Full Code Here

/*     */     }
/*     */
/* 239 */     if (d.needsClamping()) {
/* 240 */       d.clampDataArrays();
/*     */     }
/* 242 */     d.copyDataToRaster();
/*     */   }
/*     */
/*     */   private void computeRectByte(RasterAccessor src1, RasterAccessor src2, RasterAccessor dst)
/*     */   {
/* 248 */     int s1LineStride = src1.getScanlineStride();
View Full Code Here

/* 284 */       throw new RuntimeException(JaiI18N.getString("OrderedDitherOpImage0"));
/*     */     }
/*     */
/* 291 */     if (dstAccessor.isDataCopy()) {
/* 292 */       dstAccessor.clampDataArrays();
/* 293 */       dstAccessor.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void byteLoop(RasterAccessor src, Rectangle dstRect, RasterAccessor dst, int[] xvalues, int[] yvalues)
/*     */   {
View Full Code Here

/* 801 */       srcLine1 += srcScanlineStride;
/* 802 */       srcLine2 += srcScanlineStride;
/* 803 */       dstLine += dstScanlineStride;
/*     */     }
/*     */
/* 808 */     dstAccessor.copyDataToRaster();
/*     */   }
/*     */ }

/* Location:           Z:\System\Library\Java\Extensions\jai_core.jar
* Qualified Name:     com.sun.media.jai.opimage.ErrorDiffusionOpImage
View Full Code Here

/*  344 */       throw new RuntimeException(JaiI18N.getString("OrderedDitherOpImage0"));
/*      */     }
/*      */
/*  351 */     if (dstAccessor.isDataCopy()) {
/*  352 */       dstAccessor.clampDataArrays();
/*  353 */       dstAccessor.copyDataToRaster();
/*      */     }
/*      */   }
/*      */
/*      */   private void byteLoop(RasterAccessor src, Rectangle destRect, RasterAccessor dst, int[] xpos, int[] ypos, int[] xfracvalues, int[] yfracvalues)
/*      */   {
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.