This is described in the CE Algorithm Creator User's Guide (see section 2.2.5 
in the latest doc):
http://www-s.ti.com/sc/techlit/sprued6

Each codec Module should implement the getStackSize() function in their 
<MODULE>.xs file.  If they _don't_, the default getStackSize() implementation 
is used, which prints out the msg below as a warning and uses "1024 integers" - 
in your case, 4kB.

If you use the Codec Packaging Wizard, this getStackSize() implementation is 
generated for you by actually interrogating your codec library(!) to determine 
the worst case stack usage:
http://wiki.davincidsp.com/index.php?title=RTSC_Codec_And_Server_Package_Wizards

And finally, there is some associated reading about stack usage and issues here:
http://wiki.davincidsp.com/index.php?title=Stack_issues

Chris

________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mohamed 
AbdElwahed
Sent: Thursday, June 19, 2008 4:45 AM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: How to specify codec stack size? DM6446

Kindly i want to know, How to set a specific DSP codec stack size?
currently, In my codec i have this Msg,
" Codecs.xxx.XXX did not supply a stack size; assuming 4096 bytes is sufficient"
is there any help, and/or document to read it.
thanks very much
------------------------------------------
Mohamed AbdElwahed Ibrahim



________________________________
Get news, entertainment and everything you care about at Live.com. Check it 
out!<http://www.live.com/getstarted.aspx>
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to