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/
|