[Pixman] A6R6G6B6 (or A8R5G6B5)

Siarhei Siamashka siarhei.siamashka at gmail.com
Mon Mar 12 05:08:13 PDT 2012


On Mon, Mar 12, 2012 at 1:04 PM, Leon Woestenberg
<sidebranch.linux at gmail.com> wrote:
> Hello,
>
>
> I have a SoC that outputs 24-bits video but I would like that video to carry
> the alpha channel. One solution is to work with A6R6G6B6 (or A8R5G6B5).
>
> I am not a pixman developer, In order to add support a new colour byte
> packing format (x8a6r6g6b6), can someone point me to an existing patch that
> introduced a new format? It helps me quickly understand the existing code
> base.

Maybe this could be a useful example:
    http://cgit.freedesktop.org/pixman/commit/?id=f05a90e5f8d1d0af60e2c684cbe9f1327c33135a
    http://cgit.freedesktop.org/pixman/commit/?id=b514e63cfc58af21f7097db5a1b04292a758782a

> My main use is with cairo, to what extend do I need to introduce the new
> format into Cairo as well?

-- 
Best regards,
Siarhei Siamashka


More information about the Pixman mailing list