Re: [spice-common PATCH 1/2] ppc: Add macros for color byte ordering

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

 



On Wed, Jul 01, 2015 at 06:20:52PM +0200, Lukas Venhoda wrote:
> When using image compression on PowerPC architecture, colors are in
> wrong order ARGB -> BGRA.
> 
> This commit introduces macros, that will change the color order
> according to machine endianness.

You could mention that this is similar to what qemu is doing.
spice_bitmap_try_as_pixman() could be simplified using these new
constants.

Christophe

Attachment: pgpLtIqPqKoji.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://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]