From patchwork Thu Aug 12 06:12:00 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Chary X-Patchwork-Id: 61533 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C0D69B70AF for ; Thu, 12 Aug 2010 16:14:37 +1000 (EST) Received: from localhost ([127.0.0.1]:34979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OjR3h-0006Xy-SH for incoming@patchwork.ozlabs.org; Thu, 12 Aug 2010 02:14:33 -0400 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 X-Originating-IP: 217.70.178.40 Received: from mfilter6-d.gandi.net (mfilter6-d.gandi.net [217.70.178.40]) by mrelay4-v.mgt.gandi.net (Postfix) with ESMTP id 94D56BA59; Thu, 12 Aug 2010 08:12:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter6-v Received: from mrelay4-v.mgt.gandi.net ([217.70.178.78]) by mfilter6-d.gandi.net (mfilter6-d.gandi.net [217.70.178.40]) (amavisd-new, port 10024) with ESMTP id 99SN-NS01tdI; Thu, 12 Aug 2010 08:12:05 +0200 (CEST) X-Originating-IP: 82.241.209.44 Received: from tartiflon (falgoret.iksaif.net [82.241.209.44]) (Authenticated sender: fake@iksaif.net) by mrelay4-v.mgt.gandi.net (Postfix) with ESMTPSA id 43411BA17; Thu, 12 Aug 2010 08:12:04 +0200 (CEST) From: Corentin Chary To: Qemu-development List Date: Thu, 12 Aug 2010 08:12:00 +0200 Message-Id: <1281593520-16599-1-git-send-email-corentincj@iksaif.net> X-Mailer: git-send-email 1.7.1 In-Reply-To: <4C62A050.6060502@windriver.com> References: <4C62A050.6060502@windriver.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Corentin Chary , Anthony Liguori , Alexander Graf , Andre Przywara Subject: [Qemu-devel] [PATCH 14/15] vnc: tight: tweak adaptive tight settings X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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