mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
RFB: Various fixes to header file
This commit is contained in:
@@ -547,7 +547,7 @@ struct rfb_rectangle_s
|
||||
uint8_t data[1]; /* Pixel data, actual size varies */
|
||||
};
|
||||
|
||||
#define SIZEOF_RFB_RECTANGES(n,d) \
|
||||
#define SIZEOF_RFB_RECTANGES(d) \
|
||||
(sizeof(struct rfb_framebufferupdate_s) + (d) - 1)
|
||||
|
||||
struct rfb_framebufferupdate_s
|
||||
@@ -558,8 +558,8 @@ struct rfb_framebufferupdate_s
|
||||
struct rfb_rectangle_s rect[1]; /* Actual number is nrect */
|
||||
};
|
||||
|
||||
#define SIZEOF_RFB_FRAMEBUFFERUPDATE_S(n,r) \
|
||||
(sizeof(struct rfb_framebufferupdate_s) + (r) - sizeof(rfb_rectangle_s))
|
||||
#define SIZEOF_RFB_FRAMEBUFFERUPDATE_S(r) \
|
||||
(sizeof(struct rfb_framebufferupdate_s) + (r) - sizeof(struct rfb_rectangle_s))
|
||||
|
||||
/* 6.5.2 SetColourMapEntries
|
||||
*
|
||||
@@ -1010,7 +1010,7 @@ struct rfb_palettendx_s
|
||||
* byte the most significant bit represents the leftmost pixel, with a
|
||||
* 1-bit meaning the corresponding pixel in the cursor is valid."
|
||||
*
|
||||
* REVISIT: Also difficult to represent: A variable length pixel arry
|
||||
* REVISIT: Also difficult to represent: A variable length pixel array
|
||||
* followed by a variable length bit mask.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user