• dscho's avatar
    ZYWRLE patch for libvncclient (thanks Noriaki Yamazaki) · 26b79b89
    dscho authored
    Highlite:
     * use qualityLevel/zlib_buffer. No new variable is needed.
     * Change coding style to recursive fashion.
     * Change meaning of qualityLevel== 9 for easy calc zywrle_level:
         old:zywrle_level== 1
         new:disable ZYWRLE(same as ZRLE)
       so, we should not use this value for compatible reason.
     * Color mode handling isn't complete.
       I provided and checked 16 bit colors(RGB555,RGB565) and
       some color mode of 32 bit colors for little endian mode.
       we must make and check 24 bit colors and big endian mode.
    Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
    26b79b89
zrle.c 10.4 KB