Use MAKE_ACCESSORS() to generate accessors for 4 bpp RGB formats
authorSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 18 Aug 2011 09:09:07 +0000 (05:09 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 20 Sep 2011 10:44:04 +0000 (06:44 -0400)
commitf19f5daa1b111368bcf75435dce12483e08756f2
tree47e58a229065adc6a183bff7f45bbfab9836fac6
parentaf78fe24e41c30b5c9b3da4449813c75f760c845
Use MAKE_ACCESSORS() to generate accessors for 4 bpp RGB formats

Use FETCH_4 and STORE_4 macros to add support for 4bpp pixels to
fetch_and_convert_pixel() and convert_and_store_pixel(), then use
MAKE_ACCESSORS() to generate accessors for 4 bpp formats, except g4 and
c4 which are indexed:

    a4
    r1g2b1
    b1g2r1
    a1r1g1b1
    a1b1g1r1
pixman/pixman-access.c