Hello,
I tested it and has expected it works. So I removed the idefed part and
only
keep your code.
regards,
Stef
St?phane VOLTZ schrieb:
> I had to put an ifdef WORDS_BIGENDIAN (like for slope tables), so that
> my
> MD6471 could work again after the endianess changes you done.
To be exact, the code i used for gamma was meant to work for both
endianesses, but does not work for either.. I forgot to mo
Hello,
I had to put an ifdef WORDS_BIGENDIAN (like for slope tables), so that
my
MD6471 could work again after the endianess changes you done.
Regards,
Stef
Hi Jon,
Jon Chambers schrieb:
> On Tue, 7 Mar 2006, Pierre Willenbrock wrote:
>> [...] I am planning to add a function that swaps the
>> bytes in place if needed which should be called on the pixel data.
>
> You may find the byte ordering calls built into the socket library
> (htons, htonl, etc)
Hi Pierre,
On Tue, 7 Mar 2006, Pierre Willenbrock wrote:
> [...] I am planning to add a function that swaps the
> bytes in place if needed which should be called on the pixel data.
You may find the byte ordering calls built into the socket library (htons,
htonl, etc) useful.
cheers,
Jon
=
Hi all,
i am planning to complete the endian conversion code in the genesys backend.
I identified the following fields where endian conversion is neccessary:
Going down to scanner:
* slope tables
* shading tables
* gamma tables
The registers need to be addressed bytewise anyways, so they don't