]> Pileus Git - ~andy/gtk/commit
#71597, reported by Morten Welinder
authorOwen Taylor <otaylor@redhat.com>
Tue, 3 Jun 2003 22:09:11 +0000 (22:09 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 3 Jun 2003 22:09:11 +0000 (22:09 +0000)
commit84ebfb7efac81f039ce27978a14e43d790018681
treeb27d991cbce7526a30bec62ce9655430b7ded027
parent794a3a9fbcc09f21cf6bececac164155e5cf460d
#71597, reported by Morten Welinder

Tue Jun  3 17:39:16 2003  Owen Taylor  <otaylor@redhat.com>

        #71597, reported by Morten Welinder

        * gdk/gdkpixbuf-drawable.c (rgb888amsb): Fix and simplify
        (Patch from Christian Petig)

        * gdk/gdkpixbuf-drawable.c (rgb{555,565}{a,}{msb,lsb}):
        Major rewrite of 555 and 565 conversion routines:

        - Move all the bit shifting into a small block of macros,
          eliminating much duplication of complicated arithmetic.
        - Get rid of 2-pixels at a time code, which was buggy,
          hard to maintain, caused unaligned accesses, and
          probably didn't actually perform any better.
        - Simplify cases where different data types were
          used for the little and big endian cases, use
          GUINT16_SWAP_LE_BE() where appropriate.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkpixbuf-drawable.c