blob: ed7ef7f06aa89a001633ad0154463d3f5e55c00e [file] [log] [blame]
Dan Willemsen154fce42018-11-16 23:15:45 -08001// Music bundle
Bob Badourc8375042021-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",
62 "Common/src/InstAlloc.cpp",
63 "Common/src/DC_2I_D16_TRC_WRA_01.cpp",
64 "Common/src/DC_2I_D16_TRC_WRA_01_Init.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053065 "Common/src/Copy_16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053066 "Common/src/MonoTo2I_32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053067 "Common/src/LoadConst_32.cpp",
68 "Common/src/dB_to_Lin32.cpp",
69 "Common/src/Shift_Sat_v16xv16.cpp",
70 "Common/src/Shift_Sat_v32xv32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053071 "Common/src/From2iToMono_32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053072 "Common/src/Mult3s_32x16.cpp",
73 "Common/src/NonLinComp_D16.cpp",
74 "Common/src/DelayMix_16x16.cpp",
75 "Common/src/MSTo2i_Sat_16x16.cpp",
76 "Common/src/From2iToMS_16x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053077 "Common/src/Mac3s_Sat_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053078 "Common/src/Add2_Sat_32x32.cpp",
79 "Common/src/LVC_MixSoft_1St_2i_D16C31_SAT.cpp",
80 "Common/src/LVC_MixSoft_1St_D16C31_SAT.cpp",
81 "Common/src/LVC_Mixer_VarSlope_SetTimeConstant.cpp",
82 "Common/src/LVC_Mixer_SetTimeConstant.cpp",
83 "Common/src/LVC_Mixer_SetTarget.cpp",
84 "Common/src/LVC_Mixer_GetTarget.cpp",
85 "Common/src/LVC_Mixer_Init.cpp",
86 "Common/src/LVC_Core_MixHard_1St_2i_D16C31_SAT.cpp",
87 "Common/src/LVC_Core_MixSoft_1St_2i_D16C31_WRA.cpp",
88 "Common/src/LVC_Core_MixInSoft_D16C31_SAT.cpp",
89 "Common/src/LVC_Mixer_GetCurrent.cpp",
90 "Common/src/LVC_MixSoft_2St_D16C31_SAT.cpp",
91 "Common/src/LVC_Core_MixSoft_1St_D16C31_WRA.cpp",
92 "Common/src/LVC_Core_MixHard_2St_D16C31_SAT.cpp",
93 "Common/src/LVC_MixInSoft_D16C31_SAT.cpp",
94 "Common/src/AGC_MIX_VOL_2St1Mon_D32_WRA.cpp",
95 "Common/src/LVM_Timer.cpp",
96 "Common/src/LVM_Timer_Init.cpp",
Dan Willemsen154fce42018-11-16 23:15:45 -080097 ],
98
99 local_include_dirs: [
100 "Eq/lib",
101 "Eq/src",
102 "Bass/lib",
103 "Bass/src",
104 "Common/src",
105 "Bundle/src",
106 "SpectrumAnalyzer/lib",
107 "SpectrumAnalyzer/src",
108 "StereoWidening/src",
109 "StereoWidening/lib",
110 ],
111 export_include_dirs: [
112 "Common/lib",
113 "Bundle/lib",
114 ],
Saketh Sathuvallib99e1bc2018-02-21 17:10:34 +0530115 shared_libs: [
116 "liblog",
117 ],
Rivukanta Bhattacharyac3b65792020-12-01 18:28:52 +0530118 static_libs: [
119 "libaudioutils",
120 ],
Saketh Sathuvalli7b66e3b2019-02-08 15:18:54 +0530121 header_libs: [
Harish Mahendrakar0bbbe072020-10-01 23:28:48 +0530122 "libhardware_headers",
Saketh Sathuvalli7b66e3b2019-02-08 15:18:54 +0530123 ],
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530124 cppflags: [
Dan Willemsen154fce42018-11-16 23:15:45 -0800125 "-fvisibility=hidden",
Dan Willemsen154fce42018-11-16 23:15:45 -0800126 "-Wall",
127 "-Werror",
128 ],
129
130}
131
132// Reverb library
133cc_library_static {
134 name: "libreverb",
135
136 arch: {
137 arm: {
138 instruction_set: "arm",
139 },
140 },
141
142 vendor: true,
143 srcs: [
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530144 "Reverb/src/LVREV_ApplyNewSettings.cpp",
145 "Reverb/src/LVREV_ClearAudioBuffers.cpp",
146 "Reverb/src/LVREV_GetControlParameters.cpp",
147 "Reverb/src/LVREV_GetInstanceHandle.cpp",
148 "Reverb/src/LVREV_GetMemoryTable.cpp",
149 "Reverb/src/LVREV_Process.cpp",
150 "Reverb/src/LVREV_SetControlParameters.cpp",
151 "Reverb/src/LVREV_Tables.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530152 "Common/src/InstAlloc.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530153 "Common/src/LoadConst_32.cpp",
154 "Common/src/From2iToMono_32.cpp",
155 "Common/src/Mult3s_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530156 "Common/src/Copy_16.cpp",
157 "Common/src/Mac3s_Sat_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530158 "Common/src/Shift_Sat_v32xv32.cpp",
159 "Common/src/Add2_Sat_32x32.cpp",
160 "Common/src/JoinTo2i_32x32.cpp",
161 "Common/src/MonoTo2I_32.cpp",
162 "Common/src/LVM_FO_HPF.cpp",
163 "Common/src/LVM_FO_LPF.cpp",
164 "Common/src/LVM_Polynomial.cpp",
165 "Common/src/LVM_Power10.cpp",
166 "Common/src/LVM_GetOmega.cpp",
167 "Common/src/MixSoft_2St_D32C31_SAT.cpp",
168 "Common/src/MixSoft_1St_D32C31_WRA.cpp",
169 "Common/src/MixInSoft_D32C31_SAT.cpp",
170 "Common/src/LVM_Mixer_TimeConstant.cpp",
171 "Common/src/Core_MixHard_2St_D32C31_SAT.cpp",
172 "Common/src/Core_MixSoft_1St_D32C31_WRA.cpp",
173 "Common/src/Core_MixInSoft_D32C31_SAT.cpp",
Dan Willemsen154fce42018-11-16 23:15:45 -0800174 ],
175
176 local_include_dirs: [
177 "Reverb/src",
178 "Common/src",
179 ],
180 export_include_dirs: [
181 "Reverb/lib",
182 "Common/lib",
183 ],
Rivukanta Bhattacharya04587642020-12-14 18:07:29 +0530184 static_libs: [
185 "libaudioutils",
186 ],
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530187 cppflags: [
Dan Willemsen154fce42018-11-16 23:15:45 -0800188 "-fvisibility=hidden",
Dan Willemsen154fce42018-11-16 23:15:45 -0800189 "-Wall",
190 "-Werror",
191 ],
192}