Re: [Spice-devel] [PATCH] glz: simplification of do_match and PIXEL_ID

2016-05-19 Thread Frediano Ziglio
> > On 05/19/2016 09:03 AM, Fabiano FidĂȘncio wrote: > > On Wed, May 18, 2016 at 8:20 PM, Uri Lublin wrote: > >> Following commit e8017dd366afabbd099a13d7d455a37fd50be124 here > >> are some more ifdef simplification. > >> > >> For PIXEL_ID and PIXEL_DIST macros, > >> the ifndef LZ_PLT defines are

Re: [Spice-devel] [PATCH] glz: simplification of do_match and PIXEL_ID

2016-05-19 Thread Uri Lublin
On 05/19/2016 09:03 AM, Fabiano FidĂȘncio wrote: On Wed, May 18, 2016 at 8:20 PM, Uri Lublin wrote: Following commit e8017dd366afabbd099a13d7d455a37fd50be124 here are some more ifdef simplification. For PIXEL_ID and PIXEL_DIST macros, the ifndef LZ_PLT defines are special cases of the LZ_PLT (#

Re: [Spice-devel] [PATCH] glz: simplification of do_match and PIXEL_ID

2016-05-18 Thread Fabiano FidĂȘncio
On Wed, May 18, 2016 at 8:20 PM, Uri Lublin wrote: > Following commit e8017dd366afabbd099a13d7d455a37fd50be124 here > are some more ifdef simplification. > > For PIXEL_ID and PIXEL_DIST macros, > the ifndef LZ_PLT defines are special cases of the LZ_PLT > (#else) defines, when pix_per_byte is 1 >

[Spice-devel] [PATCH] glz: simplification of do_match and PIXEL_ID

2016-05-18 Thread Uri Lublin
Following commit e8017dd366afabbd099a13d7d455a37fd50be124 here are some more ifdef simplification. For PIXEL_ID and PIXEL_DIST macros, the ifndef LZ_PLT defines are special cases of the LZ_PLT (#else) defines, when pix_per_byte is 1 Now do_match can accept pix_per_byte param for all different def