Home
last modified time | relevance | path

Searched refs:VncState (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/ui/
H A Dvnc.h63 typedef struct VncState VncState; typedef
68 typedef int VncReadEvent(VncState *vs, uint8_t *data, size_t len);
70 typedef void VncWritePixels(VncState *vs, void *data, int size);
72 typedef void VncSendHextileTile(VncState *vs,
145 QTAILQ_HEAD(, VncState) clients;
250 VncState *vs;
264 struct VncState struct
354 QTAILQ_ENTRY(VncState) next; argument
552 size_t vnc_client_read_buf(VncState *vs, uint8_t *data, size_t datalen);
553 size_t vnc_client_write_buf(VncState *vs, const uint8_t *data, size_t datalen);
[all …]
H A Dvnc-jobs.h34 VncJob *vnc_job_new(VncState *vs);
37 void vnc_jobs_join(VncState *vs);
39 void vnc_jobs_consume_buffer(VncState *vs);
58 static inline void vnc_lock_output(VncState *vs) in vnc_lock_output()
63 static inline void vnc_unlock_output(VncState *vs) in vnc_unlock_output()
H A Dvnc-enc-zrle.c38 static void vnc_zrle_start(VncState *vs) in vnc_zrle_start()
47 static void vnc_zrle_stop(VncState *vs) in vnc_zrle_stop()
54 static void *zrle_convert_fb(VncState *vs, int x, int y, int w, int h, in zrle_convert_fb()
72 static int zrle_compress_data(VncState *vs, int level) in zrle_compress_data()
119 static void zrle_choose_palette_rle(VncState *vs, int w, int h, in zrle_choose_palette_rle()
171 static void zrle_write_u32(VncState *vs, uint32_t value) in zrle_write_u32()
176 static void zrle_write_u24a(VncState *vs, uint32_t value) in zrle_write_u24a()
181 static void zrle_write_u24b(VncState *vs, uint32_t value) in zrle_write_u24b()
186 static void zrle_write_u16(VncState *vs, uint16_t value) in zrle_write_u16()
191 static void zrle_write_u8(VncState *vs, uint8_t value) in zrle_write_u8()
[all …]
H A Dvnc-auth-sasl.h67 void vnc_sasl_client_cleanup(VncState *vs);
69 size_t vnc_client_read_sasl(VncState *vs);
70 size_t vnc_client_write_sasl(VncState *vs);
72 void start_auth_sasl(VncState *vs);
H A Dvnc-enc-tight.c75 static int tight_send_framebuffer_update(VncState *vs, int x, int y,
114 static int send_png_rect(VncState *vs, int x, int y, int w, int h,
117 static bool tight_can_send_png_rect(VncState *vs, int w, int h) in tight_can_send_png_rect()
138 tight_detect_smooth_image24(VncState *vs, int w, int h) in tight_detect_smooth_image24()
208 tight_detect_smooth_image##bpp(VncState *vs, int w, int h) { \
296 tight_detect_smooth_image(VncState *vs, int w, int h) in tight_detect_smooth_image()
347 tight_fill_palette##bpp(VncState *vs, int x, int y, \
420 static int tight_fill_palette(VncState *vs, int x, int y, in tight_fill_palette()
550 tight_filter_gradient24(VncState *vs, uint8_t *buf, int w, int h) in tight_filter_gradient24()
608 tight_filter_gradient##bpp(VncState *vs, uint##bpp##_t *buf, \
[all …]
H A Dvnc-clipboard.c136 static void vnc_clipboard_send(VncState *vs, uint32_t count, uint32_t *dwords) in vnc_clipboard_send()
153 static void vnc_clipboard_provide(VncState *vs, in vnc_clipboard_provide()
194 static void vnc_clipboard_update_info(VncState *vs, QemuClipboardInfo *info) in vnc_clipboard_update_info()
228 VncState *vs = container_of(notifier, VncState, cbpeer.notifier); in vnc_clipboard_notify()
244 VncState *vs = container_of(info->owner, VncState, cbpeer); in vnc_clipboard_request()
258 void vnc_client_cut_text_ext(VncState *vs, int32_t len, uint32_t flags, uint8_t *data) in vnc_client_cut_text_ext()
308 void vnc_client_cut_text(VncState *vs, size_t len, uint8_t *text) in vnc_client_cut_text()
318 void vnc_server_cut_text_caps(VncState *vs) in vnc_server_cut_text_caps()
H A Dvnc.c71 static int vnc_cursor_define(VncState *vs);
72 static void vnc_update_throttle_offset(VncState *vs);
74 static void vnc_set_share_mode(VncState *vs, VncShareMode mode) in vnc_set_share_mode()
256 static void vnc_client_cache_auth(VncState *client) in vnc_client_cache_auth()
274 static void vnc_client_cache_addr(VncState *client) in vnc_client_cache_addr()
290 static void vnc_qmp_event(VncState *vs, QAPIEvent event) in vnc_qmp_event()
320 static VncClientInfo *qmp_query_vnc_client(const VncState *client) in qmp_query_vnc_client()
368 VncState *client; in qmp_query_client_list()
615 static int vnc_update_client(VncState *vs, int has_dirty);
616 static void vnc_disconnect_start(VncState *vs);
[all …]
H A Dvnc-jobs.c82 VncJob *vnc_job_new(VncState *vs) in vnc_job_new()
123 static bool vnc_has_job_locked(VncState *vs) in vnc_has_job_locked()
135 void vnc_jobs_join(VncState *vs) in vnc_jobs_join()
145 void vnc_jobs_consume_buffer(VncState *vs) in vnc_jobs_consume_buffer()
179 static void vnc_async_encoding_start(VncState *orig, VncState *local) in vnc_async_encoding_start()
200 static void vnc_async_encoding_end(VncState *orig, VncState *local) in vnc_async_encoding_end()
210 static bool vnc_worker_clamp_rect(VncState *vs, VncJob *job, VncRect *rect) in vnc_worker_clamp_rect()
242 VncState vs = {}; in vnc_worker_thread_loop()
H A Dvnc-auth-vencrypt.c33 static void start_auth_vencrypt_subauth(VncState *vs) in start_auth_vencrypt_subauth()
69 VncState *vs = user_data; in vnc_tls_handshake_done()
89 static int protocol_client_vencrypt_auth(VncState *vs, uint8_t *data, size_t len) in protocol_client_vencrypt_auth()
138 static int protocol_client_vencrypt_init(VncState *vs, uint8_t *data, size_t len) in protocol_client_vencrypt_init()
158 void start_auth_vencrypt(VncState *vs) in start_auth_vencrypt()
H A Dvnc-auth-sasl.c55 void vnc_sasl_client_cleanup(VncState *vs) in vnc_sasl_client_cleanup()
72 size_t vnc_client_write_sasl(VncState *vs) in vnc_client_write_sasl()
142 size_t vnc_client_read_sasl(VncState *vs) in vnc_client_read_sasl()
168 static int vnc_auth_sasl_check_access(VncState *vs) in vnc_auth_sasl_check_access()
207 static int vnc_auth_sasl_check_ssf(VncState *vs) in vnc_auth_sasl_check_ssf()
253 static int protocol_client_auth_sasl_step_len(VncState *vs, uint8_t *data, size_t len);
255 static int protocol_client_auth_sasl_step(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_step()
349 static int protocol_client_auth_sasl_step_len(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_step_len()
383 static int protocol_client_auth_sasl_start(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_start()
471 static int protocol_client_auth_sasl_start_len(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_start_len()
[all …]
H A Dvnc-ws.c31 VncState *vs = user_data; in vncws_tls_handshake_done()
54 VncState *vs = opaque; in vncws_tls_handshake_io()
100 VncState *vs = user_data; in vncws_handshake_done()
124 VncState *vs = opaque; in vncws_handshake_io()
H A Dvnc-enc-zlib.c49 static void vnc_zlib_start(VncState *vs) in vnc_zlib_start()
58 static int vnc_zlib_stop(VncState *vs) in vnc_zlib_stop()
121 int vnc_zlib_send_framebuffer_update(VncState *vs, int x, int y, int w, int h) in vnc_zlib_send_framebuffer_update()
148 void vnc_zlib_clear(VncState *vs) in vnc_zlib_clear()
H A Dvnc-enc-hextile.c46 int vnc_hextile_send_framebuffer_update(VncState *vs, int x, in vnc_hextile_send_framebuffer_update()
69 void vnc_hextile_set_pixel_conversion(VncState *vs, int generic) in vnc_hextile_set_pixel_conversion()
H A Dvnc-auth-vencrypt.h30 void start_auth_vencrypt(VncState *vs);
H A Dvnc-enc-zrle.c.inc65 static void ZRLE_ENCODE_TILE(VncState *vs, ZRLE_PIXEL *data, int w, int h,
73 static void ZRLE_ENCODE(VncState *vs, int x, int y, int w, int h,
96 static void ZRLE_ENCODE_TILE(VncState *vs, ZRLE_PIXEL *data, int w, int h,
H A Dvnc-enc-hextile-template.h12 static void CONCAT(send_hextile_tile_, NAME)(VncState *vs, in CONCAT()