diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-04-19 15:46:37 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-04-19 15:47:43 +0200 |
commit | 8ef80db4acdd52e8c1fd24f26606e5ec0e6d9181 (patch) | |
tree | 1d0706b84e4bbdd24157e81eccf45f0bb5da4652 /spice | |
parent | 32541ac87138b281ab2a0330855ef59a0eb69fd0 (diff) |
Add some comment describing the bitmap formats
Diffstat (limited to 'spice')
-rw-r--r-- | spice/draw.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/spice/draw.h b/spice/draw.h index 2552fa0..45b3752 100644 --- a/spice/draw.h +++ b/spice/draw.h @@ -183,15 +183,15 @@ typedef struct SPICE_ATTR_PACKED SpiceImageDescriptor { enum { SPICE_BITMAP_FMT_INVALID, - SPICE_BITMAP_FMT_1BIT_LE, + SPICE_BITMAP_FMT_1BIT_LE /* unused */, SPICE_BITMAP_FMT_1BIT_BE, - SPICE_BITMAP_FMT_4BIT_LE, + SPICE_BITMAP_FMT_4BIT_LE /* unused */, SPICE_BITMAP_FMT_4BIT_BE, - SPICE_BITMAP_FMT_8BIT, - SPICE_BITMAP_FMT_16BIT, - SPICE_BITMAP_FMT_24BIT, - SPICE_BITMAP_FMT_32BIT, - SPICE_BITMAP_FMT_RGBA, + SPICE_BITMAP_FMT_8BIT /* 8bit indexed mode */, + SPICE_BITMAP_FMT_16BIT /* 555 format */, + SPICE_BITMAP_FMT_24BIT /* 3 byte, brg */, + SPICE_BITMAP_FMT_32BIT /* 4 byte, xrgb in little endian format */, + SPICE_BITMAP_FMT_RGBA /* 4 byte, argb in little endian format */, }; enum { |