Re: Dealing with endianness
[email protected] Thu, 24 Mar 2005 08:09:14 +0100
| Newsgroups | gmane.comp.video.gephex.devel |
|---|---|
| Message-ID | <[email protected]> |
> How do you deal with endianness issues in GePhex? In Drone, we > have lots of filters that make use of shift/bitwise operators. When > we run them on a big-endian machine, it seems to affect the output. We don't have many effects that work on the colors directly. Those that do cast a pixel tu uint8_t[4] and access the pixels by position. So inside gephex we do not get problems, but we often had (and still have) problems with wrong colors from inputs and in outputs because for example in X11 the pixel format seems to depend on endianess... Best regards, Georg ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.