Mercurial > libavcodec.hg
changeset 1142:592fb56e562f libavcodec
merging a small amount of the changes from BroadQ, the rest is either not clean / doesnt apply / or is PS2 specific (someone with a PS2 should merge/send a patch for the later)
author | michaelni |
---|---|
date | Tue, 18 Mar 2003 17:22:23 +0000 |
parents | 6d6003cf89c2 |
children | a4facfd78935 |
files | mpegaudiodec.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegaudiodec.c Mon Mar 17 11:02:33 2003 +0000 +++ b/mpegaudiodec.c Tue Mar 18 17:22:23 2003 +0000 @@ -86,9 +86,9 @@ int mode; int mode_ext; int lsf; - MPA_INT synth_buf[MPA_MAX_CHANNELS][512 * 2]; + MPA_INT synth_buf[MPA_MAX_CHANNELS][512 * 2] __attribute__((aligned(16))); int synth_buf_offset[MPA_MAX_CHANNELS]; - int32_t sb_samples[MPA_MAX_CHANNELS][36][SBLIMIT]; + int32_t sb_samples[MPA_MAX_CHANNELS][36][SBLIMIT] __attribute__((aligned(16))); int32_t mdct_buf[MPA_MAX_CHANNELS][SBLIMIT * 18]; /* previous samples, for layer 3 MDCT */ #ifdef DEBUG int frame_count; @@ -170,7 +170,7 @@ FIXR(1.68179283050742908605), }; -static MPA_INT window[512]; +static MPA_INT window[512] __attribute__((aligned(16))); /* layer 1 unscaling */ /* n = number of bits of the mantissa minus 1 */