Received: from [140.186.70.92] (port=33202 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OjR1O-0005Ox-PT for qemu-devel@nongnu.org; Thu, 12 Aug 2010 02:12:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OjR1N-0005Yw-FB for qemu-devel@nongnu.org; Thu, 12 Aug 2010 02:12:10 -0400 Received: from relay4-v.mail.gandi.net ([217.70.178.78]:39586 helo=mrelay4-v.mgt.gandi.net) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjR1N-0005YV-BG for qemu-devel@nongnu.org; Thu, 12 Aug 2010 02:12:09 -0400 From: Corentin Chary Date: Thu, 12 Aug 2010 08:12:00 +0200 Message-Id: <1281593520-16599-1-git-send-email-corentincj@iksaif.net> In-Reply-To: <4C62A050.6060502@windriver.com> References: <4C62A050.6060502@windriver.com> Subject: [Qemu-devel] [PATCH 14/15] vnc: tight: tweak adaptive tight settings List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qemu-development List Cc: Corentin Chary , Anthony Liguori , Alexander Graf , Andre Przywara The force_jpeg threshold was too low. Signed-off-by: Corentin Chary --- ui/vnc-enc-tight.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c index 9f83235..b0181ff 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 -- 1.7.1