summaryrefslogtreecommitdiffstats
path: root/media/openmax_dl/dl/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'media/openmax_dl/dl/moz.build')
-rw-r--r--media/openmax_dl/dl/moz.build49
1 files changed, 49 insertions, 0 deletions
diff --git a/media/openmax_dl/dl/moz.build b/media/openmax_dl/dl/moz.build
new file mode 100644
index 0000000000..9a091c69ed
--- /dev/null
+++ b/media/openmax_dl/dl/moz.build
@@ -0,0 +1,49 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+if CONFIG['TARGET_CPU'] == 'arm' and CONFIG['BUILD_ARM_NEON']:
+ Library('openmax_dl')
+
+ EXPORTS.dl.api += [
+ 'api/armCOMM_s.h',
+ 'api/armOMX.h',
+ 'api/omxtypes.h',
+ 'api/omxtypes_s.h',
+ ]
+
+ EXPORTS.dl.sp.api += [
+ 'sp/api/armSP.h',
+ 'sp/api/omxSP.h',
+ ]
+
+ SOURCES += [
+ 'sp/src/armSP_FFT_F32TwiddleTable.c',
+ 'sp/src/omxSP_FFTGetBufSize_R_F32.c',
+ 'sp/src/omxSP_FFTGetBufSize_R_S32.c',
+ 'sp/src/omxSP_FFTInit_R_F32.c',
+ ]
+
+ SOURCES += [
+ 'sp/src/armSP_FFT_CToC_FC32_Radix2_fs_unsafe_s.S',
+ 'sp/src/armSP_FFT_CToC_FC32_Radix2_ls_unsafe_s.S',
+ 'sp/src/armSP_FFT_CToC_FC32_Radix2_unsafe_s.S',
+ 'sp/src/armSP_FFT_CToC_FC32_Radix4_fs_unsafe_s.S',
+ 'sp/src/armSP_FFT_CToC_FC32_Radix4_ls_unsafe_s.S',
+ 'sp/src/armSP_FFT_CToC_FC32_Radix4_unsafe_s.S',
+ 'sp/src/armSP_FFT_CToC_FC32_Radix8_fs_unsafe_s.S',
+ 'sp/src/armSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S',
+ 'sp/src/omxSP_FFTFwd_RToCCS_F32_Sfs_s.S',
+ 'sp/src/omxSP_FFTInv_CCSToR_F32_Sfs_unscaled_s.S',
+ ]
+
+ LOCAL_INCLUDES += [
+ '..',
+ 'api'
+ ]
+
+ DEFINES['BIG_FFT_TABLE'] = True
+
+ FINAL_LIBRARY = 'xul'