blob: 519a631e58268d125ef6907d7a2ba3b65a58738c [file] [log] [blame]
Ray Essickc639db22018-11-29 14:40:38 -08001// THIS FILE IS AUTOGENERATED, DO NOT EDIT
2// Generated from Android.bp.in, run ./generate_config.sh to regenerate
3
Bob Badour76e59102021-02-12 21:30:07 -08004package {
5 default_applicable_licenses: ["external_libaom_license"],
6}
7
8// Added automatically by a large-scale-change that took the approach of
9// 'apply every license found to every target'. While this makes sure we respect
10// every license restriction, it may not be entirely correct.
11//
12// e.g. GPL in an MIT project might only apply to the contrib/ directory.
13//
14// Please consider splitting the single license below into multiple licenses,
15// taking care not to lose any license_kind information, and overriding the
16// default license using the 'licenses: [...]' property on targets as needed.
17//
18// For unused files, consider creating a 'fileGroup' with "//visibility:private"
19// to attach the license to, and including a comment whether the files may be
20// used in the current project.
21// See: http://go/android-license-faq
22license {
23 name: "external_libaom_license",
24 visibility: [":__subpackages__"],
25 license_kinds: [
26 "SPDX-license-identifier-BSD",
27 "SPDX-license-identifier-ISC",
28 "SPDX-license-identifier-MIT",
29 "legacy_reciprocal",
30 "legacy_unencumbered",
31 ],
Ray Essick381b8092021-06-21 17:49:19 -070032 license_text: [
33 "libaom/LICENSE",
34 "libaom/PATENTS",
35 ],
Bob Badour76e59102021-02-12 21:30:07 -080036}
37
Johann39f13222019-01-09 11:48:14 -080038aom_av1_common_intrin_avx2 = [
Johann38edf102019-01-11 12:45:55 -080039 "libaom/av1/common/cdef_block_avx2.c",
40 "libaom/av1/common/x86/av1_inv_txfm_avx2.c",
41 "libaom/av1/common/x86/cfl_avx2.c",
42 "libaom/av1/common/x86/convolve_2d_avx2.c",
43 "libaom/av1/common/x86/convolve_avx2.c",
44 "libaom/av1/common/x86/highbd_convolve_2d_avx2.c",
45 "libaom/av1/common/x86/highbd_inv_txfm_avx2.c",
46 "libaom/av1/common/x86/highbd_jnt_convolve_avx2.c",
47 "libaom/av1/common/x86/highbd_wiener_convolve_avx2.c",
48 "libaom/av1/common/x86/jnt_convolve_avx2.c",
49 "libaom/av1/common/x86/reconinter_avx2.c",
50 "libaom/av1/common/x86/selfguided_avx2.c",
James Zernf1591c62020-05-20 15:37:59 -070051 "libaom/av1/common/x86/warp_plane_avx2.c",
Johann38edf102019-01-11 12:45:55 -080052 "libaom/av1/common/x86/wiener_convolve_avx2.c",
Ray Essickc639db22018-11-29 14:40:38 -080053]
54
Johann39f13222019-01-09 11:48:14 -080055aom_av1_common_intrin_neon = [
Johann38edf102019-01-11 12:45:55 -080056 "libaom/av1/common/arm/av1_txfm_neon.c",
57 "libaom/av1/common/arm/cfl_neon.c",
58 "libaom/av1/common/arm/convolve_neon.c",
59 "libaom/av1/common/arm/jnt_convolve_neon.c",
60 "libaom/av1/common/arm/blend_a64_hmask_neon.c",
61 "libaom/av1/common/arm/blend_a64_vmask_neon.c",
62 "libaom/av1/common/arm/reconinter_neon.c",
63 "libaom/av1/common/arm/wiener_convolve_neon.c",
64 "libaom/av1/common/arm/selfguided_neon.c",
65 "libaom/av1/common/arm/av1_inv_txfm_neon.c",
66 "libaom/av1/common/arm/warp_plane_neon.c",
67 "libaom/av1/common/cdef_block_neon.c",
Ray Essickc639db22018-11-29 14:40:38 -080068]
69
Johann39f13222019-01-09 11:48:14 -080070aom_av1_common_intrin_sse2 = [
Johann38edf102019-01-11 12:45:55 -080071 "libaom/av1/common/cdef_block_sse2.c",
72 "libaom/av1/common/x86/cfl_sse2.c",
73 "libaom/av1/common/x86/convolve_2d_sse2.c",
74 "libaom/av1/common/x86/convolve_sse2.c",
75 "libaom/av1/common/x86/highbd_convolve_2d_sse2.c",
76 "libaom/av1/common/x86/jnt_convolve_sse2.c",
77 "libaom/av1/common/x86/wiener_convolve_sse2.c",
James Zernf1591c62020-05-20 15:37:59 -070078 "libaom/av1/common/x86/warp_plane_sse2.c",
Ray Essickc639db22018-11-29 14:40:38 -080079]
80
Johann39f13222019-01-09 11:48:14 -080081aom_av1_common_intrin_sse4_1 = [
Johann38edf102019-01-11 12:45:55 -080082 "libaom/av1/common/cdef_block_sse4.c",
83 "libaom/av1/common/x86/av1_convolve_horiz_rs_sse4.c",
84 "libaom/av1/common/x86/av1_convolve_scale_sse4.c",
Johann38edf102019-01-11 12:45:55 -080085 "libaom/av1/common/x86/av1_txfm_sse4.c",
86 "libaom/av1/common/x86/filterintra_sse4.c",
87 "libaom/av1/common/x86/highbd_convolve_2d_sse4.c",
88 "libaom/av1/common/x86/highbd_inv_txfm_sse4.c",
89 "libaom/av1/common/x86/highbd_jnt_convolve_sse4.c",
90 "libaom/av1/common/x86/highbd_warp_plane_sse4.c",
91 "libaom/av1/common/x86/intra_edge_sse4.c",
92 "libaom/av1/common/x86/reconinter_sse4.c",
93 "libaom/av1/common/x86/selfguided_sse4.c",
94 "libaom/av1/common/x86/warp_plane_sse4.c",
Ray Essickc639db22018-11-29 14:40:38 -080095]
96
Johann39f13222019-01-09 11:48:14 -080097aom_av1_common_intrin_ssse3 = [
Johann38edf102019-01-11 12:45:55 -080098 "libaom/av1/common/cdef_block_ssse3.c",
99 "libaom/av1/common/x86/av1_inv_txfm_ssse3.c",
100 "libaom/av1/common/x86/cfl_ssse3.c",
101 "libaom/av1/common/x86/highbd_convolve_2d_ssse3.c",
102 "libaom/av1/common/x86/highbd_wiener_convolve_ssse3.c",
103 "libaom/av1/common/x86/jnt_convolve_ssse3.c",
104 "libaom/av1/common/x86/reconinter_ssse3.c",
Johann39f13222019-01-09 11:48:14 -0800105]
106
107aom_av1_common_intrin_vsx = [
Johann38edf102019-01-11 12:45:55 -0800108 "libaom/av1/common/ppc/cfl_ppc.c",
Johann39f13222019-01-09 11:48:14 -0800109]
110
111aom_av1_common_sources = [
Johann38edf102019-01-11 12:45:55 -0800112 "libaom/av1/common/alloccommon.c",
113 "libaom/av1/common/av1_inv_txfm1d.c",
114 "libaom/av1/common/av1_inv_txfm2d.c",
115 "libaom/av1/common/av1_loopfilter.c",
116 "libaom/av1/common/av1_txfm.c",
117 "libaom/av1/common/blockd.c",
118 "libaom/av1/common/cdef.c",
119 "libaom/av1/common/cdef_block.c",
120 "libaom/av1/common/cfl.c",
121 "libaom/av1/common/convolve.c",
122 "libaom/av1/common/debugmodes.c",
123 "libaom/av1/common/entropy.c",
124 "libaom/av1/common/entropymode.c",
125 "libaom/av1/common/entropymv.c",
126 "libaom/av1/common/frame_buffers.c",
127 "libaom/av1/common/idct.c",
128 "libaom/av1/common/mvref_common.c",
129 "libaom/av1/common/obu_util.c",
130 "libaom/av1/common/odintrin.c",
131 "libaom/av1/common/pred_common.c",
132 "libaom/av1/common/quant_common.c",
133 "libaom/av1/common/reconinter.c",
134 "libaom/av1/common/reconintra.c",
135 "libaom/av1/common/resize.c",
136 "libaom/av1/common/restoration.c",
137 "libaom/av1/common/scale.c",
138 "libaom/av1/common/scan.c",
139 "libaom/av1/common/seg_common.c",
140 "libaom/av1/common/thread_common.c",
141 "libaom/av1/common/tile_common.c",
142 "libaom/av1/common/timing.c",
143 "libaom/av1/common/txb_common.c",
144 "libaom/av1/common/warped_motion.c",
Johann39f13222019-01-09 11:48:14 -0800145]
146
147aom_av1_decoder_sources = [
Johann38edf102019-01-11 12:45:55 -0800148 "libaom/av1/av1_dx_iface.c",
149 "libaom/av1/decoder/decodeframe.c",
150 "libaom/av1/decoder/decodemv.c",
151 "libaom/av1/decoder/decoder.c",
152 "libaom/av1/decoder/decodetxb.c",
153 "libaom/av1/decoder/detokenize.c",
154 "libaom/av1/decoder/obu.c",
Johann39f13222019-01-09 11:48:14 -0800155]
156
157aom_av1_encoder_asm_sse2 = [
Johann38edf102019-01-11 12:45:55 -0800158 "libaom/av1/encoder/x86/dct_sse2.asm",
159 "libaom/av1/encoder/x86/error_sse2.asm",
Johann39f13222019-01-09 11:48:14 -0800160]
161
162aom_av1_encoder_asm_ssse3_x86_64 = [
Johann38edf102019-01-11 12:45:55 -0800163 "libaom/av1/encoder/x86/av1_quantize_ssse3_x86_64.asm",
Johann39f13222019-01-09 11:48:14 -0800164]
165
166aom_av1_encoder_intrin_avx2 = [
Johann38edf102019-01-11 12:45:55 -0800167 "libaom/av1/encoder/x86/av1_quantize_avx2.c",
168 "libaom/av1/encoder/x86/av1_highbd_quantize_avx2.c",
Ray Essickec6586d2019-03-29 15:30:55 -0700169 "libaom/av1/encoder/x86/corner_match_avx2.c",
Johann38edf102019-01-11 12:45:55 -0800170 "libaom/av1/encoder/x86/error_intrin_avx2.c",
Ray Essickec6586d2019-03-29 15:30:55 -0700171 "libaom/av1/encoder/x86/highbd_block_error_intrin_avx2.c",
Johann38edf102019-01-11 12:45:55 -0800172 "libaom/av1/encoder/x86/av1_fwd_txfm2d_avx2.c",
Ray Essickec6586d2019-03-29 15:30:55 -0700173 "libaom/av1/encoder/x86/highbd_fwd_txfm_avx2.c",
Johann38edf102019-01-11 12:45:55 -0800174 "libaom/av1/encoder/x86/wedge_utils_avx2.c",
175 "libaom/av1/encoder/x86/encodetxb_avx2.c",
176 "libaom/av1/encoder/x86/rdopt_avx2.c",
James Zernf1591c62020-05-20 15:37:59 -0700177 "libaom/av1/encoder/x86/temporal_filter_avx2.c",
Johann38edf102019-01-11 12:45:55 -0800178 "libaom/av1/encoder/x86/pickrst_avx2.c",
Johann39f13222019-01-09 11:48:14 -0800179]
180
181aom_av1_encoder_intrin_msa = [
Johann38edf102019-01-11 12:45:55 -0800182 "libaom/av1/encoder/mips/msa/error_msa.c",
183 "libaom/av1/encoder/mips/msa/fdct4x4_msa.c",
184 "libaom/av1/encoder/mips/msa/temporal_filter_msa.c",
Johann39f13222019-01-09 11:48:14 -0800185]
186
187aom_av1_encoder_intrin_neon = [
Johann38edf102019-01-11 12:45:55 -0800188 "libaom/av1/encoder/arm/neon/quantize_neon.c",
James Zernf1591c62020-05-20 15:37:59 -0700189 "libaom/av1/encoder/arm/neon/av1_error_neon.c",
Johann39f13222019-01-09 11:48:14 -0800190]
191
192aom_av1_encoder_intrin_sse2 = [
Johann38edf102019-01-11 12:45:55 -0800193 "libaom/av1/encoder/x86/av1_fwd_txfm_sse2.c",
194 "libaom/av1/encoder/x86/av1_quantize_sse2.c",
195 "libaom/av1/encoder/x86/encodetxb_sse2.c",
196 "libaom/av1/encoder/x86/highbd_block_error_intrin_sse2.c",
James Zernf1591c62020-05-20 15:37:59 -0700197 "libaom/av1/encoder/x86/temporal_filter_sse2.c",
Johann38edf102019-01-11 12:45:55 -0800198 "libaom/av1/encoder/x86/wedge_utils_sse2.c",
Johann39f13222019-01-09 11:48:14 -0800199]
200
201aom_av1_encoder_intrin_sse3 = [
Johann38edf102019-01-11 12:45:55 -0800202 "libaom/av1/encoder/x86/ml_sse3.c",
Johann39f13222019-01-09 11:48:14 -0800203]
204
205aom_av1_encoder_intrin_sse4_1 = [
Johann38edf102019-01-11 12:45:55 -0800206 "libaom/av1/encoder/x86/av1_fwd_txfm1d_sse4.c",
207 "libaom/av1/encoder/x86/av1_fwd_txfm2d_sse4.c",
208 "libaom/av1/encoder/x86/av1_highbd_quantize_sse4.c",
209 "libaom/av1/encoder/x86/corner_match_sse4.c",
210 "libaom/av1/encoder/x86/encodetxb_sse4.c",
211 "libaom/av1/encoder/x86/highbd_fwd_txfm_sse4.c",
212 "libaom/av1/encoder/x86/rdopt_sse4.c",
Ray Essickec6586d2019-03-29 15:30:55 -0700213 "libaom/av1/encoder/x86/temporal_filter_sse4.c",
Johann38edf102019-01-11 12:45:55 -0800214 "libaom/av1/encoder/x86/pickrst_sse4.c",
Johann39f13222019-01-09 11:48:14 -0800215]
216
217aom_av1_encoder_intrin_sse4_2 = [
Johann38edf102019-01-11 12:45:55 -0800218 "libaom/av1/encoder/x86/hash_sse42.c",
Johann39f13222019-01-09 11:48:14 -0800219]
220
221aom_av1_encoder_sources = [
Johann38edf102019-01-11 12:45:55 -0800222 "libaom/av1/av1_cx_iface.c",
223 "libaom/av1/encoder/aq_complexity.c",
224 "libaom/av1/encoder/aq_cyclicrefresh.c",
225 "libaom/av1/encoder/aq_variance.c",
226 "libaom/av1/encoder/av1_fwd_txfm1d.c",
227 "libaom/av1/encoder/av1_fwd_txfm2d.c",
228 "libaom/av1/encoder/av1_multi_thread.c",
229 "libaom/av1/encoder/av1_quantize.c",
230 "libaom/av1/encoder/bitstream.c",
James Zernf1591c62020-05-20 15:37:59 -0700231 "libaom/av1/encoder/cnn.c",
232 "libaom/av1/encoder/compound_type.c",
Johann38edf102019-01-11 12:45:55 -0800233 "libaom/av1/encoder/context_tree.c",
234 "libaom/av1/encoder/corner_detect.c",
235 "libaom/av1/encoder/corner_match.c",
236 "libaom/av1/encoder/cost.c",
237 "libaom/av1/encoder/encodeframe.c",
238 "libaom/av1/encoder/encodemb.c",
239 "libaom/av1/encoder/encodemv.c",
Ray Essickec6586d2019-03-29 15:30:55 -0700240 "libaom/av1/encoder/encode_strategy.c",
Johann38edf102019-01-11 12:45:55 -0800241 "libaom/av1/encoder/encoder.c",
242 "libaom/av1/encoder/encodetxb.c",
243 "libaom/av1/encoder/ethread.c",
244 "libaom/av1/encoder/extend.c",
245 "libaom/av1/encoder/firstpass.c",
246 "libaom/av1/encoder/global_motion.c",
Ray Essickec6586d2019-03-29 15:30:55 -0700247 "libaom/av1/encoder/gop_structure.c",
Johann38edf102019-01-11 12:45:55 -0800248 "libaom/av1/encoder/hash.c",
249 "libaom/av1/encoder/hash_motion.c",
250 "libaom/av1/encoder/hybrid_fwd_txfm.c",
James Zernf1591c62020-05-20 15:37:59 -0700251 "libaom/av1/encoder/interp_search.c",
Ray Essickec6586d2019-03-29 15:30:55 -0700252 "libaom/av1/encoder/level.c",
Johann38edf102019-01-11 12:45:55 -0800253 "libaom/av1/encoder/lookahead.c",
Johann38edf102019-01-11 12:45:55 -0800254 "libaom/av1/encoder/mcomp.c",
255 "libaom/av1/encoder/ml.c",
James Zernf1591c62020-05-20 15:37:59 -0700256 "libaom/av1/encoder/motion_search_facade.c",
257 "libaom/av1/encoder/mv_prec.c",
Johann38edf102019-01-11 12:45:55 -0800258 "libaom/av1/encoder/palette.c",
Ray Essickec6586d2019-03-29 15:30:55 -0700259 "libaom/av1/encoder/partition_strategy.c",
260 "libaom/av1/encoder/pass2_strategy.c",
Johann38edf102019-01-11 12:45:55 -0800261 "libaom/av1/encoder/pickcdef.c",
262 "libaom/av1/encoder/picklpf.c",
263 "libaom/av1/encoder/pickrst.c",
264 "libaom/av1/encoder/ransac.c",
265 "libaom/av1/encoder/ratectrl.c",
266 "libaom/av1/encoder/rd.c",
267 "libaom/av1/encoder/rdopt.c",
James Zernf1591c62020-05-20 15:37:59 -0700268 "libaom/av1/encoder/nonrd_pickmode.c",
Johann38edf102019-01-11 12:45:55 -0800269 "libaom/av1/encoder/reconinter_enc.c",
270 "libaom/av1/encoder/segmentation.c",
271 "libaom/av1/encoder/speed_features.c",
James Zernf1591c62020-05-20 15:37:59 -0700272 "libaom/av1/encoder/svc_layercontext.c",
Johann38edf102019-01-11 12:45:55 -0800273 "libaom/av1/encoder/temporal_filter.c",
274 "libaom/av1/encoder/tokenize.c",
Ray Essickec6586d2019-03-29 15:30:55 -0700275 "libaom/av1/encoder/tpl_model.c",
James Zernf1591c62020-05-20 15:37:59 -0700276 "libaom/av1/encoder/tx_search.c",
277 "libaom/av1/encoder/intra_mode_search.c",
Johann38edf102019-01-11 12:45:55 -0800278 "libaom/av1/encoder/wedge_utils.c",
Ray Essickec6586d2019-03-29 15:30:55 -0700279 "libaom/av1/encoder/var_based_part.c",
Johann38edf102019-01-11 12:45:55 -0800280 "libaom/third_party/fastfeat/fast.c",
281 "libaom/third_party/fastfeat/fast_9.c",
282 "libaom/third_party/fastfeat/nonmax.c",
283 "libaom/third_party/vector/vector.c",
284 "libaom/av1/encoder/dwt.c",
Johann39f13222019-01-09 11:48:14 -0800285]
286
287aom_dsp_common_asm_sse2 = [
Johann38edf102019-01-11 12:45:55 -0800288 "libaom/aom_dsp/x86/aom_convolve_copy_sse2.asm",
289 "libaom/aom_dsp/x86/aom_high_subpixel_8t_sse2.asm",
290 "libaom/aom_dsp/x86/aom_high_subpixel_bilinear_sse2.asm",
291 "libaom/aom_dsp/x86/aom_subpixel_8t_sse2.asm",
292 "libaom/aom_dsp/x86/aom_subpixel_bilinear_sse2.asm",
293 "libaom/aom_dsp/x86/highbd_intrapred_asm_sse2.asm",
294 "libaom/aom_dsp/x86/intrapred_asm_sse2.asm",
295 "libaom/aom_dsp/x86/inv_wht_sse2.asm",
Johann39f13222019-01-09 11:48:14 -0800296]
297
298aom_dsp_common_asm_ssse3 = [
Johann38edf102019-01-11 12:45:55 -0800299 "libaom/aom_dsp/x86/aom_subpixel_8t_ssse3.asm",
300 "libaom/aom_dsp/x86/aom_subpixel_bilinear_ssse3.asm",
Johann39f13222019-01-09 11:48:14 -0800301]
302
303aom_dsp_common_intrin_avx2 = [
Johann38edf102019-01-11 12:45:55 -0800304 "libaom/aom_dsp/x86/aom_subpixel_8t_intrin_avx2.c",
305 "libaom/aom_dsp/x86/fft_avx2.c",
306 "libaom/aom_dsp/x86/highbd_convolve_avx2.c",
307 "libaom/aom_dsp/x86/highbd_loopfilter_avx2.c",
308 "libaom/aom_dsp/x86/intrapred_avx2.c",
309 "libaom/aom_dsp/x86/blend_a64_mask_avx2.c",
310 "libaom/aom_dsp/x86/avg_intrin_avx2.c",
Johann39f13222019-01-09 11:48:14 -0800311]
312
313aom_dsp_common_intrin_dspr2 = [
Johann38edf102019-01-11 12:45:55 -0800314 "libaom/aom_dsp/mips/common_dspr2.c",
315 "libaom/aom_dsp/mips/convolve2_dspr2.c",
316 "libaom/aom_dsp/mips/convolve2_horiz_dspr2.c",
317 "libaom/aom_dsp/mips/convolve2_vert_dspr2.c",
318 "libaom/aom_dsp/mips/convolve8_dspr2.c",
319 "libaom/aom_dsp/mips/convolve8_horiz_dspr2.c",
320 "libaom/aom_dsp/mips/convolve8_vert_dspr2.c",
321 "libaom/aom_dsp/mips/intrapred16_dspr2.c",
322 "libaom/aom_dsp/mips/intrapred4_dspr2.c",
323 "libaom/aom_dsp/mips/intrapred8_dspr2.c",
Johann39f13222019-01-09 11:48:14 -0800324]
325
326aom_dsp_common_intrin_msa = [
Johann38edf102019-01-11 12:45:55 -0800327 "libaom/aom_dsp/mips/aom_convolve8_horiz_msa.c",
328 "libaom/aom_dsp/mips/aom_convolve8_vert_msa.c",
329 "libaom/aom_dsp/mips/aom_convolve_copy_msa.c",
330 "libaom/aom_dsp/mips/intrapred_msa.c",
Johann39f13222019-01-09 11:48:14 -0800331]
332
333aom_dsp_common_intrin_neon = [
Johann38edf102019-01-11 12:45:55 -0800334 "libaom/aom_dsp/arm/fwd_txfm_neon.c",
335 "libaom/aom_dsp/arm/loopfilter_neon.c",
336 "libaom/aom_dsp/arm/intrapred_neon.c",
337 "libaom/aom_dsp/arm/subtract_neon.c",
338 "libaom/aom_dsp/arm/blend_a64_mask_neon.c",
Johann39f13222019-01-09 11:48:14 -0800339]
340
341aom_dsp_common_intrin_sse2 = [
Johann38edf102019-01-11 12:45:55 -0800342 "libaom/aom_dsp/x86/aom_subpixel_8t_intrin_sse2.c",
343 "libaom/aom_dsp/x86/aom_asm_stubs.c",
344 "libaom/aom_dsp/x86/fft_sse2.c",
345 "libaom/aom_dsp/x86/highbd_convolve_sse2.c",
346 "libaom/aom_dsp/x86/highbd_intrapred_sse2.c",
347 "libaom/aom_dsp/x86/highbd_loopfilter_sse2.c",
348 "libaom/aom_dsp/x86/intrapred_sse2.c",
349 "libaom/aom_dsp/x86/loopfilter_sse2.c",
350 "libaom/aom_dsp/x86/avg_intrin_sse2.c",
Johann39f13222019-01-09 11:48:14 -0800351]
352
353aom_dsp_common_intrin_sse4_1 = [
Johann38edf102019-01-11 12:45:55 -0800354 "libaom/aom_dsp/x86/blend_a64_hmask_sse4.c",
355 "libaom/aom_dsp/x86/blend_a64_mask_sse4.c",
356 "libaom/aom_dsp/x86/blend_a64_vmask_sse4.c",
Johann39f13222019-01-09 11:48:14 -0800357]
358
359aom_dsp_common_intrin_ssse3 = [
Johann38edf102019-01-11 12:45:55 -0800360 "libaom/aom_dsp/x86/aom_subpixel_8t_intrin_ssse3.c",
361 "libaom/aom_dsp/x86/highbd_convolve_ssse3.c",
362 "libaom/aom_dsp/x86/intrapred_ssse3.c",
Johann39f13222019-01-09 11:48:14 -0800363]
364
365aom_dsp_common_sources = [
Johann38edf102019-01-11 12:45:55 -0800366 "libaom/aom_dsp/aom_convolve.c",
367 "libaom/aom_dsp/bitreader_buffer.c",
368 "libaom/aom_dsp/bitwriter_buffer.c",
369 "libaom/aom_dsp/blend_a64_hmask.c",
370 "libaom/aom_dsp/blend_a64_mask.c",
371 "libaom/aom_dsp/blend_a64_vmask.c",
372 "libaom/aom_dsp/entcode.c",
373 "libaom/aom_dsp/fft.c",
374 "libaom/aom_dsp/intrapred.c",
375 "libaom/aom_dsp/loopfilter.c",
376 "libaom/aom_dsp/subtract.c",
377 "libaom/aom_dsp/avg.c",
Johann39f13222019-01-09 11:48:14 -0800378]
379
380aom_dsp_decoder_sources = [
Johann38edf102019-01-11 12:45:55 -0800381 "libaom/aom_dsp/binary_codes_reader.c",
James Zernf1591c62020-05-20 15:37:59 -0700382 "libaom/aom_dsp/bitreader.c",
Johann38edf102019-01-11 12:45:55 -0800383 "libaom/aom_dsp/entdec.c",
384 "libaom/aom_dsp/grain_synthesis.c",
Johann39f13222019-01-09 11:48:14 -0800385]
386
387aom_encoder_stats_sources = [
Johann38edf102019-01-11 12:45:55 -0800388 "libaom/stats/aomstats.c",
389 "libaom/stats/rate_hist.c",
Johann39f13222019-01-09 11:48:14 -0800390]
391
392aom_mem_sources = [
Johann38edf102019-01-11 12:45:55 -0800393 "libaom/aom_mem/aom_mem.c",
Johann39f13222019-01-09 11:48:14 -0800394]
395
396aom_ports_asm_x86 = [
Johann38edf102019-01-11 12:45:55 -0800397 "libaom/aom_ports/emms.asm",
Johann39f13222019-01-09 11:48:14 -0800398]
399
400aom_rtcd_sources = [
Johann38edf102019-01-11 12:45:55 -0800401 "libaom/aom_dsp/aom_dsp_rtcd.c",
402 "libaom/aom_scale/aom_scale_rtcd.c",
403 "libaom/av1/common/av1_rtcd.c",
Johann39f13222019-01-09 11:48:14 -0800404]
405
406aom_scale_intrin_dspr2 = [
Johann38edf102019-01-11 12:45:55 -0800407 "libaom/aom_scale/mips/dspr2/yv12extend_dspr2.c",
Johann39f13222019-01-09 11:48:14 -0800408]
409
410aom_scale_sources = [
Johann38edf102019-01-11 12:45:55 -0800411 "libaom/aom_scale/generic/aom_scale.c",
412 "libaom/aom_scale/generic/gen_scalers.c",
413 "libaom/aom_scale/generic/yv12config.c",
414 "libaom/aom_scale/generic/yv12extend.c",
Johann39f13222019-01-09 11:48:14 -0800415]
416
417aom_sources = [
Johann38edf102019-01-11 12:45:55 -0800418 "libaom/aom/src/aom_codec.c",
419 "libaom/aom/src/aom_decoder.c",
420 "libaom/aom/src/aom_encoder.c",
421 "libaom/aom/src/aom_image.c",
422 "libaom/aom/src/aom_integer.c",
Johann39f13222019-01-09 11:48:14 -0800423]
424
425aom_util_sources = [
Johann38edf102019-01-11 12:45:55 -0800426 "libaom/aom_util/aom_thread.c",
427 "libaom/aom_util/debug_util.c",
Johann39f13222019-01-09 11:48:14 -0800428]
429
430aom_webm_decoder_sources = [
Johann38edf102019-01-11 12:45:55 -0800431 "libaom/common/webmdec.cc",
Johann39f13222019-01-09 11:48:14 -0800432]
433
434aom_webm_encoder_sources = [
Johann38edf102019-01-11 12:45:55 -0800435 "libaom/common/webmenc.cc",
Johann39f13222019-01-09 11:48:14 -0800436]
437
Johann39f13222019-01-09 11:48:14 -0800438aom_rtcd_sources_gen = [
439]
440
441aom_sources_gen = [
Johann38edf102019-01-11 12:45:55 -0800442 "libaom/config/aom_config.c",
Johann39f13222019-01-09 11:48:14 -0800443]
444
445aom_version_sources_gen = [
446]
Ray Essickc639db22018-11-29 14:40:38 -0800447cc_library_static {
448 name: "libaom",
Harish Mahendrakaraab07a42019-09-06 11:05:23 -0700449 host_supported: true,
Ray Essickc639db22018-11-29 14:40:38 -0800450 vendor_available: true,
451 cflags: [
452 "-O3",
453 ],
454
455 export_include_dirs: [
456 "libaom",
457 ],
458
Ray Essickc639db22018-11-29 14:40:38 -0800459 arch: {
460 arm64: {
461 local_include_dirs: [
Johann39f13222019-01-09 11:48:14 -0800462 "config/",
Ray Essickc639db22018-11-29 14:40:38 -0800463 "config/arm64/",
464 ],
Johann39f13222019-01-09 11:48:14 -0800465 srcs: aom_av1_common_sources +
Johann38edf102019-01-11 12:45:55 -0800466 aom_av1_decoder_sources +
467 aom_dsp_common_sources +
468 aom_dsp_decoder_sources +
469 aom_mem_sources +
470 ["libaom/aom_ports/arm_cpudetect.c"] +
471 aom_rtcd_sources +
472 aom_scale_sources +
473 aom_sources +
474 aom_util_sources +
475 aom_av1_common_intrin_neon +
476 aom_dsp_common_intrin_neon,
Ray Essickc639db22018-11-29 14:40:38 -0800477 },
478
Ray Essickbbd26a92018-12-10 21:34:38 -0800479 // configured to require the neon unit
Johann39f13222019-01-09 11:48:14 -0800480 arm: {
Johann38edf102019-01-11 12:45:55 -0800481 neon: {
Johann39f13222019-01-09 11:48:14 -0800482 local_include_dirs: [
483 "config/",
484 "config/arm/",
485 ],
486 srcs: aom_av1_common_sources +
Johann38edf102019-01-11 12:45:55 -0800487 aom_av1_decoder_sources +
488 aom_dsp_common_sources +
489 aom_dsp_decoder_sources +
490 aom_mem_sources +
491 aom_rtcd_sources +
492 ["libaom/aom_ports/arm_cpudetect.c"] +
493 aom_scale_sources +
494 aom_sources +
495 aom_util_sources +
496 aom_av1_common_intrin_neon +
497 aom_dsp_common_intrin_neon,
498 },
Johann39f13222019-01-09 11:48:14 -0800499 },
Ray Essickc639db22018-11-29 14:40:38 -0800500
501 x86_64: {
502 local_include_dirs: [
Johann39f13222019-01-09 11:48:14 -0800503 "config/",
Ray Essickc639db22018-11-29 14:40:38 -0800504 "config/x86_64/",
505 ],
Harish Mahendrakaraab07a42019-09-06 11:05:23 -0700506 cflags: [
507 "-mssse3",
508 ],
Johann39f13222019-01-09 11:48:14 -0800509 srcs: aom_av1_common_sources +
Johann38edf102019-01-11 12:45:55 -0800510 aom_av1_decoder_sources +
511 aom_dsp_common_sources +
512 aom_dsp_decoder_sources +
513 aom_mem_sources +
514 aom_rtcd_sources +
515 aom_scale_sources +
516 aom_sources +
517 aom_util_sources +
518 aom_dsp_common_asm_sse2 +
519 aom_dsp_common_asm_ssse3 +
520 aom_ports_asm_x86 +
521 aom_av1_common_intrin_sse2 +
522 aom_dsp_common_intrin_sse2 +
523 aom_av1_common_intrin_ssse3 +
524 aom_dsp_common_intrin_ssse3,
Ray Essickc639db22018-11-29 14:40:38 -0800525 },
526
527 x86: {
528 local_include_dirs: [
Johann39f13222019-01-09 11:48:14 -0800529 "config/",
Ray Essickc639db22018-11-29 14:40:38 -0800530 "config/x86/",
531 ],
Harish Mahendrakaraab07a42019-09-06 11:05:23 -0700532 cflags: [
533 "-mssse3",
534 ],
Johann39f13222019-01-09 11:48:14 -0800535 srcs: aom_av1_common_sources +
Johann38edf102019-01-11 12:45:55 -0800536 aom_av1_decoder_sources +
537 aom_dsp_common_sources +
538 aom_dsp_decoder_sources +
539 aom_mem_sources +
540 aom_rtcd_sources +
541 aom_scale_sources +
542 aom_sources +
543 aom_util_sources +
Johann3d220f92019-01-11 12:43:22 -0800544 aom_dsp_common_asm_sse2 +
545 aom_dsp_common_asm_ssse3 +
546 aom_ports_asm_x86 +
547 aom_av1_common_intrin_sse2 +
548 aom_dsp_common_intrin_sse2 +
549 aom_av1_common_intrin_ssse3 +
550 aom_dsp_common_intrin_ssse3,
Ray Essickc639db22018-11-29 14:40:38 -0800551 },
552
553 },
554
Liu, Kai185035c22019-08-22 09:44:23 +0800555 sanitize: {
Pirama Arumuga Nainar49f6f652020-07-28 14:34:28 -0700556 blocklist: "libaom_blocklist.txt",
Liu, Kai185035c22019-08-22 09:44:23 +0800557 },
558
Ray Essickc639db22018-11-29 14:40:38 -0800559}
Harish Mahendrakar5ad98b02019-09-06 11:10:39 -0700560
561cc_fuzz {
562 name: "av1_dec_fuzzer",
563 host_supported: true,
564 srcs: [
565 "libaom/examples/av1_dec_fuzzer.cc",
566 ],
567 arch: {
568 arm: {
569 neon: {
570 local_include_dirs: [
571 "config/",
572 "config/arm/",
573 ],
574 },
575 },
576
577 arm64: {
578 local_include_dirs: [
579 "config/",
580 "config/arm64/",
581 ],
582 },
583
584 x86: {
585 local_include_dirs: [
586 "config/",
587 "config/x86/",
588 ],
589 },
590
591 x86_64: {
592 local_include_dirs: [
593 "config/",
594 "config/x86_64/",
595 ],
596 },
597 },
598 static_libs: [
599 "libaom",
600 ],
601}