Re: ZRLE question

2003-11-24 Thread Tristan Richardson
Jared McIntyre [EMAIL PROTECTED] wrote:

 Chicken of the VNC lately has had issues talking to RealVNC servers.
 I think the problem is in the COTVNC ZRLE decoder for subencoding
 greater than or equal to 130.  When it completes running through this
 subencoding for 16 and 24 bit color the variable data is pointing
 at a location that is not correct.  I've read through the
 documentation for the protocol, and can't see where its going wrong.
 Has something changed in the protocol in the last year or so as it
 seemed to work correctly at one point.

 Here is a slightly modified verion of their code for subencoding =
 130.  If someone with more knowledge than me about ZRLE would look at
 it and see if they can see the problem, I'd appreciate it.  (For
 those who don't know the language, the funny [] is the object message
 call in Objective-C, but that shouldn't be the problem)

The ZRLE encoding is the same as it ever was.  As far as I'm aware VNC 3.3.7
and 4.0b4 contain correct implementations of both encoding and decoding ZRLE
according to the protocol spec.

I can't see anything obviously wrong in your logic, but then without knowing
more about Objective-C it's difficult to tell.

Cheers

Tristan
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: ZRLE question

2003-11-24 Thread James Weatherall
Jared,

You could look at zrleDecode.h from the VNC distribution to see how to
decode ZRLE, or the ZRLE encoding description in the RFB 3.7 protocol
document.  From your description of the COV code, it's simply wrong, and
doesn't handle some of ZRLE's features.

Cheers,

Wez @ RealVNC Ltd.
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list