Changeset 2c9f6dd3 in mainline for uspace/srv/hid/rfb/rfb.h


Ignore:
Timestamp:
2013-09-12T10:43:38Z (11 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
38c822e
Parents:
0d23cc0
Message:

rfb: Add a basic support for pallete-based pixel mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/rfb/rfb.h

    r0d23cc0 r2c9f6dd3  
    130130
    131131typedef struct {
     132        uint8_t message_type;
     133        uint8_t pad;
     134        uint16_t first_color;
     135        uint16_t color_count;
     136} __attribute((packed)) rfb_set_color_map_entries_t;
     137
     138typedef struct {
     139        uint16_t red;
     140        uint16_t green;
     141        uint16_t blue;
     142} __attribute__((packed)) rfb_color_map_entry_t;
     143
     144typedef struct {
    132145        uint16_t width;
    133146        uint16_t height;
     
    139152        bool damage_valid;
    140153        fibril_mutex_t lock;
     154        pixel_t *palette;
     155        size_t palette_used;
    141156} rfb_t;
    142157
Note: See TracChangeset for help on using the changeset viewer.