Bug 1732219 - Add API for fetching the preview image. r=geckoview-reviewers,agi,mconley
[gecko.git] / media / openmax_dl / dl / moz.build
blobb263d9f036fdc9a0fabd8d40c6776984e2edc9f9
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']:
8     Library('openmax_dl')
10     EXPORTS.dl.api += [
11         'api/armCOMM_s.h',
12         'api/armOMX.h',
13         'api/omxtypes.h',
14         'api/omxtypes_s.h',
15     ]
17     EXPORTS.dl.sp.api += [
18         'sp/api/armSP.h',
19         'sp/api/omxSP.h',
20     ]
22     SOURCES += [
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',
37     ]
39     SOURCES += [
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',
77     ]
79     LOCAL_INCLUDES += [
80         '..',
81         'api'
82     ]
84     DEFINES['BIG_FFT_TABLE'] = True
86     FINAL_LIBRARY = 'xul'
88     if CONFIG['CC_TYPE'] == 'clang':
89         ASFLAGS += [
90             '-no-integrated-as',
91         ]
92