forked from len0rd/rockbox
Use MEM_ALIGN_ATTR in libfaad. Remove global array and re-use existing one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29211 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f3adc77fd5
commit
8033cb6250
14 changed files with 95 additions and 95 deletions
|
|
@ -65,7 +65,7 @@ uint8_t is_ltp_ot(uint8_t object_type)
|
|||
return 0;
|
||||
}
|
||||
|
||||
ALIGN static const real_t codebook[8] =
|
||||
static const real_t codebook[8] MEM_ALIGN_ATTR =
|
||||
{
|
||||
REAL_CONST(0.570829),
|
||||
REAL_CONST(0.696616),
|
||||
|
|
@ -77,8 +77,8 @@ ALIGN static const real_t codebook[8] =
|
|||
REAL_CONST(1.369533)
|
||||
};
|
||||
|
||||
ALIGN real_t x_est[2048];
|
||||
ALIGN real_t X_est[2048];
|
||||
static real_t x_est[2048] MEM_ALIGN_ATTR;
|
||||
static real_t X_est[2048] MEM_ALIGN_ATTR;
|
||||
void lt_prediction(ic_stream *ics, ltp_info *ltp, real_t *spec,
|
||||
int16_t *lt_pred_stat, fb_info *fb, uint8_t win_shape,
|
||||
uint8_t win_shape_prev, uint8_t sr_index,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue