ts-7000
[Top] [All Lists]

Re: [ts-7000] write to ts7800 frame buffer

To: <>
Subject: Re: [ts-7000] write to ts7800 frame buffer
From: "Charlie Wallace" <>
Date: Thu, 19 Jun 2008 13:59:31 -0700
the framebuffer is in RGB 565 format, so it has to be written out in that 
format, there are a few 
samples in the groups file area, and then a few posts in the archive covering 
it.


>I want to write a camera image to the ts7800 frame buffer.  I have the
> data stored in an unsigned char * array.  I opened /dev/fb0, I used
> mmap to map it to memory and then I used memcpy to write the data.
> Should that work as long as I know the correct size of my data array?
> I guessed at the size right now and its not working correctly
> (displays garbage).  I know the number of pixels of the image and the
> bands but mmap fails if I set the size to sizeof(unsigned char) *
> width * height * bands.  I guess because its too large?  Any ideas on
> how I to properly display the image?  Thanks.



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU