Android.mk revision 559bf2836f5da25b75bfb229fec0d20d540ee426
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES := \
5	analysis_sub_band.cpp \
6 	apply_ms_synt.cpp \
7 	apply_tns.cpp \
8 	buf_getbits.cpp \
9 	byte_align.cpp \
10 	calc_auto_corr.cpp \
11 	calc_gsfb_table.cpp \
12 	calc_sbr_anafilterbank.cpp \
13 	calc_sbr_envelope.cpp \
14 	calc_sbr_synfilterbank.cpp \
15 	check_crc.cpp \
16 	dct16.cpp \
17 	dct64.cpp \
18 	decode_huff_cw_binary.cpp \
19 	decode_noise_floorlevels.cpp \
20 	deinterleave.cpp \
21 	digit_reversal_tables.cpp \
22 	dst16.cpp \
23 	dst32.cpp \
24 	dst8.cpp \
25 	esc_iquant_scaling.cpp \
26 	extractframeinfo.cpp \
27 	fft_rx4_long.cpp \
28 	fft_rx4_short.cpp \
29 	fft_rx4_tables_fxp.cpp \
30 	find_adts_syncword.cpp \
31 	fwd_long_complex_rot.cpp \
32 	fwd_short_complex_rot.cpp \
33 	gen_rand_vector.cpp \
34 	get_adif_header.cpp \
35 	get_adts_header.cpp \
36 	get_audio_specific_config.cpp \
37 	get_dse.cpp \
38 	get_ele_list.cpp \
39 	get_ga_specific_config.cpp \
40 	get_ics_info.cpp \
41 	get_prog_config.cpp \
42 	get_pulse_data.cpp \
43 	get_sbr_bitstream.cpp \
44 	get_sbr_startfreq.cpp \
45 	get_sbr_stopfreq.cpp \
46 	get_tns.cpp \
47 	getfill.cpp \
48 	getgroup.cpp \
49 	getics.cpp \
50 	getmask.cpp \
51 	hcbtables_binary.cpp \
52 	huffcb.cpp \
53 	huffdecode.cpp \
54 	hufffac.cpp \
55 	huffspec_fxp.cpp \
56 	idct16.cpp \
57 	idct32.cpp \
58 	idct8.cpp \
59 	imdct_fxp.cpp \
60 	infoinit.cpp \
61 	init_sbr_dec.cpp \
62 	intensity_right.cpp \
63 	inv_long_complex_rot.cpp \
64 	inv_short_complex_rot.cpp \
65 	iquant_table.cpp \
66 	long_term_prediction.cpp \
67 	long_term_synthesis.cpp \
68 	lt_decode.cpp \
69 	mdct_fxp.cpp \
70 	mdct_tables_fxp.cpp \
71 	mdst.cpp \
72 	mix_radix_fft.cpp \
73 	ms_synt.cpp \
74 	pns_corr.cpp \
75 	pns_intensity_right.cpp \
76 	pns_left.cpp \
77 	ps_all_pass_filter_coeff.cpp \
78 	ps_all_pass_fract_delay_filter.cpp \
79 	ps_allocate_decoder.cpp \
80 	ps_applied.cpp \
81 	ps_bstr_decoding.cpp \
82 	ps_channel_filtering.cpp \
83 	ps_decode_bs_utils.cpp \
84 	ps_decorrelate.cpp \
85 	ps_fft_rx8.cpp \
86 	ps_hybrid_analysis.cpp \
87 	ps_hybrid_filter_bank_allocation.cpp \
88 	ps_hybrid_synthesis.cpp \
89 	ps_init_stereo_mixing.cpp \
90 	ps_pwr_transient_detection.cpp \
91 	ps_read_data.cpp \
92 	ps_stereo_processing.cpp \
93 	pulse_nc.cpp \
94 	pv_div.cpp \
95 	pv_log2.cpp \
96 	pv_normalize.cpp \
97 	pv_pow2.cpp \
98 	pv_sine.cpp \
99 	pv_sqrt.cpp \
100 	pvmp4audiodecoderconfig.cpp \
101 	pvmp4audiodecoderframe.cpp \
102 	pvmp4audiodecodergetmemrequirements.cpp \
103 	pvmp4audiodecoderinitlibrary.cpp \
104 	pvmp4audiodecoderresetbuffer.cpp \
105 	q_normalize.cpp \
106 	qmf_filterbank_coeff.cpp \
107 	sbr_aliasing_reduction.cpp \
108 	sbr_applied.cpp \
109 	sbr_code_book_envlevel.cpp \
110 	sbr_crc_check.cpp \
111 	sbr_create_limiter_bands.cpp \
112 	sbr_dec.cpp \
113 	sbr_decode_envelope.cpp \
114 	sbr_decode_huff_cw.cpp \
115 	sbr_downsample_lo_res.cpp \
116 	sbr_envelope_calc_tbl.cpp \
117 	sbr_envelope_unmapping.cpp \
118 	sbr_extract_extended_data.cpp \
119 	sbr_find_start_andstop_band.cpp \
120 	sbr_generate_high_freq.cpp \
121 	sbr_get_additional_data.cpp \
122 	sbr_get_cpe.cpp \
123 	sbr_get_dir_control_data.cpp \
124 	sbr_get_envelope.cpp \
125 	sbr_get_header_data.cpp \
126 	sbr_get_noise_floor_data.cpp \
127 	sbr_get_sce.cpp \
128 	sbr_inv_filt_levelemphasis.cpp \
129 	sbr_open.cpp \
130 	sbr_read_data.cpp \
131 	sbr_requantize_envelope_data.cpp \
132 	sbr_reset_dec.cpp \
133 	sbr_update_freq_scale.cpp \
134 	set_mc_info.cpp \
135 	sfb.cpp \
136 	shellsort.cpp \
137 	synthesis_sub_band.cpp \
138 	tns_ar_filter.cpp \
139 	tns_decode_coef.cpp \
140 	tns_inv_filter.cpp \
141 	trans4m_freq_2_time_fxp.cpp \
142 	trans4m_time_2_freq_fxp.cpp \
143 	unpack_idx.cpp \
144 	window_tables_fxp.cpp \
145 	pvmp4setaudioconfig.cpp \
146
147LOCAL_CFLAGS := -DAAC_PLUS -DHQ_SBR -DPARAMETRICSTEREO -DOSCL_IMPORT_REF= -DOSCL_EXPORT_REF= -DOSCL_UNUSED_ARG=
148
149LOCAL_C_INCLUDES := \
150        frameworks/av/media/libstagefright/include \
151
152LOCAL_ARM_MODE := arm
153
154LOCAL_MODULE := libstagefright_aacdec
155
156include $(BUILD_STATIC_LIBRARY)
157
158################################################################################
159
160include $(CLEAR_VARS)
161
162LOCAL_SRC_FILES := \
163        SoftAAC.cpp
164
165LOCAL_C_INCLUDES := \
166        frameworks/av/media/libstagefright/include \
167        frameworks/native/include/media/openmax
168
169LOCAL_CFLAGS := -DOSCL_IMPORT_REF=
170
171LOCAL_STATIC_LIBRARIES := \
172        libstagefright_aacdec
173
174LOCAL_SHARED_LIBRARIES := \
175        libstagefright_omx libstagefright_foundation libutils
176
177LOCAL_MODULE := libstagefright_soft_aacdec
178LOCAL_MODULE_TAGS := optional
179
180include $(BUILD_SHARED_LIBRARY)
181