int destTransX = dest.getSampleModelTranslateX();
int destTransY = dest.getSampleModelTranslateY();
int destDataBitOffset = destSM.getDataBitOffset();
int destScanlineStride = destSM.getScanlineStride();
DataBufferUShort sourceDB = (DataBufferUShort) source.getDataBuffer();
short[] sourceData = sourceDB.getData();
int sourceDBOffset = sourceDB.getOffset();
DataBufferUShort destDB = (DataBufferUShort) dest.getDataBuffer();
short[] destData = destDB.getData();
int destDBOffset = destDB.getOffset();
int[] sshortnum = new int[dwidth];
int[] sshift = new int[dwidth];
for (int i = 0; i < dwidth; i++)