diff options
author | Robert Swain <robert.swain@gmail.com> | 2008-08-14 22:12:19 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2008-08-14 22:12:19 +0000 |
commit | 47698b83fdca802c1d806ddd983c3ca6b0c9d6da (patch) | |
tree | 66cbfe602d447acf04da08cdfed8e6f77723275d /libavcodec/mdct.c | |
parent | 7246177d806d607c4a31fd59ef355f0f25c7ab36 (diff) | |
download | ffmpeg-47698b83fdca802c1d806ddd983c3ca6b0c9d6da.tar.gz |
The ff_sine_#[] should be aligned as they will commonly be used in dsputil
functions
Originally committed as revision 14767 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mdct.c')
-rw-r--r-- | libavcodec/mdct.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/mdct.c b/libavcodec/mdct.c index 2d49520a9f..fe19f1ff3d 100644 --- a/libavcodec/mdct.c +++ b/libavcodec/mdct.c @@ -48,11 +48,11 @@ void ff_kbd_window_init(float *window, float alpha, int n) 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, }; |