Re: [Spice-devel] [PATCH spice-server] glz-encode: Remove obsolete reference segment

2019-08-12 Thread Uri Lublin
On 8/12/19 10:14 AM, Frediano Ziglio wrote: The GLZ code is basically LZ code sharing image segments between multiple images. The code for RLE check in LZ is dealing with both RLE and dictionary matches being: > if (!distance) { /* zero distance means a run */ PIXEL x = *re

[Spice-devel] [PATCH spice-server] glz-encode: Remove obsolete reference segment

2019-08-12 Thread Frediano Ziglio
The GLZ code is basically LZ code sharing image segments between multiple images. The code for RLE check in LZ is dealing with both RLE and dictionary matches being: if (!distance) { /* zero distance means a run */ PIXEL x = *ref; while ((ip < ip_bound) && (ref < ref_li