Webcam support in Squeak (for VOLPC)

Dan Williams dcbw at redhat.com
Wed Mar 7 15:29:19 EST 2007


On Wed, 2007-03-07 at 21:32 +0100, salsaman wrote:
> Dan Williams wrote:
> 
> >
> >We run a 1200x900 framebuffer.  You also need EXA acceleration memory
> >and more memory for RandR rotation.  Moving to 24-bit would mean the
> >loss of an additional 6MB of system memory on top of the existing 4 or 6
> >we already lose to framebuffer.
> >  
> >
> Please tell me you at least support YUV hardware scaling using SDL ?
> 
> Otherwise the framerates from LiVES in fullscreen mode will be abyssmal 
> - trying to get GDK to resize an image to 1200x900 and then converting 
> from 888 to 565 on a slow CPU will probaly result in about 1 fps (or 
> less...)

Yes, it will be slow.  The Geode has hardware YUV -> RGB conversion and
hardware scaling support which as Jordan noted is accessible through Xv.

Again, the OLPC is not meant to be even a medium line Thinkpad or
desktop or whatever that's on the market today.  You simply will not get
the performance you probably are looking for.  That's just the way the
world works.

You'll have to spend time optimizing your program for the OLPC machine
if you want decent performance, and that may entail downsizing your
expectations of how fast things are expected to go, and adjusting your
code accordingly.  It's a $100 laptop, not a $500 laptop.

Dan





More information about the Devel mailing list