1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['BUILD_ARM_NEON']:
17 EXPORTS.dl.sp.api += [
23 'sp/src/armSP_FFT_F32TwiddleTable.c',
24 'sp/src/armSP_FFT_S32TwiddleTable.c',
25 'sp/src/omxSP_FFTGetBufSize_C_FC32.c',
26 'sp/src/omxSP_FFTGetBufSize_C_SC16.c',
27 'sp/src/omxSP_FFTGetBufSize_C_SC32.c',
28 'sp/src/omxSP_FFTGetBufSize_R_F32.c',
29 'sp/src/omxSP_FFTGetBufSize_R_S16S32.c',
30 'sp/src/omxSP_FFTGetBufSize_R_S32.c',
31 'sp/src/omxSP_FFTInit_C_FC32.c',
32 'sp/src/omxSP_FFTInit_C_SC16.c',
33 'sp/src/omxSP_FFTInit_C_SC32.c',
34 'sp/src/omxSP_FFTInit_R_F32.c',
35 'sp/src/omxSP_FFTInit_R_S16S32.c',
36 'sp/src/omxSP_FFTInit_R_S32.c',
40 'sp/src/armSP_FFT_CToC_FC32_Radix2_fs_unsafe_s.S',
41 'sp/src/armSP_FFT_CToC_FC32_Radix2_ls_unsafe_s.S',
42 'sp/src/armSP_FFT_CToC_FC32_Radix2_unsafe_s.S',
43 'sp/src/armSP_FFT_CToC_FC32_Radix4_fs_unsafe_s.S',
44 'sp/src/armSP_FFT_CToC_FC32_Radix4_ls_unsafe_s.S',
45 'sp/src/armSP_FFT_CToC_FC32_Radix4_unsafe_s.S',
46 'sp/src/armSP_FFT_CToC_FC32_Radix8_fs_unsafe_s.S',
47 'sp/src/armSP_FFT_CToC_SC16_Radix2_fs_unsafe_s.S',
48 'sp/src/armSP_FFT_CToC_SC16_Radix2_ls_unsafe_s.S',
49 'sp/src/armSP_FFT_CToC_SC16_Radix2_ps_unsafe_s.S',
50 'sp/src/armSP_FFT_CToC_SC16_Radix2_unsafe_s.S',
51 'sp/src/armSP_FFT_CToC_SC16_Radix4_fs_unsafe_s.S',
52 'sp/src/armSP_FFT_CToC_SC16_Radix4_ls_unsafe_s.S',
53 'sp/src/armSP_FFT_CToC_SC16_Radix4_unsafe_s.S',
54 'sp/src/armSP_FFT_CToC_SC16_Radix8_fs_unsafe_s.S',
55 'sp/src/armSP_FFT_CToC_SC32_Radix2_fs_unsafe_s.S',
56 'sp/src/armSP_FFT_CToC_SC32_Radix2_ls_unsafe_s.S',
57 'sp/src/armSP_FFT_CToC_SC32_Radix2_unsafe_s.S',
58 'sp/src/armSP_FFT_CToC_SC32_Radix4_fs_unsafe_s.S',
59 'sp/src/armSP_FFT_CToC_SC32_Radix4_ls_unsafe_s.S',
60 'sp/src/armSP_FFT_CToC_SC32_Radix4_unsafe_s.S',
61 'sp/src/armSP_FFT_CToC_SC32_Radix8_fs_unsafe_s.S',
62 'sp/src/armSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S',
63 'sp/src/armSP_FFTInv_CCSToR_S32_preTwiddleRadix2_unsafe_s.S',
64 'sp/src/omxSP_FFTFwd_CToC_FC32_Sfs_s.S',
65 'sp/src/omxSP_FFTFwd_CToC_SC16_Sfs_s.S',
66 'sp/src/omxSP_FFTFwd_CToC_SC32_Sfs_s.S',
67 'sp/src/omxSP_FFTFwd_RToCCS_F32_Sfs_s.S',
68 'sp/src/omxSP_FFTFwd_RToCCS_S16S32_Sfs_s.S',
69 'sp/src/omxSP_FFTFwd_RToCCS_S32_Sfs_s.S',
70 'sp/src/omxSP_FFTInv_CCSToR_F32_Sfs_s.S',
71 'sp/src/omxSP_FFTInv_CCSToR_F32_Sfs_unscaled_s.S',
72 'sp/src/omxSP_FFTInv_CCSToR_S32_Sfs_s.S',
73 'sp/src/omxSP_FFTInv_CCSToR_S32S16_Sfs_s.S',
74 'sp/src/omxSP_FFTInv_CToC_FC32_Sfs_s.S',
75 'sp/src/omxSP_FFTInv_CToC_SC16_Sfs_s.S',
76 'sp/src/omxSP_FFTInv_CToC_SC32_Sfs_s.S',
84 DEFINES['BIG_FFT_TABLE'] = True
88 if CONFIG['CC_TYPE'] == 'clang':