Re: [gtk-vnc-devel] [PATCH] Fix little to big endian conversion
- From: "Daniel P. Berrange" <berrange redhat com>
- To: Hiroyuki Kaguchi <fj7025cf aa jp fujitsu com>
- Cc: gtk-vnc-devel lists sourceforge net
- Subject: Re: [gtk-vnc-devel] [PATCH] Fix little to big endian conversion
- Date: Thu, 7 Feb 2008 00:16:58 +0000
Hi Hiroyuki,
I think you forgot to attach the patch :-)
Dan.
On Thu, Feb 07, 2008 at 08:57:09AM +0900, Hiroyuki Kaguchi wrote:
> When the endian between VNC server and X server is different, the displayed color is abnormal.
> This is because the endian conversion of the pixel data is not done .
>
> X server that uses big endian cannot be used.
> The reason is that most Linux vncserver sends data by little endian.
>
> Of course, Fedora8(Linux) and Windows(Xming) works fine, since it uses
> little endian for X protocol.
>
> This patch applies follows:
> (a)The endian conversion function is called by the SET_PIXEL function.
> (b)It is checked whether there is difference in endian between X server and VNC Server.
> (c)The byte_order variable is added to the gvnc_framebuffer structure.
>
> Sign-off-by: Hiroyuki Kaguchi <fj7025cf aa jp fujitsu com>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gtk-vnc-devel mailing list
> Gtk-vnc-devel lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/gtk-vnc-devel
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]