]> Git Repo - qemu.git/commit - ui/vnc-enc-tight.c
vnc: tight: specific zlib level and filters for each compression level
authorCorentin Chary <[email protected]>
Wed, 7 Jul 2010 18:57:57 +0000 (20:57 +0200)
committerAnthony Liguori <[email protected]>
Mon, 26 Jul 2010 22:36:14 +0000 (17:36 -0500)
commit3941bf6fb1c98a39bf8a0cfb4feacaef2a23d0db
treed87e2e6c483687a3fd32949c894a9b7b6543de92
parentefe556adb75a20ab71f3e5b1c5b19bf045e7953f
vnc: tight: specific zlib level and filters for each compression level

Disable png filters for lower compression levels. This should lower
the CPU consumption and reduce encoding time.

This isn't in tight_conf because:
* tight_conf structure must not change, because it's shared with other
  tight implementations (libvncserver, etc..).
* it'd exceed the 80 col limit.
* PNG_ macros are only defined if CONFIG_VNC_PNG is defined

Signed-off-by: Corentin Chary <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
ui/vnc-enc-tight.c
This page took 0.025543 seconds and 4 git commands to generate.