comparison src/main/java/com/glavsoft/rfb/encoding/decoder/ZRLEDecoder.java @ 501:57ee5c26e8eb

fix multicastput
author oshiro
date Sun, 17 Feb 2019 18:39:28 +0900
parents 6609174beafe
children 91f5c9dc91c8
comparison
equal deleted inserted replaced
500:6609174beafe 501:57ee5c26e8eb
48 FramebufferUpdateRectangle rect, byte[] bytes, int zippedLength, TreeRFBProto rfbProto) throws TransportException { 48 FramebufferUpdateRectangle rect, byte[] bytes, int zippedLength, TreeRFBProto rfbProto) throws TransportException {
49 int offset = zippedLength; 49 int offset = zippedLength;
50 int maxX = rect.x + rect.width; 50 int maxX = rect.x + rect.width;
51 int maxY = rect.y + rect.height; 51 int maxY = rect.y + rect.height;
52 int prevoffset = offset; 52 int prevoffset = offset;
53 System.out.println("decode1: "+rect); 53 //System.out.println("decode1: "+rect);
54 if (null == palette) { 54 if (null == palette) {
55 palette = new int [128]; 55 palette = new int [128];
56 } 56 }
57 if (null == decodedBitmap) { 57 if (null == decodedBitmap) {
58 decodedBitmap = new int[MAX_TILE_SIZE * MAX_TILE_SIZE]; 58 decodedBitmap = new int[MAX_TILE_SIZE * MAX_TILE_SIZE];