mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-05 03:26:17 +00:00
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
This commit is contained in:
parent
7246177d80
commit
47698b83fd
@ -48,11 +48,11 @@ void ff_kbd_window_init(float *window, float alpha, int n)
|
|||||||
window[i] = sqrt(local_window[i] / sum);
|
window[i] = sqrt(local_window[i] / sum);
|
||||||
}
|
}
|
||||||
|
|
||||||
float ff_sine_128 [ 128];
|
DECLARE_ALIGNED(16, float, ff_sine_128 [ 128]);
|
||||||
float ff_sine_256 [ 256];
|
DECLARE_ALIGNED(16, float, ff_sine_256 [ 256]);
|
||||||
float ff_sine_512 [ 512];
|
DECLARE_ALIGNED(16, float, ff_sine_512 [ 512]);
|
||||||
float ff_sine_1024[1024];
|
DECLARE_ALIGNED(16, float, ff_sine_1024[1024]);
|
||||||
float ff_sine_2048[2048];
|
DECLARE_ALIGNED(16, float, ff_sine_2048[2048]);
|
||||||
float *ff_sine_windows[5] = {
|
float *ff_sine_windows[5] = {
|
||||||
ff_sine_128, ff_sine_256, ff_sine_512, ff_sine_1024, ff_sine_2048,
|
ff_sine_128, ff_sine_256, ff_sine_512, ff_sine_1024, ff_sine_2048,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user