• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS.  PLEASE
2//     CONSULT YOUR go/whichlawyer LEGAL TEAM MEMBER BEFORE
3//     DEPENDING ON IT IN YOUR PROJECT. ***
4// THIS FILE IS AUTOGENERATED, DO NOT EDIT
5// Generated from Android.bp.in, run ./generate_config.sh to regenerate
6
7aom_av1_common_intrin_avx2 = [
8    "av1/common/x86/av1_inv_txfm_avx2.c",
9    "av1/common/x86/cdef_block_avx2.c",
10    "av1/common/x86/cfl_avx2.c",
11    "av1/common/x86/convolve_2d_avx2.c",
12    "av1/common/x86/convolve_avx2.c",
13    "av1/common/x86/highbd_convolve_2d_avx2.c",
14    "av1/common/x86/highbd_inv_txfm_avx2.c",
15    "av1/common/x86/highbd_jnt_convolve_avx2.c",
16    "av1/common/x86/highbd_warp_affine_avx2.c",
17    "av1/common/x86/highbd_wiener_convolve_avx2.c",
18    "av1/common/x86/jnt_convolve_avx2.c",
19    "av1/common/x86/reconinter_avx2.c",
20    "av1/common/x86/selfguided_avx2.c",
21    "av1/common/x86/warp_plane_avx2.c",
22    "av1/common/x86/wiener_convolve_avx2.c",
23]
24
25aom_av1_common_intrin_neon = [
26    "av1/common/arm/av1_inv_txfm_neon.c",
27    "av1/common/arm/av1_txfm_neon.c",
28    "av1/common/arm/blend_a64_hmask_neon.c",
29    "av1/common/arm/blend_a64_vmask_neon.c",
30    "av1/common/arm/cdef_block_neon.c",
31    "av1/common/arm/cfl_neon.c",
32    "av1/common/arm/convolve_neon.c",
33    "av1/common/arm/highbd_inv_txfm_neon.c",
34    "av1/common/arm/jnt_convolve_neon.c",
35    "av1/common/arm/reconinter_neon.c",
36    "av1/common/arm/reconintra_neon.c",
37    "av1/common/arm/resize_neon.c",
38    "av1/common/arm/selfguided_neon.c",
39    "av1/common/arm/warp_plane_neon.c",
40    "av1/common/arm/wiener_convolve_neon.c",
41]
42
43aom_av1_common_intrin_sse2 = [
44    "av1/common/x86/cdef_block_sse2.c",
45    "av1/common/x86/cfl_sse2.c",
46    "av1/common/x86/convolve_2d_sse2.c",
47    "av1/common/x86/convolve_sse2.c",
48    "av1/common/x86/jnt_convolve_sse2.c",
49    "av1/common/x86/warp_plane_sse2.c",
50    "av1/common/x86/wiener_convolve_sse2.c",
51]
52
53aom_av1_common_intrin_sse4_1 = [
54    "av1/common/x86/av1_convolve_horiz_rs_sse4.c",
55    "av1/common/x86/av1_convolve_scale_sse4.c",
56    "av1/common/x86/av1_txfm_sse4.c",
57    "av1/common/x86/cdef_block_sse4.c",
58    "av1/common/x86/filterintra_sse4.c",
59    "av1/common/x86/highbd_convolve_2d_sse4.c",
60    "av1/common/x86/highbd_inv_txfm_sse4.c",
61    "av1/common/x86/highbd_jnt_convolve_sse4.c",
62    "av1/common/x86/highbd_warp_plane_sse4.c",
63    "av1/common/x86/intra_edge_sse4.c",
64    "av1/common/x86/reconinter_sse4.c",
65    "av1/common/x86/selfguided_sse4.c",
66    "av1/common/x86/warp_plane_sse4.c",
67]
68
69aom_av1_common_intrin_ssse3 = [
70    "av1/common/x86/av1_inv_txfm_ssse3.c",
71    "av1/common/x86/cdef_block_ssse3.c",
72    "av1/common/x86/cfl_ssse3.c",
73    "av1/common/x86/highbd_convolve_2d_ssse3.c",
74    "av1/common/x86/highbd_wiener_convolve_ssse3.c",
75    "av1/common/x86/jnt_convolve_ssse3.c",
76    "av1/common/x86/reconinter_ssse3.c",
77    "av1/common/x86/resize_ssse3.c",
78]
79
80aom_av1_common_intrin_vsx = [
81    "av1/common/ppc/cfl_ppc.c",
82]
83
84aom_av1_common_sources = [
85    "av1/arg_defs.c",
86    "av1/common/alloccommon.c",
87    "av1/common/av1_inv_txfm1d.c",
88    "av1/common/av1_inv_txfm2d.c",
89    "av1/common/av1_loopfilter.c",
90    "av1/common/av1_txfm.c",
91    "av1/common/blockd.c",
92    "av1/common/cdef.c",
93    "av1/common/cdef_block.c",
94    "av1/common/cfl.c",
95    "av1/common/common_data.c",
96    "av1/common/convolve.c",
97    "av1/common/debugmodes.c",
98    "av1/common/entropy.c",
99    "av1/common/entropymode.c",
100    "av1/common/entropymv.c",
101    "av1/common/frame_buffers.c",
102    "av1/common/idct.c",
103    "av1/common/mvref_common.c",
104    "av1/common/obu_util.c",
105    "av1/common/pred_common.c",
106    "av1/common/quant_common.c",
107    "av1/common/reconinter.c",
108    "av1/common/reconintra.c",
109    "av1/common/resize.c",
110    "av1/common/restoration.c",
111    "av1/common/scale.c",
112    "av1/common/scan.c",
113    "av1/common/seg_common.c",
114    "av1/common/thread_common.c",
115    "av1/common/tile_common.c",
116    "av1/common/timing.c",
117    "av1/common/txb_common.c",
118    "av1/common/warped_motion.c",
119    "common/args_helper.c",
120]
121
122aom_av1_decoder_sources = [
123    "av1/av1_dx_iface.c",
124    "av1/decoder/decodeframe.c",
125    "av1/decoder/decodemv.c",
126    "av1/decoder/decoder.c",
127    "av1/decoder/decodetxb.c",
128    "av1/decoder/detokenize.c",
129    "av1/decoder/grain_synthesis.c",
130    "av1/decoder/obu.c",
131]
132
133aom_av1_encoder_asm_sse2 = [
134    "av1/encoder/x86/dct_sse2.asm",
135    "av1/encoder/x86/error_sse2.asm",
136]
137
138aom_av1_encoder_asm_ssse3_x86_64 = [
139    "av1/encoder/x86/av1_quantize_ssse3_x86_64.asm",
140]
141
142aom_av1_encoder_intrin_arm_crc32 = [
143    "av1/encoder/arm/crc32/hash_crc32.c",
144]
145
146aom_av1_encoder_intrin_avx2 = [
147    "av1/encoder/x86/av1_fwd_txfm2d_avx2.c",
148    "av1/encoder/x86/av1_highbd_quantize_avx2.c",
149    "av1/encoder/x86/av1_k_means_avx2.c",
150    "av1/encoder/x86/av1_quantize_avx2.c",
151    "av1/encoder/x86/cnn_avx2.c",
152    "av1/encoder/x86/encodetxb_avx2.c",
153    "av1/encoder/x86/error_intrin_avx2.c",
154    "av1/encoder/x86/highbd_block_error_intrin_avx2.c",
155    "av1/encoder/x86/highbd_fwd_txfm_avx2.c",
156    "av1/encoder/x86/highbd_temporal_filter_avx2.c",
157    "av1/encoder/x86/pickrst_avx2.c",
158    "av1/encoder/x86/rdopt_avx2.c",
159    "av1/encoder/x86/temporal_filter_avx2.c",
160    "av1/encoder/x86/wedge_utils_avx2.c",
161]
162
163aom_av1_encoder_intrin_neon = [
164    "av1/encoder/arm/neon/av1_error_neon.c",
165    "av1/encoder/arm/neon/av1_fwd_txfm2d_neon.c",
166    "av1/encoder/arm/neon/av1_highbd_quantize_neon.c",
167    "av1/encoder/arm/neon/encodetxb_neon.c",
168    "av1/encoder/arm/neon/highbd_fwd_txfm_neon.c",
169    "av1/encoder/arm/neon/hybrid_fwd_txfm_neon.c",
170    "av1/encoder/arm/neon/ml_neon.c",
171    "av1/encoder/arm/neon/picksrt_neon.c",
172    "av1/encoder/arm/neon/quantize_neon.c",
173    "av1/encoder/arm/neon/rdopt_neon.c",
174    "av1/encoder/arm/neon/temporal_filter_neon.c",
175    "av1/encoder/arm/neon/wedge_utils_neon.c",
176]
177
178aom_av1_encoder_intrin_sse2 = [
179    "av1/encoder/x86/av1_fwd_txfm_sse2.c",
180    "av1/encoder/x86/av1_k_means_sse2.c",
181    "av1/encoder/x86/av1_quantize_sse2.c",
182    "av1/encoder/x86/encodetxb_sse2.c",
183    "av1/encoder/x86/error_intrin_sse2.c",
184    "av1/encoder/x86/highbd_block_error_intrin_sse2.c",
185    "av1/encoder/x86/highbd_temporal_filter_sse2.c",
186    "av1/encoder/x86/reconinter_enc_sse2.c",
187    "av1/encoder/x86/temporal_filter_sse2.c",
188    "av1/encoder/x86/wedge_utils_sse2.c",
189]
190
191aom_av1_encoder_intrin_sse3 = [
192    "av1/encoder/x86/ml_sse3.c",
193]
194
195aom_av1_encoder_intrin_sse4_1 = [
196    "av1/encoder/x86/av1_fwd_txfm1d_sse4.c",
197    "av1/encoder/x86/av1_fwd_txfm2d_sse4.c",
198    "av1/encoder/x86/av1_highbd_quantize_sse4.c",
199    "av1/encoder/x86/encodetxb_sse4.c",
200    "av1/encoder/x86/highbd_fwd_txfm_sse4.c",
201    "av1/encoder/x86/pickrst_sse4.c",
202    "av1/encoder/x86/rdopt_sse4.c",
203]
204
205aom_av1_encoder_intrin_sse4_2 = [
206    "av1/encoder/x86/hash_sse42.c",
207]
208
209aom_av1_encoder_intrin_ssse3 = [
210    "av1/encoder/x86/reconinter_enc_ssse3.c",
211]
212
213aom_av1_encoder_sources = [
214    "av1/av1_cx_iface.c",
215    "av1/encoder/allintra_vis.c",
216    "av1/encoder/aq_complexity.c",
217    "av1/encoder/aq_cyclicrefresh.c",
218    "av1/encoder/aq_variance.c",
219    "av1/encoder/av1_fwd_txfm1d.c",
220    "av1/encoder/av1_fwd_txfm2d.c",
221    "av1/encoder/av1_noise_estimate.c",
222    "av1/encoder/av1_quantize.c",
223    "av1/encoder/bitstream.c",
224    "av1/encoder/cnn.c",
225    "av1/encoder/compound_type.c",
226    "av1/encoder/context_tree.c",
227    "av1/encoder/cost.c",
228    "av1/encoder/dwt.c",
229    "av1/encoder/encode_strategy.c",
230    "av1/encoder/encodeframe.c",
231    "av1/encoder/encodeframe_utils.c",
232    "av1/encoder/encodemb.c",
233    "av1/encoder/encodemv.c",
234    "av1/encoder/encoder.c",
235    "av1/encoder/encoder_utils.c",
236    "av1/encoder/encodetxb.c",
237    "av1/encoder/ethread.c",
238    "av1/encoder/extend.c",
239    "av1/encoder/external_partition.c",
240    "av1/encoder/firstpass.c",
241    "av1/encoder/global_motion.c",
242    "av1/encoder/global_motion_facade.c",
243    "av1/encoder/gop_structure.c",
244    "av1/encoder/hash.c",
245    "av1/encoder/hash_motion.c",
246    "av1/encoder/hybrid_fwd_txfm.c",
247    "av1/encoder/interp_search.c",
248    "av1/encoder/intra_mode_search.c",
249    "av1/encoder/level.c",
250    "av1/encoder/lookahead.c",
251    "av1/encoder/mcomp.c",
252    "av1/encoder/ml.c",
253    "av1/encoder/motion_search_facade.c",
254    "av1/encoder/mv_prec.c",
255    "av1/encoder/nonrd_pickmode.c",
256    "av1/encoder/palette.c",
257    "av1/encoder/partition_search.c",
258    "av1/encoder/partition_strategy.c",
259    "av1/encoder/pass2_strategy.c",
260    "av1/encoder/pickcdef.c",
261    "av1/encoder/picklpf.c",
262    "av1/encoder/pickrst.c",
263    "av1/encoder/ratectrl.c",
264    "av1/encoder/rd.c",
265    "av1/encoder/rdopt.c",
266    "av1/encoder/reconinter_enc.c",
267    "av1/encoder/segmentation.c",
268    "av1/encoder/speed_features.c",
269    "av1/encoder/superres_scale.c",
270    "av1/encoder/svc_layercontext.c",
271    "av1/encoder/temporal_filter.c",
272    "av1/encoder/thirdpass.c",
273    "av1/encoder/tokenize.c",
274    "av1/encoder/tpl_model.c",
275    "av1/encoder/tx_search.c",
276    "av1/encoder/txb_rdopt.c",
277    "av1/encoder/var_based_part.c",
278    "av1/encoder/wedge_utils.c",
279    "third_party/fastfeat/fast.c",
280    "third_party/fastfeat/fast_9.c",
281    "third_party/fastfeat/nonmax.c",
282    "third_party/vector/vector.c",
283]
284
285aom_av1_rc_qmode_sources = [
286    "av1/qmode_rc/ducky_encode.cc",
287    "av1/qmode_rc/ratectrl_qmode.cc",
288    "av1/qmode_rc/ratectrl_qmode_interface.cc",
289    "av1/qmode_rc/reference_manager.cc",
290]
291
292aom_dsp_common_asm_sse2 = [
293    "aom_dsp/x86/aom_high_subpixel_8t_sse2.asm",
294    "aom_dsp/x86/aom_high_subpixel_bilinear_sse2.asm",
295    "aom_dsp/x86/aom_subpixel_8t_sse2.asm",
296    "aom_dsp/x86/aom_subpixel_bilinear_sse2.asm",
297    "aom_dsp/x86/highbd_intrapred_asm_sse2.asm",
298    "aom_dsp/x86/intrapred_asm_sse2.asm",
299    "aom_dsp/x86/inv_wht_sse2.asm",
300]
301
302aom_dsp_common_asm_ssse3 = [
303    "aom_dsp/x86/aom_subpixel_8t_ssse3.asm",
304    "aom_dsp/x86/aom_subpixel_bilinear_ssse3.asm",
305]
306
307aom_dsp_common_intrin_avx2 = [
308    "aom_dsp/x86/aom_convolve_copy_avx2.c",
309    "aom_dsp/x86/aom_subpixel_8t_intrin_avx2.c",
310    "aom_dsp/x86/blend_a64_mask_avx2.c",
311    "aom_dsp/x86/fft_avx2.c",
312    "aom_dsp/x86/highbd_convolve_avx2.c",
313    "aom_dsp/x86/highbd_loopfilter_avx2.c",
314    "aom_dsp/x86/intrapred_avx2.c",
315    "aom_dsp/x86/loopfilter_avx2.c",
316]
317
318aom_dsp_common_intrin_neon = [
319    "aom_dsp/arm/aom_convolve_copy_neon.c",
320    "aom_dsp/arm/blend_a64_mask_neon.c",
321    "aom_dsp/arm/fwd_txfm_neon.c",
322    "aom_dsp/arm/highbd_intrapred_neon.c",
323    "aom_dsp/arm/highbd_loopfilter_neon.c",
324    "aom_dsp/arm/intrapred_neon.c",
325    "aom_dsp/arm/loopfilter_neon.c",
326    "aom_dsp/arm/subtract_neon.c",
327]
328
329aom_dsp_common_intrin_sse2 = [
330    "aom_dsp/x86/aom_asm_stubs.c",
331    "aom_dsp/x86/aom_convolve_copy_sse2.c",
332    "aom_dsp/x86/aom_subpixel_8t_intrin_sse2.c",
333    "aom_dsp/x86/fft_sse2.c",
334    "aom_dsp/x86/highbd_convolve_sse2.c",
335    "aom_dsp/x86/highbd_intrapred_sse2.c",
336    "aom_dsp/x86/highbd_loopfilter_sse2.c",
337    "aom_dsp/x86/intrapred_sse2.c",
338    "aom_dsp/x86/loopfilter_sse2.c",
339]
340
341aom_dsp_common_intrin_sse4_1 = [
342    "aom_dsp/x86/blend_a64_hmask_sse4.c",
343    "aom_dsp/x86/blend_a64_mask_sse4.c",
344    "aom_dsp/x86/blend_a64_vmask_sse4.c",
345    "aom_dsp/x86/intrapred_sse4.c",
346]
347
348aom_dsp_common_intrin_ssse3 = [
349    "aom_dsp/x86/aom_subpixel_8t_intrin_ssse3.c",
350    "aom_dsp/x86/highbd_convolve_ssse3.c",
351    "aom_dsp/x86/intrapred_ssse3.c",
352]
353
354aom_dsp_common_sources = [
355    "aom_dsp/aom_convolve.c",
356    "aom_dsp/bitreader_buffer.c",
357    "aom_dsp/bitwriter_buffer.c",
358    "aom_dsp/blend_a64_hmask.c",
359    "aom_dsp/blend_a64_mask.c",
360    "aom_dsp/blend_a64_vmask.c",
361    "aom_dsp/entcode.c",
362    "aom_dsp/fft.c",
363    "aom_dsp/intrapred.c",
364    "aom_dsp/loopfilter.c",
365    "aom_dsp/odintrin.c",
366    "aom_dsp/subtract.c",
367]
368
369aom_dsp_decoder_sources = [
370    "aom_dsp/binary_codes_reader.c",
371    "aom_dsp/bitreader.c",
372    "aom_dsp/entdec.c",
373]
374
375aom_dsp_encoder_asm_sse2 = [
376    "aom_dsp/x86/highbd_sad4d_sse2.asm",
377    "aom_dsp/x86/highbd_sad_sse2.asm",
378    "aom_dsp/x86/highbd_subpel_variance_impl_sse2.asm",
379    "aom_dsp/x86/highbd_variance_impl_sse2.asm",
380    "aom_dsp/x86/sad4d_sse2.asm",
381    "aom_dsp/x86/sad_sse2.asm",
382    "aom_dsp/x86/subpel_variance_sse2.asm",
383    "aom_dsp/x86/subtract_sse2.asm",
384]
385
386aom_dsp_encoder_asm_sse2_x86_64 = [
387    "aom_dsp/x86/ssim_sse2_x86_64.asm",
388]
389
390aom_dsp_encoder_asm_ssse3_x86_64 = [
391    "aom_dsp/x86/fwd_txfm_ssse3_x86_64.asm",
392    "aom_dsp/x86/quantize_ssse3_x86_64.asm",
393]
394
395aom_dsp_encoder_intrin_avx = [
396    "aom_dsp/x86/aom_quantize_avx.c",
397]
398
399aom_dsp_encoder_intrin_avx2 = [
400    "aom_dsp/flow_estimation/x86/corner_match_avx2.c",
401    "aom_dsp/x86/adaptive_quantize_avx2.c",
402    "aom_dsp/x86/avg_intrin_avx2.c",
403    "aom_dsp/x86/blk_sse_sum_avx2.c",
404    "aom_dsp/x86/highbd_adaptive_quantize_avx2.c",
405    "aom_dsp/x86/highbd_quantize_intrin_avx2.c",
406    "aom_dsp/x86/highbd_sad_avx2.c",
407    "aom_dsp/x86/highbd_variance_avx2.c",
408    "aom_dsp/x86/masked_sad_intrin_avx2.c",
409    "aom_dsp/x86/obmc_sad_avx2.c",
410    "aom_dsp/x86/obmc_variance_avx2.c",
411    "aom_dsp/x86/quantize_avx2.c",
412    "aom_dsp/x86/sad4d_avx2.c",
413    "aom_dsp/x86/sad_avx2.c",
414    "aom_dsp/x86/sad_impl_avx2.c",
415    "aom_dsp/x86/sse_avx2.c",
416    "aom_dsp/x86/subtract_avx2.c",
417    "aom_dsp/x86/sum_squares_avx2.c",
418    "aom_dsp/x86/variance_avx2.c",
419    "aom_dsp/x86/variance_impl_avx2.c",
420]
421
422aom_dsp_encoder_intrin_neon = [
423    "aom_dsp/arm/avg_neon.c",
424    "aom_dsp/arm/hadamard_neon.c",
425    "aom_dsp/arm/highbd_quantize_neon.c",
426    "aom_dsp/arm/highbd_variance_neon.c",
427    "aom_dsp/arm/sad4d_neon.c",
428    "aom_dsp/arm/sad_neon.c",
429    "aom_dsp/arm/sse_neon.c",
430    "aom_dsp/arm/subpel_variance_neon.c",
431    "aom_dsp/arm/sum_squares_neon.c",
432    "aom_dsp/arm/variance_neon.c",
433]
434
435aom_dsp_encoder_intrin_sse2 = [
436    "aom_dsp/x86/adaptive_quantize_sse2.c",
437    "aom_dsp/x86/avg_intrin_sse2.c",
438    "aom_dsp/x86/blk_sse_sum_sse2.c",
439    "aom_dsp/x86/fwd_txfm_sse2.c",
440    "aom_dsp/x86/highbd_adaptive_quantize_sse2.c",
441    "aom_dsp/x86/highbd_quantize_intrin_sse2.c",
442    "aom_dsp/x86/highbd_subtract_sse2.c",
443    "aom_dsp/x86/highbd_variance_sse2.c",
444    "aom_dsp/x86/quantize_sse2.c",
445    "aom_dsp/x86/sum_squares_sse2.c",
446    "aom_dsp/x86/variance_sse2.c",
447]
448
449aom_dsp_encoder_intrin_sse4_1 = [
450    "aom_dsp/flow_estimation/x86/corner_match_sse4.c",
451    "aom_dsp/x86/avg_intrin_sse4.c",
452    "aom_dsp/x86/highbd_variance_sse4.c",
453    "aom_dsp/x86/obmc_sad_sse4.c",
454    "aom_dsp/x86/obmc_variance_sse4.c",
455    "aom_dsp/x86/sse_sse4.c",
456]
457
458aom_dsp_encoder_intrin_ssse3 = [
459    "aom_dsp/x86/jnt_sad_ssse3.c",
460    "aom_dsp/x86/jnt_variance_ssse3.c",
461    "aom_dsp/x86/masked_sad4d_ssse3.c",
462    "aom_dsp/x86/masked_sad_intrin_ssse3.c",
463    "aom_dsp/x86/masked_variance_intrin_ssse3.c",
464    "aom_dsp/x86/quantize_ssse3.c",
465    "aom_dsp/x86/variance_impl_ssse3.c",
466]
467
468aom_dsp_encoder_sources = [
469    "aom_dsp/avg.c",
470    "aom_dsp/binary_codes_writer.c",
471    "aom_dsp/bitwriter.c",
472    "aom_dsp/blk_sse_sum.c",
473    "aom_dsp/entenc.c",
474    "aom_dsp/flow_estimation/corner_detect.c",
475    "aom_dsp/flow_estimation/corner_match.c",
476    "aom_dsp/flow_estimation/disflow.c",
477    "aom_dsp/flow_estimation/flow_estimation.c",
478    "aom_dsp/flow_estimation/ransac.c",
479    "aom_dsp/fwd_txfm.c",
480    "aom_dsp/grain_table.c",
481    "aom_dsp/noise_model.c",
482    "aom_dsp/noise_util.c",
483    "aom_dsp/psnr.c",
484    "aom_dsp/quantize.c",
485    "aom_dsp/sad.c",
486    "aom_dsp/sad_av1.c",
487    "aom_dsp/sse.c",
488    "aom_dsp/ssim.c",
489    "aom_dsp/sum_squares.c",
490    "aom_dsp/variance.c",
491]
492
493aom_encoder_stats_sources = [
494    "stats/aomstats.c",
495    "stats/rate_hist.c",
496]
497
498aom_mem_sources = [
499    "aom_mem/aom_mem.c",
500]
501
502aom_ports_asm_x86 = [
503    "aom_ports/float.asm",
504]
505
506aom_rc_interface_sources = [
507    "common/y4minput.c",
508    "test/decode_test_driver.cc",
509    "test/encode_test_driver.cc",
510    "test/ratectrl_rtc_test.cc",
511    "test/test_aom_rc_interface.cc",
512]
513
514aom_rtcd_sources = [
515    "aom_dsp/aom_dsp_rtcd.c",
516    "aom_scale/aom_scale_rtcd.c",
517    "av1/common/av1_rtcd.c",
518]
519
520aom_scale_sources = [
521    "aom_scale/generic/aom_scale.c",
522    "aom_scale/generic/gen_scalers.c",
523    "aom_scale/generic/yv12config.c",
524    "aom_scale/generic/yv12extend.c",
525]
526
527aom_sources = [
528    "aom/src/aom_codec.c",
529    "aom/src/aom_decoder.c",
530    "aom/src/aom_encoder.c",
531    "aom/src/aom_image.c",
532    "aom/src/aom_integer.c",
533]
534
535aom_util_sources = [
536    "aom_util/aom_thread.c",
537    "aom_util/debug_util.c",
538]
539
540aom_webm_decoder_sources = [
541    "common/webmdec.cc",
542]
543
544aom_webm_encoder_sources = [
545    "common/webmenc.cc",
546]
547
548av1_rc_qmode_sources = [
549    "common/tools_common.c",
550    "common/y4minput.c",
551    "test/ducky_encode_test.cc",
552    "test/ratectrl_qmode_test.cc",
553]
554
555aom_rtcd_sources_gen = [
556]
557
558aom_sources_gen = [
559    "config/aom_config.c",
560]
561
562aom_version_sources_gen = [
563]
564
565av1_rc_qmode_sources_gen = [
566    "gen_src/usage_exit.c",
567]
568
569aom_av1_common_sources += ["common/av1_config.c"]
570
571package {
572    default_applicable_licenses: ["external_libaom_license"],
573}
574
575// Added automatically by a large-scale-change that took the approach of
576// 'apply every license found to every target'. While this makes sure we respect
577// every license restriction, it may not be entirely correct.
578//
579// e.g. GPL in an MIT project might only apply to the contrib/ directory.
580//
581// Please consider splitting the single license below into multiple licenses,
582// taking care not to lose any license_kind information, and overriding the
583// default license using the 'licenses: [...]' property on targets as needed.
584//
585// For unused files, consider creating a 'fileGroup' with "//visibility:private"
586// to attach the license to, and including a comment whether the files may be
587// used in the current project.
588// See: http://go/android-license-faq
589license {
590    name: "external_libaom_license",
591    visibility: [":__subpackages__"],
592    license_kinds: [
593        "SPDX-license-identifier-BSD",
594        "SPDX-license-identifier-ISC",
595        "SPDX-license-identifier-MIT",
596        "legacy_by_exception_only", // by exception only
597        "legacy_unencumbered",
598    ],
599    license_text: [
600        "LICENSE",
601        "PATENTS",
602    ],
603}
604
605cc_library_static {
606    name: "libaom",
607    host_supported: true,
608    vendor_available: true,
609    cflags: [
610        "-O3",
611    ],
612
613    export_include_dirs: [
614        ".",
615    ],
616
617    min_sdk_version: "29",
618    apex_available: [
619        "//apex_available:platform",
620        "com.android.media.swcodec",
621    ],
622
623    arch: {
624        arm64: {
625            local_include_dirs: [
626                "config/",
627                "config/arm64/",
628            ],
629            srcs: aom_av1_common_sources +
630                aom_av1_decoder_sources +
631                aom_dsp_common_sources +
632                aom_dsp_decoder_sources +
633                aom_mem_sources +
634                ["aom_ports/arm_cpudetect.c"] +
635                aom_rtcd_sources +
636                aom_scale_sources +
637                aom_sources +
638                aom_util_sources +
639                aom_av1_common_intrin_neon +
640                aom_dsp_common_intrin_neon +
641                aom_av1_encoder_intrin_neon +
642                aom_av1_encoder_sources +
643                aom_dsp_encoder_intrin_neon +
644                aom_dsp_encoder_sources,
645        },
646
647        // configured to require the neon unit
648        arm: {
649            neon: {
650                local_include_dirs: [
651                    "config/",
652                    "config/arm/",
653                ],
654                srcs: aom_av1_common_sources +
655                    aom_av1_decoder_sources +
656                    aom_dsp_common_sources +
657                    aom_dsp_decoder_sources +
658                    aom_mem_sources +
659                    aom_rtcd_sources +
660                    ["aom_ports/arm_cpudetect.c"] +
661                    aom_scale_sources +
662                    aom_sources +
663                    aom_util_sources +
664                    aom_av1_common_intrin_neon +
665                    aom_dsp_common_intrin_neon +
666                    aom_av1_encoder_intrin_neon +
667                    aom_av1_encoder_sources +
668                    aom_dsp_encoder_intrin_neon +
669                    aom_dsp_encoder_sources,
670            },
671        },
672
673        x86_64: {
674            local_include_dirs: [
675                "config/",
676                "config/x86_64/",
677            ],
678            cflags: [
679                "-mssse3",
680            ],
681            srcs: aom_av1_common_sources +
682                aom_av1_decoder_sources +
683                aom_dsp_common_sources +
684                aom_dsp_decoder_sources +
685                aom_mem_sources +
686                aom_rtcd_sources +
687                aom_scale_sources +
688                aom_sources +
689                aom_util_sources +
690                aom_dsp_common_asm_sse2 +
691                aom_dsp_common_asm_ssse3 +
692                aom_ports_asm_x86 +
693                aom_av1_common_intrin_sse2 +
694                aom_dsp_common_intrin_sse2 +
695                aom_av1_common_intrin_ssse3 +
696                aom_dsp_common_intrin_ssse3 +
697                aom_av1_encoder_asm_sse2 +
698                aom_av1_encoder_asm_ssse3_x86_64 +
699                aom_av1_encoder_intrin_sse2 +
700                aom_av1_encoder_intrin_sse3 +
701                aom_av1_encoder_intrin_ssse3 +
702                aom_av1_encoder_sources +
703                aom_dsp_encoder_asm_sse2 +
704                aom_dsp_encoder_asm_sse2_x86_64 +
705                aom_dsp_encoder_asm_ssse3_x86_64 +
706                aom_dsp_encoder_intrin_sse2 +
707                aom_dsp_encoder_intrin_ssse3 +
708                aom_dsp_encoder_sources,
709        },
710
711        x86: {
712            local_include_dirs: [
713                "config/",
714                "config/x86/",
715            ],
716            cflags: [
717                "-mssse3",
718            ],
719            srcs: aom_av1_common_sources +
720                aom_av1_decoder_sources +
721                aom_dsp_common_sources +
722                aom_dsp_decoder_sources +
723                aom_mem_sources +
724                aom_rtcd_sources +
725                aom_scale_sources +
726                aom_sources +
727                aom_util_sources +
728                aom_dsp_common_asm_sse2 +
729                aom_dsp_common_asm_ssse3 +
730                aom_ports_asm_x86 +
731                aom_av1_common_intrin_sse2 +
732                aom_dsp_common_intrin_sse2 +
733                aom_av1_common_intrin_ssse3 +
734                aom_dsp_common_intrin_ssse3 +
735                aom_av1_encoder_asm_sse2 +
736                aom_av1_encoder_intrin_sse2 +
737                aom_av1_encoder_intrin_sse3 +
738                aom_av1_encoder_intrin_ssse3 +
739                aom_av1_encoder_sources +
740                aom_dsp_encoder_asm_sse2 +
741                aom_dsp_encoder_intrin_sse2 +
742                aom_dsp_encoder_intrin_ssse3 +
743                aom_dsp_encoder_sources,
744        },
745
746        riscv64: {
747            local_include_dirs: [
748                "config/",
749                "config/riscv64/",
750            ],
751            cflags: [
752            ],
753            srcs: aom_av1_common_sources +
754                aom_av1_decoder_sources +
755                aom_dsp_common_sources +
756                aom_dsp_decoder_sources +
757                aom_mem_sources +
758                aom_rtcd_sources +
759                aom_scale_sources +
760                aom_sources +
761                aom_util_sources +
762                aom_av1_encoder_sources +
763                aom_dsp_encoder_sources,
764        },
765    },
766
767    sanitize: {
768        blocklist: "libaom_blocklist.txt",
769    },
770
771}
772
773cc_fuzz {
774    name: "av1_dec_fuzzer",
775    host_supported: true,
776    srcs: [
777        "examples/av1_dec_fuzzer.cc",
778    ],
779    arch: {
780        arm: {
781            neon: {
782                local_include_dirs: [
783                    "config/",
784                    "config/arm/",
785                ],
786            },
787        },
788
789        arm64: {
790            local_include_dirs: [
791                "config/",
792                "config/arm64/",
793            ],
794        },
795
796        x86: {
797            local_include_dirs: [
798                "config/",
799                "config/x86/",
800            ],
801        },
802
803        x86_64: {
804            local_include_dirs: [
805                "config/",
806                "config/x86_64/",
807            ],
808        },
809
810        riscv64: {
811            local_include_dirs: [
812                "config/",
813                "config/riscv64/",
814            ],
815        },
816
817    },
818    static_libs: [
819        "libaom",
820    ],
821}
822