Raster dest,
Rectangle destRect,
int incr1, int incr2, int s_x, int s_y) {
MultiPixelPackedSampleModel sourceSM =
(MultiPixelPackedSampleModel)source.getSampleModel();
DataBufferUShort sourceDB =
(DataBufferUShort)source.getDataBuffer();
int sourceTransX = source.getSampleModelTranslateX();
int sourceTransY = source.getSampleModelTranslateY();
int sourceDataBitOffset = sourceSM.getDataBitOffset();
int sourceScanlineStride = sourceSM.getScanlineStride();
MultiPixelPackedSampleModel destSM =
(MultiPixelPackedSampleModel)dest.getSampleModel();
DataBufferUShort destDB =
(DataBufferUShort)dest.getDataBuffer();
int destMinX = dest.getMinX();
int destMinY = dest.getMinY();
int destTransX = dest.getSampleModelTranslateX();
int destTransY = dest.getSampleModelTranslateY();
int destDataBitOffset = destSM.getDataBitOffset();
int destScanlineStride = destSM.getScanlineStride();
short[] sourceData = sourceDB.getData();
int sourceDBOffset = sourceDB.getOffset();
short[] destData = destDB.getData();
int destDBOffset = destDB.getOffset();
int dx = destRect.x;
int dy = destRect.y;
int dwidth = destRect.width;
int dheight = destRect.height;