Home
last modified time | relevance | path

Searched hist:"557 ba0e57200014bd4f453f6516f02b61bdfc782" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/ui/
H A Dvnc-enc-zrle.cdiff 557ba0e57200014bd4f453f6516f02b61bdfc782 Mon Jan 20 23:00:52 CST 2020 Cameron Esfahani <dirty@apple.com> vnc: prioritize ZRLE compression over ZLIB

In my investigation, ZRLE always compresses better than ZLIB so
prioritize ZRLE over ZLIB, even if the client hints that ZLIB is
preferred.

zlib buffer is always reset in zrle_compress_data(), so using offset to
calculate next_out and avail_out is useless.

Signed-off-by: Cameron Esfahani <dirty@apple.com>
Message-Id: <b5d129895d08a90d0a2a6183b95875bacfa998b8.1579582674.git.dirty@apple.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
H A Dvnc.cdiff 557ba0e57200014bd4f453f6516f02b61bdfc782 Mon Jan 20 23:00:52 CST 2020 Cameron Esfahani <dirty@apple.com> vnc: prioritize ZRLE compression over ZLIB

In my investigation, ZRLE always compresses better than ZLIB so
prioritize ZRLE over ZLIB, even if the client hints that ZLIB is
preferred.

zlib buffer is always reset in zrle_compress_data(), so using offset to
calculate next_out and avail_out is useless.

Signed-off-by: Cameron Esfahani <dirty@apple.com>
Message-Id: <b5d129895d08a90d0a2a6183b95875bacfa998b8.1579582674.git.dirty@apple.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>