[Spice-devel] jpeg problem

乱舞 738899569 at qq.com
Tue Jul 21 02:54:09 PDT 2015


hi,all:
    When  I  transport images with jpeg in spice  to  reduce bandwidth.
i modify the spice-server   red_worker.c


worker->jpeg_state = SPICE_WAN_COMPRESSION_ALWAYS;
it worked, but caused some image visual problems,
if use jpeg ,there is a black rectangle In the upper left corner of lock screen(picture 1 inside the redline). 
and when i move the window there would be many black lines on the screen (picture 2)
when use glz ,quic,or lz4, There would not be such a problem. But when I use jpeg ,the bandwidth would be lower,so I need to solve the problem.
How to solve this problem ? because of  lossy ? 
picture1

picture 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150721/70da9690/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FB30CF58 at 919A0051.C116AE55
Type: application/octet-stream
Size: 41978 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150721/70da9690/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6690B29C at 919A0051.C116AE55
Type: application/octet-stream
Size: 142469 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150721/70da9690/attachment-0003.obj>


More information about the Spice-devel mailing list