1
0
Fork 0
forked from len0rd/rockbox

Changes to make libfaad compile in Rockbox. Also remove compiler warnings, use some IRAM (IRAM usage needs reviewing) and drastically reduce the stack usage

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7700 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-10-31 20:33:27 +00:00
parent 65de1cc6af
commit 798a4f3533
25 changed files with 334 additions and 63 deletions

View file

@ -55,8 +55,9 @@ void hf_adjustment(sbr_info *sbr, qmf_t Xsbr[MAX_NTSRHFG][64]
#endif
,uint8_t ch)
{
ALIGN sbr_hfadj_info adj = {{{0}}};
ALIGN sbr_hfadj_info adj;
memset(&adj,0,sizeof(adj));
if (sbr->bs_frame_class[ch] == FIXFIX)
{
sbr->l_A[ch] = -1;
@ -131,6 +132,7 @@ static void estimate_current_envelope(sbr_info *sbr, sbr_hfadj_info *adj,
uint8_t m, l, j, k, k_l, k_h, p;
real_t nrg, div;
(void)adj;
if (sbr->bs_interpol_freq == 1)
{
for (l = 0; l < sbr->L_E[ch]; l++)