nanogui: image loading


Previous by date: 29 May 2006 13:28:15 +0100 Re: GrCopyArea is blocking on X11, Martin Hansen
Next by date: 29 May 2006 13:28:15 +0100 nano-x and static library, Marco Rossi
Previous in thread:
Next in thread: 29 May 2006 13:28:15 +0100 Re: image loading, Greg Haerr

Subject: image loading
From: sai baba ####@####.####
Date: 29 May 2006 13:28:15 +0100
Message-Id: <20060529122812.40143.qmail@web35905.mail.mud.yahoo.com>

Hi ,
        I am running microwindows picture displaying
application on an embedded 
system with 32MB RAM which runs uclinux . Here i am
getting memory allocation 
problem due to fragmentation on uclinux when
GrLoadImageFile is called with 
an high resolution pictures(when resolution is about
1200x1000 with 24 bit ) 
. when i saw the decoding code for the images i saw
that allocation is made 
for the entire image at a time ( "malloc(pimage->pitch
* pimage->height);" ). 
Is there any alternative way to read image data
instead of allocating entire 
image data at once and decode it ?


thanks
sai

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Previous by date: 29 May 2006 13:28:15 +0100 Re: GrCopyArea is blocking on X11, Martin Hansen
Next by date: 29 May 2006 13:28:15 +0100 nano-x and static library, Marco Rossi
Previous in thread:
Next in thread: 29 May 2006 13:28:15 +0100 Re: image loading, Greg Haerr


Powered by ezmlm-browse 0.20.