Statistics
| Branch: | Revision:

root / ui @ 80e0c8c3

Latest revisions

# Date Author Comment
207f328a 02/24/2011 12:28 am Corentin Chary

vnc: fix lossy rect refreshing

The for loop in send_lossy_rect was totally wrong, and we can't
call vnc_set_bits() because it does not really do what it should.
Use vnc_set_bit() directly instead.

Signed-off-by: Corentin Chary <>
Signed-off-by: Anthony Liguori <>

bc2429b9 02/24/2011 12:28 am Corentin Chary

vnc: use the new generic bitmap functions

Switch to bitmap.h and bitops.h instead of redefining our own bitmap
helpers.

Signed-off-by: Corentin Chary <>
Signed-off-by: Anthony Liguori <>

6c71a539 02/24/2011 12:28 am Corentin Chary

vnc: don't try to send bigger updates that client height

Respect client size if it doesn't not support desktop resizing.

Signed-off-by: Corentin Chary <>
Signed-off-by: Anthony Liguori <>

8cb4a6b7 02/24/2011 12:28 am Corentin Chary

vnc: tight: tweak adaptive tight settings

The force_jpeg threshold was too low.

Signed-off-by: Corentin Chary <>
Signed-off-by: Anthony Liguori <>

80e0c8c3 02/24/2011 12:28 am Corentin Chary

vnc: add a non-adaptive option

This option allow to disable adaptive behaviors in some encodings.

Signed-off-by: Corentin Chary <>
Signed-off-by: Anthony Liguori <>

e31e3694 02/24/2011 12:28 am Corentin Chary

vnc: palette: use a pool to reduce memory allocations

We now that the palette will never have more than 256
elements. Let's use a pool to reduce malloc calls.

Signed-off-by: Corentin Chary <>
Signed-off-by: Anthony Liguori <>

72aefb76 02/24/2011 12:28 am Corentin Chary

vnc: palette: add palette_init calls

This allow to use palette on the stack instead of always
allocating them.

Signed-off-by: Corentin Chary <>
Signed-off-by: Anthony Liguori <>

f8562e32 02/24/2011 12:28 am Corentin Chary

vnc: palette: and fill and color calls.

These two helpers are needed for zrle and zywrle.

Signed-off-by: Corentin Chary <>
Signed-off-by: Anthony Liguori <>

148954fa 02/24/2011 12:28 am Corentin Chary

vnc: Add ZRLE and ZYWRLE encodings.

Add ZRLE [1] and ZYWRLE [2] encodings. The code is inspire^W stolen
from libvncserver (again), but have been rewriten to match QEMU coding
style.

[1] http://www.realvnc.com/docs/rfbproto.pdf
[2] http://micro-vnc.jp/research/remote_desktop_ng/ZYWRLE/publications/...

368d2588 02/24/2011 12:28 am Corentin Chary

vnc: fix uint8_t comparisons with negative values

Signed-off-by: Corentin Chary <>
Signed-off-by: Anthony Liguori <>

View revisions

Also available in: Atom