[XviD-devel] porting codec to palm os?
Nicholas Hardy
nicholas at errai.net
Sun Jan 9 09:37:25 CET 2005
On Saturday 08 January 2005 01:27, Pjuol Jola wrote:
> Hello, I just started checking out the xvid source.
> I'm planning to port it to Palm OS, I was wondering
> what changes that I may have to do to the source?
> Will endianess affect anything? I'm looking at
> portab.h and I'm planning at using pure C at the
> moment.
>
> As of the moment, all that I see that I should change
> would be the reading/buffering of the file.
>
> Thanks, hope you guys can give me some tips/heads up.
Pjuol,
I'm not an xvid developer, but I'm currently also working on a PalmOS port;
for an open source media player project
(http://sourceforge.net/projects/magiclantern/).
In my experience the biggest problems are the use of global variables and
large memory allocations. By moving much of this out to resources and
trimming other bits of code I've got it working reasonably well at the
moment. Most of the code seems nicely portable if you put the right stuff in
portab.h and include definitions of endianness and size.
Obviously the other changes you'll need will be the obvious things you mention
like reading the file, drawing the screen and so on.
Hope that helps a little.
Nicholas
More information about the XviD-devel
mailing list