<DIV>Hi all,</DIV> <DIV> </DIV> <DIV>I'm porting the Tremor code to an ARM platform. Unfortunately, we didn't use the low mem branch code for CPU performance consideration, and now I find the memory use in it is huge for the embedded system.</DIV> <DIV> </DIV> <DIV>After looking into the code, I found the header parse, especially, the codebook unpack part takes a lot of memory. Tremor decodes the codebooks to a cache to store them for further decode. And this is the dominant factor in decoder memory usage, am I right?</DIV> <DIV> </DIV> <DIV>There are two structures in this code to hold the codebooks, <STRONG>static_codebook</STRONG> and <STRONG>codebook</STRONG>. But in low mem code, there are only one structure - <STRONG>codebook</STRONG>. It seems <STRONG>static_codebook</STRONG> is redundant, and I wonder if I could replace this part with the low mem code? </DIV> <DIV> </DIV> <DIV>Since I'm not very clear about the
codebook structure, so, I'm not sure if this is feasible to reduce the memory usage? Or can someone tell me other methods to minimize the memory use?</DIV> <DIV> </DIV> <DIV>Thanks in advance.</DIV> <DIV> </DIV> <DIV>Susan </DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV><p> 
<hr size=1><a href="http://cn.mail.yahoo.com/"> ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡</a>