summaryrefslogtreecommitdiff
path: root/ui/vnc-enc-tight.c
diff options
context:
space:
mode:
authorCorentin Chary <corentincj@iksaif.net>2011-02-04 09:06:07 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-02-23 16:28:29 -0600
commit8cb4a6b755788925eea2beead87e201dfd4ba8bc (patch)
tree6bc005fec51ff796346f7d8c4f045f2848a0e5b6 /ui/vnc-enc-tight.c
parent6c71a539c3cb3927fdea230c3ddb9e273142570f (diff)
downloadqemu-8cb4a6b755788925eea2beead87e201dfd4ba8bc.tar.gz
vnc: tight: tweak adaptive tight settings
The force_jpeg threshold was too low. Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'ui/vnc-enc-tight.c')
-rw-r--r--ui/vnc-enc-tight.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c
index 81024d5f14..82c1e96e21 100644
--- a/ui/vnc-enc-tight.c
+++ b/ui/vnc-enc-tight.c
@@ -79,16 +79,16 @@ static const struct {
int jpeg_idx; /* Allow indexed JPEG */
int jpeg_full; /* Allow full color JPEG */
} tight_jpeg_conf[] = {
- { 0, 4, 1, 1 },
- { 0, 4, 1, 1 },
- { 0, 4, 1, 1 },
- { 0, 4, 1, 1 },
- { 0, 4, 0, 1 },
- { 0.1, 4, 0, 1 },
- { 0.2, 4, 0, 1 },
- { 0.3, 6, 0, 0 },
- { 0.4, 8, 0, 0 },
- { 0.5, 10, 0, 0 },
+ { 0, 8, 1, 1 },
+ { 0, 8, 1, 1 },
+ { 0, 8, 1, 1 },
+ { 0, 8, 1, 1 },
+ { 0, 10, 1, 1 },
+ { 0.1, 10, 1, 1 },
+ { 0.2, 10, 1, 1 },
+ { 0.3, 12, 0, 0 },
+ { 0.4, 14, 0, 0 },
+ { 0.5, 16, 0, 0 },
};
#endif