Lines Matching refs:scanline
62 private void flipScanline(byte[] scanline){
63 for (int i = 0; i < scanline.length; i+=4){
65 byte tmp = scanline[i+3];
66 scanline[i+3] = scanline[i+0];
67 scanline[i+0] = tmp;
70 tmp = scanline[i+2];
71 scanline[i+2] = scanline[i+1];
72 scanline[i+1] = tmp;
112 byte[] scanline = new byte[width * bytesPerPixel];
121 read = in.read(scanline, off, scanline.length - off);
126 flipScanline(scanline);
129 imageData.put(scanline);