Package javax.media.jai

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


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


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

/*      */     case 5:
/*  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

/*     */     case 5:
/* 183 */       doubleAbsolute(dst.getNumBands(), dst.getWidth(), dst.getHeight(), src.getScanlineStride(), src.getPixelStride(), src.getBandOffsets(), src.getDoubleDataArrays(), dst.getScanlineStride(), dst.getPixelStride(), dst.getBandOffsets(), dst.getDoubleDataArrays());
/*     */     }
/*     */
/* 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)
View Full Code Here

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

/*     */     case 5:
/* 132 */       computeRectDouble(s, d);
/*     */     }
/*     */
/* 136 */     if (d.isDataCopy()) {
/* 137 */       d.clampDataArrays();
/* 138 */       d.copyDataToRaster();
/*     */     }
/*     */   }
/*     */
/*     */   private void computeRectByte(RasterAccessor src, RasterAccessor dst) {
View Full Code Here

/*     */     default:
/* 209 */       throw new RuntimeException(JaiI18N.getString("MagnitudePhaseOpImage0"));
/*     */     }
/*     */
/* 212 */     if (dstAccessor.needsClamping()) {
/* 213 */       dstAccessor.clampDataArrays();
/*     */     }
/*     */
/* 217 */     dstAccessor.copyDataToRaster();
/*     */   }
/*     */
View Full Code Here

/*     */     case 5:
/* 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

/*     */     case 5:
/* 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

/*     */     default:
/* 247 */       throw new RuntimeException(JaiI18N.getString("ComplexArithmeticOpImage0"));
/*     */     }
/*     */
/* 250 */     if (dstAccessor.needsClamping()) {
/* 251 */       dstAccessor.clampDataArrays();
/*     */     }
/*     */
/* 254 */     dstAccessor.copyDataToRaster();
/*     */   }
/*     */
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.