From: Chris Krumme <chris.krumme@windriver.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 14/15] vnc: tight: tweak adaptive tight settings
Date: Wed, 11 Aug 2010 08:06:24 -0500 [thread overview]
Message-ID: <4C62A050.6060502@windriver.com> (raw)
In-Reply-To: <1281505785-22523-15-git-send-email-corentincj@iksaif.net>
Hello Corentin,
On 08/11/2010 12:49 AM, Corentin Chary wrote:
> The force_jpeg threshold was too low.
>
> Signed-off-by: Corentin Chary<corentincj@iksaif.net>
> ---
> qemu-thread.c | 1 +
> ui/vnc-enc-tight.c | 20 ++++++++++----------
> 2 files changed, 11 insertions(+), 10 deletions(-)
>
> diff --git a/qemu-thread.c b/qemu-thread.c
> index fbc78fe..4094c51 100644
> --- a/qemu-thread.c
> +++ b/qemu-thread.c
> @@ -22,6 +22,7 @@
> static void error_exit(int err, const char *msg)
> {
> fprintf(stderr, "qemu: %s: %s\n", msg, strerror(err));
> + char *p = NULL; *p = 1;
>
I do not believe this is the official way to do an assert. It is also
not documented in the change comments.
Thanks
Chris
> exit(1);
> }
>
> 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
>
>
next prev parent reply other threads:[~2010-08-11 13:06 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-11 5:49 [Qemu-devel] [PATCH 00/15] vnc: adapative tight, zrle, zywrle, and bitmap module Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 01/15] vnc: don't set the quality if lossy encoding are disabled Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 02/15] vnc: add a way to get the update frequency for a given region Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 03/15] vnc: refresh lossy rect after a given timeout Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 04/15] vnc: tight: use the update frequency to choose between lossy and lossless Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 05/15] vnc: palette: use a pool to reduce memory allocations Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 06/15] vnc: palette: add palette_init calls Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 07/15] vnc: palette: and fill and color calls Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 08/15] vnc: Add ZRLE and ZYWRLE encodings Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 09/15] vnc: fix uint8_t comparisons with negative values Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 10/15] vnc: fix lossy rect refreshing Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 11/15] bitmap: add a generic bitmap and bitops library Corentin Chary
2010-09-07 9:16 ` Stefan Hajnoczi
2010-08-11 5:49 ` [Qemu-devel] [PATCH 12/15] vnc: use the new generic bitmap functions Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 13/15] vnc: don't try to send bigger updates that client height Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 14/15] vnc: tight: tweak adaptive tight settings Corentin Chary
2010-08-11 13:06 ` Chris Krumme [this message]
2010-08-11 13:17 ` Corentin Chary
2010-08-12 6:12 ` Corentin Chary
2010-08-11 5:49 ` [Qemu-devel] [PATCH 15/15] vnc: add a non-adaptive option Corentin Chary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C62A050.6060502@windriver.com \
--to=chris.krumme@windriver.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.