<BUG>int lineOffset = 0;if (ctable == null) { // source does not have IndexColorModelif (caseA) {for (int h = 0; h < dstHeight; h++) {</BUG><CONTEXT>final int lineStride = dst.getScanlineStride();final int pixelStride = dst.getPixelStride();final int[] bandOffsets = dst.getBandOffsets();final byte[][] data = dst.getByteDataArrays();final float[] warpData = new float[2 * dstWidth];<extra_id_0>int pixelOffset = lineOffset;</CONTEXT>
if(hasROI && !roiContainsTile && roiIter == null){throw new IllegalArgumentException("Error on creating the ROI iterator");}if (caseA || (caseB && roiContainsTile)) {for (int h = 0; h < dstHeight; h++) {