On Friday 02 February 2007 03:21, Ricardo Lugo wrote:
> Ian,
>
> I compiled the PPC binary that's on the wiki at the moment. What
> changes would I have to make to the source?

Try the following two patches. These are done against the trunk version of 
the X driver. The first patch just brings it more up to date. The second is 
the endian patch.

I may have got the byte swap wrong. If I have, the code is located in the 
FBshadowUpdatePacked routine in ivtvdev.c. It's easy enough to understand.

Also, it depends on X_BYTE_ORDER being set to X_BIG_ENDIAN. I'm not sure if 
that's the correct way or not. You may see it when you 'make' the driver. On 
my setup I see '-DX_BYTE_ORDER=X_LITTLE_ENDIAN'.

http://www.iarmst.demon.co.uk/test/xdriver-update.patch
http://www.iarmst.demon.co.uk/test/xdriver-endian.patch

> As an aside, would it be possible to change X's color map to balance
> out the endian-swapped color scheme?

Not once you drop to 16 bit mode.

-- 
Ian

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to