Revision 70a4568f vnc.h
b/vnc.h | ||
---|---|---|
132 | 132 |
int last_y; |
133 | 133 |
|
134 | 134 |
uint32_t vnc_encoding; |
135 |
uint8_t tight_quality; |
|
136 |
uint8_t tight_compression; |
|
137 | 135 |
|
138 | 136 |
int major; |
139 | 137 |
int minor; |
... | ... | |
152 | 150 |
Buffer input; |
153 | 151 |
/* current output mode information */ |
154 | 152 |
VncWritePixels *write_pixels; |
155 |
VncSendHextileTile *send_hextile_tile; |
|
156 | 153 |
DisplaySurface clientds; |
157 | 154 |
|
158 | 155 |
CaptureVoiceOut *audio_cap; |
... | ... | |
164 | 161 |
uint8_t modifiers_state[256]; |
165 | 162 |
QEMUPutLEDEntry *led; |
166 | 163 |
|
164 |
/* Encoding specific */ |
|
165 |
|
|
166 |
/* Tight */ |
|
167 |
uint8_t tight_quality; |
|
168 |
uint8_t tight_compression; |
|
169 |
|
|
170 |
/* Hextile */ |
|
171 |
VncSendHextileTile *send_hextile_tile; |
|
172 |
|
|
173 |
/* Zlib */ |
|
167 | 174 |
Buffer zlib; |
168 | 175 |
Buffer zlib_tmp; |
169 | 176 |
z_stream zlib_stream[4]; |
... | ... | |
376 | 383 |
char *vnc_socket_local_addr(const char *format, int fd); |
377 | 384 |
char *vnc_socket_remote_addr(const char *format, int fd); |
378 | 385 |
|
386 |
/* Framebuffer */ |
|
387 |
void vnc_framebuffer_update(VncState *vs, int x, int y, int w, int h, |
|
388 |
int32_t encoding); |
|
389 |
|
|
390 |
void vnc_convert_pixel(VncState *vs, uint8_t *buf, uint32_t v); |
|
391 |
|
|
392 |
/* Encodings */ |
|
393 |
void vnc_raw_send_framebuffer_update(VncState *vs, int x, int y, int w, int h); |
|
394 |
|
|
395 |
void vnc_hextile_send_framebuffer_update(VncState *vs, int x, |
|
396 |
int y, int w, int h); |
|
397 |
void vnc_hextile_set_pixel_conversion(VncState *vs, int generic); |
|
398 |
|
|
399 |
void vnc_zlib_init(VncState *vs); |
|
400 |
void vnc_zlib_send_framebuffer_update(VncState *vs, int x, int y, int w, int h); |
|
401 |
|
|
379 | 402 |
#endif /* __QEMU_VNC_H */ |
Also available in: Unified diff