Mercurial > libavcodec.hg
changeset 7577:ed956c3c2cf3 libavcodec
The ff_sine_#[] should be aligned as they will commonly be used in dsputil
functions
author | superdump |
---|---|
date | Thu, 14 Aug 2008 22:12:19 +0000 |
parents | e50e9def7428 |
children | a05954c505ab |
files | mdct.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mdct.c Thu Aug 14 22:01:59 2008 +0000 +++ b/mdct.c Thu Aug 14 22:12:19 2008 +0000 @@ -48,11 +48,11 @@ window[i] = sqrt(local_window[i] / sum); } -float ff_sine_128 [ 128]; -float ff_sine_256 [ 256]; -float ff_sine_512 [ 512]; -float ff_sine_1024[1024]; -float ff_sine_2048[2048]; +DECLARE_ALIGNED(16, float, ff_sine_128 [ 128]); +DECLARE_ALIGNED(16, float, ff_sine_256 [ 256]); +DECLARE_ALIGNED(16, float, ff_sine_512 [ 512]); +DECLARE_ALIGNED(16, float, ff_sine_1024[1024]); +DECLARE_ALIGNED(16, float, ff_sine_2048[2048]); float *ff_sine_windows[5] = { ff_sine_128, ff_sine_256, ff_sine_512, ff_sine_1024, ff_sine_2048, };