qemu/ui
Corentin Chary 999342a0fe vnc: add a way to get the update frequency for a given region
This patch compute the update frequency (in Hz) for each 64x64 rects.
Any adaptive encoding can get this value using vnc_update_freq(), and
switch to a lossy encoding if the value is too high.

The frequency is pre-calculated every 500ms, based on the last 10
updates per 64x64 rect.

If a 64x64 rect was not updated in the last 2 second, then the frequency
became 0, and all the stored timestamp are reseted.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-02-23 16:28:28 -06:00
..
cocoa.m Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
curses_keys.h curses: Fix control-{@[\]^_} and ESC 2010-10-21 18:31:28 +02:00
curses.c curses: Fix control-{@[\]^_} and ESC 2010-10-21 18:31:28 +02:00
d3des.c
d3des.h Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
keymaps.c
keymaps.h
qemu-spice.h spice: add chardev (v5) 2011-01-24 15:41:40 +01:00
sdl_keysym.h
sdl_zoom_template.h
sdl_zoom.c
sdl_zoom.h
sdl.c ui/sdl: Fix handling of caps lock and num lock keys 2011-02-04 06:33:26 -06:00
spice-core.c spice/vnc: client migration. 2011-01-24 15:13:54 +01:00
spice-display.c spice-display: replace private lock with qemu mutex. 2010-11-02 12:43:04 +01:00
spice-display.h spice-display: replace private lock with qemu mutex. 2010-11-02 12:43:04 +01:00
spice-input.c spice: add tablet support 2010-09-21 18:36:43 +02:00
vnc_keysym.h
vnc-auth-sasl.c vnc-auth-sasl: fix a memory leak 2011-01-12 19:48:56 +00:00
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c vnc: encapsulate encoding members 2010-07-26 17:36:14 -05:00
vnc-enc-tight.c Fix spelling in comments 2010-10-05 13:53:56 -05:00
vnc-enc-tight.h vnc: tight add PNG encoding 2010-07-26 17:36:14 -05:00
vnc-enc-zlib.c vnc: encapsulate encoding members 2010-07-26 17:36:14 -05:00
vnc-jobs-async.c vnc: qemu can die if the client is disconnected while updating screen 2011-02-04 06:33:26 -06:00
vnc-jobs-sync.c vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-jobs.h vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-palette.c vnc: tight: stop using qdict for palette stuff 2010-07-26 17:36:14 -05:00
vnc-palette.h vnc: tight: stop using qdict for palette stuff 2010-07-26 17:36:14 -05:00
vnc-tls.c
vnc-tls.h
vnc.c vnc: add a way to get the update frequency for a given region 2011-02-23 16:28:28 -06:00
vnc.h vnc: add a way to get the update frequency for a given region 2011-02-23 16:28:28 -06:00
x_keymap.c
x_keymap.h Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00