blob: 799887948e1004475f835e2ec6642f936b9878f2 [file] [log] [blame]
Dan Willemsen154fce42018-11-16 23:15:45 -08001// Music bundle
Bob Badour948e6aa2021-02-12 21:02:31 -08002package {
3 default_applicable_licenses: [
4 "frameworks_av_media_libeffects_lvm_lib_license",
5 ],
6}
7
8// Added automatically by a large-scale-change
9// See: http://go/android-license-faq
10license {
11 name: "frameworks_av_media_libeffects_lvm_lib_license",
12 visibility: [":__subpackages__"],
13 license_kinds: [
14 "SPDX-license-identifier-Apache-2.0",
15 ],
16 license_text: [
17 "NOTICE",
18 ],
19}
20
Dan Willemsen154fce42018-11-16 23:15:45 -080021cc_library_static {
22 name: "libmusicbundle",
23
24 arch: {
25 arm: {
26 instruction_set: "arm",
27 },
28 },
29
30 vendor: true,
Harish Mahendrakarceb74de2021-02-10 14:06:06 -080031 host_supported: true,
Dan Willemsen154fce42018-11-16 23:15:45 -080032 srcs: [
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053033 "StereoWidening/src/LVCS_BypassMix.cpp",
34 "StereoWidening/src/LVCS_Control.cpp",
35 "StereoWidening/src/LVCS_Equaliser.cpp",
36 "StereoWidening/src/LVCS_Init.cpp",
37 "StereoWidening/src/LVCS_Process.cpp",
38 "StereoWidening/src/LVCS_ReverbGenerator.cpp",
39 "StereoWidening/src/LVCS_StereoEnhancer.cpp",
40 "StereoWidening/src/LVCS_Tables.cpp",
41 "Bass/src/LVDBE_Control.cpp",
42 "Bass/src/LVDBE_Init.cpp",
43 "Bass/src/LVDBE_Process.cpp",
44 "Bass/src/LVDBE_Tables.cpp",
45 "Bundle/src/LVM_API_Specials.cpp",
46 "Bundle/src/LVM_Buffers.cpp",
47 "Bundle/src/LVM_Init.cpp",
48 "Bundle/src/LVM_Process.cpp",
49 "Bundle/src/LVM_Tables.cpp",
50 "Bundle/src/LVM_Control.cpp",
51 "SpectrumAnalyzer/src/LVPSA_Control.cpp",
52 "SpectrumAnalyzer/src/LVPSA_Init.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053053 "SpectrumAnalyzer/src/LVPSA_Process.cpp",
54 "SpectrumAnalyzer/src/LVPSA_QPD_Init.cpp",
55 "SpectrumAnalyzer/src/LVPSA_QPD_Process.cpp",
56 "SpectrumAnalyzer/src/LVPSA_Tables.cpp",
57 "Eq/src/LVEQNB_CalcCoef.cpp",
58 "Eq/src/LVEQNB_Control.cpp",
59 "Eq/src/LVEQNB_Init.cpp",
60 "Eq/src/LVEQNB_Process.cpp",
61 "Eq/src/LVEQNB_Tables.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053062 "Common/src/DC_2I_D16_TRC_WRA_01.cpp",
63 "Common/src/DC_2I_D16_TRC_WRA_01_Init.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053064 "Common/src/Copy_16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053065 "Common/src/MonoTo2I_32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053066 "Common/src/dB_to_Lin32.cpp",
67 "Common/src/Shift_Sat_v16xv16.cpp",
68 "Common/src/Shift_Sat_v32xv32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053069 "Common/src/From2iToMono_32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053070 "Common/src/Mult3s_32x16.cpp",
71 "Common/src/NonLinComp_D16.cpp",
72 "Common/src/DelayMix_16x16.cpp",
73 "Common/src/MSTo2i_Sat_16x16.cpp",
74 "Common/src/From2iToMS_16x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053075 "Common/src/Mac3s_Sat_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053076 "Common/src/Add2_Sat_32x32.cpp",
77 "Common/src/LVC_MixSoft_1St_2i_D16C31_SAT.cpp",
78 "Common/src/LVC_MixSoft_1St_D16C31_SAT.cpp",
79 "Common/src/LVC_Mixer_VarSlope_SetTimeConstant.cpp",
80 "Common/src/LVC_Mixer_SetTimeConstant.cpp",
81 "Common/src/LVC_Mixer_SetTarget.cpp",
82 "Common/src/LVC_Mixer_GetTarget.cpp",
83 "Common/src/LVC_Mixer_Init.cpp",
84 "Common/src/LVC_Core_MixHard_1St_2i_D16C31_SAT.cpp",
85 "Common/src/LVC_Core_MixSoft_1St_2i_D16C31_WRA.cpp",
86 "Common/src/LVC_Core_MixInSoft_D16C31_SAT.cpp",
87 "Common/src/LVC_Mixer_GetCurrent.cpp",
88 "Common/src/LVC_MixSoft_2St_D16C31_SAT.cpp",
89 "Common/src/LVC_Core_MixSoft_1St_D16C31_WRA.cpp",
90 "Common/src/LVC_Core_MixHard_2St_D16C31_SAT.cpp",
91 "Common/src/LVC_MixInSoft_D16C31_SAT.cpp",
92 "Common/src/AGC_MIX_VOL_2St1Mon_D32_WRA.cpp",
93 "Common/src/LVM_Timer.cpp",
94 "Common/src/LVM_Timer_Init.cpp",
Dan Willemsen154fce42018-11-16 23:15:45 -080095 ],
96
97 local_include_dirs: [
98 "Eq/lib",
99 "Eq/src",
100 "Bass/lib",
101 "Bass/src",
102 "Common/src",
103 "Bundle/src",
104 "SpectrumAnalyzer/lib",
105 "SpectrumAnalyzer/src",
106 "StereoWidening/src",
107 "StereoWidening/lib",
108 ],
109 export_include_dirs: [
110 "Common/lib",
111 "Bundle/lib",
112 ],
Saketh Sathuvallib99e1bc2018-02-21 17:10:34 +0530113 shared_libs: [
114 "liblog",
115 ],
Rivukanta Bhattacharyac3b65792020-12-01 18:28:52 +0530116 static_libs: [
117 "libaudioutils",
118 ],
Saketh Sathuvalli7b66e3b2019-02-08 15:18:54 +0530119 header_libs: [
Harish Mahendrakar0bbbe072020-10-01 23:28:48 +0530120 "libhardware_headers",
Saketh Sathuvalli7b66e3b2019-02-08 15:18:54 +0530121 ],
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530122 cppflags: [
Dan Willemsen154fce42018-11-16 23:15:45 -0800123 "-fvisibility=hidden",
Dan Willemsen154fce42018-11-16 23:15:45 -0800124 "-Wall",
125 "-Werror",
126 ],
127
128}
129
130// Reverb library
131cc_library_static {
132 name: "libreverb",
133
134 arch: {
135 arm: {
136 instruction_set: "arm",
137 },
138 },
139
140 vendor: true,
Harish Mahendrakar6d2e79b2021-02-17 13:47:44 -0800141 host_supported: true,
Dan Willemsen154fce42018-11-16 23:15:45 -0800142 srcs: [
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530143 "Reverb/src/LVREV_ApplyNewSettings.cpp",
144 "Reverb/src/LVREV_ClearAudioBuffers.cpp",
145 "Reverb/src/LVREV_GetControlParameters.cpp",
146 "Reverb/src/LVREV_GetInstanceHandle.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530147 "Reverb/src/LVREV_Process.cpp",
148 "Reverb/src/LVREV_SetControlParameters.cpp",
149 "Reverb/src/LVREV_Tables.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530150 "Common/src/From2iToMono_32.cpp",
151 "Common/src/Mult3s_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530152 "Common/src/Copy_16.cpp",
153 "Common/src/Mac3s_Sat_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530154 "Common/src/Shift_Sat_v32xv32.cpp",
155 "Common/src/Add2_Sat_32x32.cpp",
156 "Common/src/JoinTo2i_32x32.cpp",
157 "Common/src/MonoTo2I_32.cpp",
158 "Common/src/LVM_FO_HPF.cpp",
159 "Common/src/LVM_FO_LPF.cpp",
160 "Common/src/LVM_Polynomial.cpp",
161 "Common/src/LVM_Power10.cpp",
162 "Common/src/LVM_GetOmega.cpp",
163 "Common/src/MixSoft_2St_D32C31_SAT.cpp",
164 "Common/src/MixSoft_1St_D32C31_WRA.cpp",
165 "Common/src/MixInSoft_D32C31_SAT.cpp",
166 "Common/src/LVM_Mixer_TimeConstant.cpp",
167 "Common/src/Core_MixHard_2St_D32C31_SAT.cpp",
168 "Common/src/Core_MixSoft_1St_D32C31_WRA.cpp",
169 "Common/src/Core_MixInSoft_D32C31_SAT.cpp",
Dan Willemsen154fce42018-11-16 23:15:45 -0800170 ],
171
172 local_include_dirs: [
173 "Reverb/src",
174 "Common/src",
175 ],
176 export_include_dirs: [
177 "Reverb/lib",
178 "Common/lib",
179 ],
Rivukanta Bhattacharya04587642020-12-14 18:07:29 +0530180 static_libs: [
181 "libaudioutils",
182 ],
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530183 cppflags: [
Dan Willemsen154fce42018-11-16 23:15:45 -0800184 "-fvisibility=hidden",
Dan Willemsen154fce42018-11-16 23:15:45 -0800185 "-Wall",
186 "-Werror",
187 ],
188}