mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
vnc: palette: and fill and color calls.
These two helpers are needed for zrle and zywrle. Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
72aefb76f9
commit
f8562e326b
2 changed files with 35 additions and 0 deletions
|
@ -61,5 +61,8 @@ size_t palette_size(const VncPalette *palette);
|
|||
void palette_iter(const VncPalette *palette,
|
||||
void (*iter)(int idx, uint32_t color, void *opaque),
|
||||
void *opaque);
|
||||
uint32_t palette_color(const VncPalette *palette, int idx, bool *found);
|
||||
size_t palette_fill(const VncPalette *palette,
|
||||
uint32_t colors[VNC_PALETTE_MAX_SIZE]);
|
||||
|
||||
#endif /* VNC_PALETTE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue