Re: [PATCH spice-common] canvas-base: Fix width computation for palette images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 21, 2017 at 03:59:27PM +0000, Frediano Ziglio wrote:
> Palette images are encoded with a slightly larger pixel than

"slightly larger pixel" ? Is it missing a word ?

> width. This cause a wrong calculation of stride_encoded value
> which cause a wrong stride adjustment.

"causes" (*2)

So this was changed in 5603961ff "fix 16 bpp LZ image decompression".
Before that commit, the stride was computed as
stride = (n_comp_pixels / height) * 4;
This commit was added to spice-gtk in v0.32~58, which nicely matches the
"client regression when upgrading from spice-gtk v0.31 to spice-gtk
v0.33"

I'd mention some of these in the commit log, but apart from this,

Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]