Home
last modified time | relevance | path

Searched refs:MAX_PARAMETER_BANDS (Results 1 – 25 of 35) sorted by relevance

12

/external/libxaac/decoder/
Dixheaacd_mps_dec.h125 FLOAT32 smooth_in_energy[MAX_PARAMETER_BANDS];
126 FLOAT32 smooth_out_energy[MAX_PARAMETER_BANDS];
158 WORD32 cld_idx[MAX_PARAMETER_SETS_MPS][MAX_PARAMETER_BANDS];
159 WORD32 icc_idx[MAX_PARAMETER_SETS_MPS][MAX_PARAMETER_BANDS];
161 WORD32 cld_idx_pre[MAX_PARAMETER_BANDS];
162 WORD32 icc_idx_pre[MAX_PARAMETER_BANDS];
164 WORD32 cmp_cld_idx[MAX_PARAMETER_SETS_MPS][MAX_PARAMETER_BANDS];
165 WORD32 cmp_icc_idx[MAX_PARAMETER_SETS_MPS][MAX_PARAMETER_BANDS];
167 WORD32 cmp_cld_idx_prev[MAX_PARAMETER_BANDS];
168 WORD32 cmp_icc_idx_prev[MAX_PARAMETER_BANDS];
[all …]
Dixheaacd_mps_calc_m1m2_tree_515x.c77 h11_c = h11_fs + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5151()
78 h12_fs = h11_c + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5151()
79 h12_c = h12_fs + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5151()
80 h21_fs = h12_c + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5151()
81 h21_c = h21_fs + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5151()
82 h22_fs = h21_c + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5151()
83 h22_c = h22_fs + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5151()
84 h12_res_fs = h22_c + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5151()
85 h12_res_c = h12_res_fs + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5151()
86 h22_res_fs = h12_res_c + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5151()
[all …]
Dixheaacd_mps_calc_m1m2_tree_757x.c61 h11_r = h11_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7571()
62 h12_l = h11_r + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7571()
63 h12_r = h12_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7571()
64 h21_l = h12_r + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7571()
65 h21_r = h21_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7571()
66 h22_l = h21_r + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7571()
67 h22_r = h22_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7571()
68 h12_res_l = h22_r + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7571()
69 h12_res_r = h12_res_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7571()
70 h22_res_l = h12_res_r + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7571()
[all …]
Dixheaacd_mps_calc_m1m2_tree_727x.c84 h11_r = h11_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7271()
85 h12_l = h11_r + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7271()
86 h12_r = h12_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7271()
87 h21_l = h12_r + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7271()
88 h21_r = h21_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7271()
89 h22_l = h21_r + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7271()
90 h22_r = h22_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7271()
91 h12_res_l = h22_r + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7271()
92 h12_res_r = h12_res_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7271()
93 h22_res_l = h12_res_r + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_7271()
[all …]
Dixheaacd_mps_calc_m1m2_tree_51sx.c70 icc = iid + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_51s1()
71 h11 = icc + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_51s1()
72 h12 = h11 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_51s1()
73 h21 = h12 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_51s1()
74 h22 = h21 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_51s1()
75 h12_res = h22 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_51s1()
76 h22_res = h12_res + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_51s1()
78 c_r = c_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_51s1()
203 icc = iid + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_51s2()
204 h11 = icc + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_51s2()
[all …]
Dixheaacd_mps_smoothing.c278 WORD32 smooth_band_arr[MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS]; in ixheaacd_smooth_m1m2()
293 delta = delta_ptr = ton + MAX_PARAMETER_BANDS; in ixheaacd_smooth_m1m2()
372 param_r += MAX_PARAMETER_BANDS; in ixheaacd_smooth_m1m2()
373 param_i += MAX_PARAMETER_BANDS; in ixheaacd_smooth_m1m2()
379 param_prev_r = param_r - MAX_PARAMETER_BANDS; in ixheaacd_smooth_m1m2()
380 param_prev_i = param_i - MAX_PARAMETER_BANDS; in ixheaacd_smooth_m1m2()
403 param_r += MAX_PARAMETER_BANDS; in ixheaacd_smooth_m1m2()
404 param_i += MAX_PARAMETER_BANDS; in ixheaacd_smooth_m1m2()
438 param_r += MAX_PARAMETER_BANDS; in ixheaacd_smooth_m1m2()
444 param_prev_r = param_r - MAX_PARAMETER_BANDS; in ixheaacd_smooth_m1m2()
[all …]
Dixheaacd_mps_calc_m1m2_tree_52xx.c73 ls = lf + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5227()
74 rf = ls + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5227()
75 rs = rf + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5227()
76 a_c1 = rs + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5227()
77 a_c2 = a_c1 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5227()
78 a_icc_c = a_c2 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5227()
79 a_prediction_mode = a_icc_c + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5227()
80 m_real = a_prediction_mode + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5227()
298 h11_r = h11_l + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5251()
299 h12_l = h11_r + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_5251()
[all …]
Dixheaacd_mps_decor.h57 WORD32 smooth_direct_nrg[MAX_PARAMETER_BANDS];
58 WORD32 smooth_reverb_nrg[MAX_PARAMETER_BANDS];
59 WORD16 q_smooth_direct_nrg[MAX_PARAMETER_BANDS];
60 WORD16 q_smooth_reverb_nrg[MAX_PARAMETER_BANDS];
Dixheaacd_mps_calc_m1m2_emm.c59 h12 = h11 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_emm()
60 h21 = h12 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_emm()
61 h22 = h21 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_emm()
62 dummy1 = h22 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_emm()
63 dummy2 = dummy1 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_emm()
66 dummy4 = dummy3 + MAX_PARAMETER_BANDS; in ixheaacd_calc_m1m2_emm()
Dixheaacd_mps_pre_mix.c107 FLOAT32 h_imag[2 * MAX_PARAMETER_BANDS]; in ixheaacd_pre_and_mix_matrix_calculation()
108 FLOAT32 h_real[6 * MAX_PARAMETER_BANDS]; in ixheaacd_pre_and_mix_matrix_calculation()
116 memset(h_real, 0, 6 * MAX_PARAMETER_BANDS * sizeof(FLOAT32)); in ixheaacd_pre_and_mix_matrix_calculation()
117 memset(h_imag, 0, 2 * MAX_PARAMETER_BANDS * sizeof(FLOAT32)); in ixheaacd_pre_and_mix_matrix_calculation()
170 static VOID ixheaacd_mps_par2umx_ps_core(WORD32 cld[MAX_PARAMETER_BANDS], in ixheaacd_mps_par2umx_ps_core() argument
171 WORD32 icc[MAX_PARAMETER_BANDS], in ixheaacd_mps_par2umx_ps_core() argument
214 WORD32 opd[MAX_PARAMETER_BANDS]) { in ixheaacd_mps_opd_calc() argument
232 WORD32 opd[MAX_PARAMETER_BANDS]; in ixheaacd_mps_par2umx_ps_ipd_opd()
1173 FLOAT32 m_matrix[MAX_PARAMETER_SETS_MPS][MAX_PARAMETER_BANDS][MAX_M_OUTPUT][MAX_M_INPUT], in ixheaacd_mps_upmix_interp()
1174 FLOAT32 r_matrix_float[MAX_TIME_SLOTS][MAX_PARAMETER_BANDS][MAX_M_OUTPUT][MAX_M_INPUT], in ixheaacd_mps_upmix_interp()
[all …]
Dixheaacd_mps_initfuncs.c815 MAX_NUM_OTT * MAX_PARAMETER_BANDS * sizeof(bs_frame->ott_cld_idx_prev[0][0])); in ixheaacd_bs_frame_init()
817 MAX_NUM_OTT * MAX_PARAMETER_BANDS * sizeof(bs_frame->ott_icc_idx_prev[0][0])); in ixheaacd_bs_frame_init()
819 MAX_NUM_OTT * MAX_PARAMETER_BANDS * sizeof(bs_frame->cmp_ott_cld_idx_prev[0][0])); in ixheaacd_bs_frame_init()
821 MAX_NUM_OTT * MAX_PARAMETER_BANDS * sizeof(bs_frame->cmp_ott_icc_idx_prev[0][0])); in ixheaacd_bs_frame_init()
824 MAX_NUM_TTT * MAX_PARAMETER_BANDS * sizeof(bs_frame->ttt_cpc_1_idx_prev[0][0])); in ixheaacd_bs_frame_init()
826 MAX_NUM_TTT * MAX_PARAMETER_BANDS * sizeof(bs_frame->ttt_cpc_2_idx_prev[0][0])); in ixheaacd_bs_frame_init()
828 MAX_NUM_TTT * MAX_PARAMETER_BANDS * sizeof(bs_frame->ttt_cld_1_idx_prev[0][0])); in ixheaacd_bs_frame_init()
830 MAX_NUM_TTT * MAX_PARAMETER_BANDS * sizeof(bs_frame->ttt_cld_2_idx_prev[0][0])); in ixheaacd_bs_frame_init()
832 MAX_NUM_TTT * MAX_PARAMETER_BANDS * sizeof(bs_frame->ttt_icc_idx_prev[0][0])); in ixheaacd_bs_frame_init()
834 MAX_NUM_TTT * MAX_PARAMETER_BANDS * sizeof(bs_frame->cmp_ttt_cpc_1_idx_prev[0][0])); in ixheaacd_bs_frame_init()
[all …]
Dixheaacd_mps_calc_m1m2_common.c353 WORD32 cld[MAX_PARAMETER_BANDS], WORD32 icc[MAX_PARAMETER_BANDS], WORD32 num_ott_bands, in ixheaacd_param_2_umx_ps_core_tables() argument
354 WORD32 res_bands, WORD32 h11[MAX_PARAMETER_BANDS], WORD32 h12[MAX_PARAMETER_BANDS], in ixheaacd_param_2_umx_ps_core_tables() argument
355 WORD32 h21[MAX_PARAMETER_BANDS], WORD32 h22[MAX_PARAMETER_BANDS], in ixheaacd_param_2_umx_ps_core_tables() argument
356 WORD32 h12_res[MAX_PARAMETER_BANDS], WORD32 h22_res[MAX_PARAMETER_BANDS], in ixheaacd_param_2_umx_ps_core_tables() argument
357 WORD16 c_l[MAX_PARAMETER_BANDS], WORD16 c_r[MAX_PARAMETER_BANDS], in ixheaacd_param_2_umx_ps_core_tables() argument
Dixheaacd_mps_parse.c309 WORD32 data[MAX_PARAMETER_SETS_MPS][MAX_PARAMETER_BANDS], WORD32 datatype) { in ixheaacd_mps_ecdata_decoding() argument
311 WORD32 strides[MAX_PARAMETER_BANDS + 1] = {0}; in ixheaacd_mps_ecdata_decoding()
679 WORD32 data[MAX_PARAMETER_SETS_MPS][MAX_PARAMETER_BANDS], WORD32 datatype, in ixheaacd_ld_mps_ecdata_decoding() argument
683 WORD32 strides[MAX_PARAMETER_BANDS + 1] = {0}; in ixheaacd_ld_mps_ecdata_decoding()
921 static VOID ixheaacd_mps_createmapping(WORD32 map[MAX_PARAMETER_BANDS + 1], in ixheaacd_mps_createmapping()
925 WORD32 vdk[MAX_PARAMETER_BANDS + 1]; in ixheaacd_mps_createmapping()
999 FLOAT32 out_data[MAX_PARAMETER_SETS_MPS][MAX_PARAMETER_BANDS], in ixheaacd_mps_mapindexdata() argument
1000 WORD32 out_idx_data[MAX_PARAMETER_SETS_MPS][MAX_PARAMETER_BANDS], in ixheaacd_mps_mapindexdata() argument
1001 WORD32 cmp_idx_data[MAX_PARAMETER_SETS_MPS][MAX_PARAMETER_BANDS], in ixheaacd_mps_mapindexdata() argument
1002 WORD32 idx_prev[MAX_PARAMETER_BANDS], WORD32 param_type) { in ixheaacd_mps_mapindexdata() argument
[all …]
Dixheaacd_mps_m1m2_common.c75 m1_param_real = p_m1_param_re + (num_parameter_sets_prev - 1) * MAX_PARAMETER_BANDS; in ixheaacd_buffer_m1()
76 m1_param_imag = p_m1_param_im + (num_parameter_sets_prev - 1) * MAX_PARAMETER_BANDS; in ixheaacd_buffer_m1()
93 m1_param_real = p_m1_param_re + (num_parameter_sets_prev - 1) * MAX_PARAMETER_BANDS; in ixheaacd_buffer_m1()
Dixheaacd_mps_temp_reshape.c59 FLOAT32 slot_energy[MAX_TIME_SLOTS][MAX_PARAMETER_BANDS] = {{0}}; in ixheaacd_mps_est_normalized_envelope()
60 FLOAT32 pb_energy[MAX_PARAMETER_BANDS] = {0}; in ixheaacd_mps_est_normalized_envelope()
61 FLOAT32 whitening_weight[MAX_PARAMETER_BANDS]; in ixheaacd_mps_est_normalized_envelope()
Dixheaacd_mps_decorr.c232 FLOAT32 in_energy[MAX_PARAMETER_BANDS] = {0}; in ixheaacd_mps_decor_energy_adjustment()
233 FLOAT32 out_energy[MAX_PARAMETER_BANDS] = {0}; in ixheaacd_mps_decor_energy_adjustment()
234 FLOAT32 gain[MAX_PARAMETER_BANDS]; in ixheaacd_mps_decor_energy_adjustment()
251 memset(in_energy, 0, sizeof(FLOAT32) * MAX_PARAMETER_BANDS); in ixheaacd_mps_decor_energy_adjustment()
252 memset(out_energy, 0, sizeof(FLOAT32) * MAX_PARAMETER_BANDS); in ixheaacd_mps_decor_energy_adjustment()
262 loop_counter = MAX_PARAMETER_BANDS; in ixheaacd_mps_decor_energy_adjustment()
910 self->parameter_bands = MAX_PARAMETER_BANDS; in ixheaacd_ducker_create()
917 self->parameter_bands = MAX_PARAMETER_BANDS; in ixheaacd_ducker_create()
927 for (i = 0; i < MAX_PARAMETER_BANDS; i++) { in ixheaacd_ducker_create()
Dixheaacd_config.h55 #define MAX_PARAMETER_BANDS (28) macro
123 UINT32 bs_HRTF_level_left[MAX_OUTPUT_CHANNELS][MAX_PARAMETER_BANDS];
124 UINT32 bs_HRTF_level_right[MAX_OUTPUT_CHANNELS][MAX_PARAMETER_BANDS];
126 UINT32 bs_HRTF_phase_LR[MAX_OUTPUT_CHANNELS][MAX_PARAMETER_BANDS];
128 UINT32 bs_HRTF_icc_LR[MAX_OUTPUT_CHANNELS][MAX_PARAMETER_BANDS];
Dixheaacd_mps_apply_common.h23 VOID ixheaacd_dec_interp_umx(WORD32 m[MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS], WORD32 *ptr_r,
Dixheaacd_mps_nlc_dec.h46 #define MAXBANDS MAX_PARAMETER_BANDS
/external/aac/libSACdec/src/
Dsac_calcM1andM2.cpp117 FIXP_DBL H11[MAX_PARAMETER_BANDS],
118 FIXP_DBL H12[MAX_PARAMETER_BANDS],
119 FIXP_DBL H21[MAX_PARAMETER_BANDS],
120 FIXP_DBL H22[MAX_PARAMETER_BANDS],
121 FIXP_DBL c_l[MAX_PARAMETER_BANDS],
122 FIXP_DBL c_r[MAX_PARAMETER_BANDS], int ottBoxIndx,
126 const SCHAR cld[MAX_PARAMETER_BANDS], const SCHAR icc[MAX_PARAMETER_BANDS],
128 FIXP_DBL H11[MAX_PARAMETER_BANDS], FIXP_DBL H12[MAX_PARAMETER_BANDS],
129 FIXP_DBL H21[MAX_PARAMETER_BANDS], FIXP_DBL H22[MAX_PARAMETER_BANDS],
130 FIXP_DBL c_l[MAX_PARAMETER_BANDS], FIXP_DBL c_r[MAX_PARAMETER_BANDS]);
[all …]
Dsac_dec.h221 [MAX_PARAMETER_BANDS];
222 SCHAR cmpOttICCidx[MAX_NUM_OTT][MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS];
229 [MAX_PARAMETER_BANDS]; /* smoothing flags, one if band is
233 SCHAR (*cmpArbdmxGainIdx)[MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS];
241 SCHAR (*cmpOttIPDidx)[MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS];
264 UCHAR prevSmgData[MAX_PARAMETER_BANDS];
266 FIXP_DBL opdLeftState__FDK[MAX_PARAMETER_BANDS];
267 FIXP_DBL opdRightState__FDK[MAX_PARAMETER_BANDS];
378 int kernels_width[MAX_PARAMETER_BANDS]; /* Mapping parmeter band to hybrid
440 FIXP_DBL PhaseLeft__FDK[MAX_PARAMETER_BANDS];
[all …]
Dsac_rom.h174 extern const UCHAR mapping_4_to_28[MAX_PARAMETER_BANDS];
175 extern const UCHAR mapping_5_to_28[MAX_PARAMETER_BANDS];
176 extern const UCHAR mapping_7_to_28[MAX_PARAMETER_BANDS];
177 extern const UCHAR mapping_10_to_28[MAX_PARAMETER_BANDS];
178 extern const UCHAR mapping_14_to_28[MAX_PARAMETER_BANDS];
179 extern const UCHAR mapping_20_to_28[MAX_PARAMETER_BANDS];
Dsac_dec.cpp294 FDK_ALLOCATE_MEMORY_1D(self->param2hyb, MAX_PARAMETER_BANDS + 1, int) in FDK_SpatialDecOpen()
301 FDK_ALLOCATE_MEMORY_2D(self->smgData, MAX_PARAMETER_SETS, MAX_PARAMETER_BANDS, in FDK_SpatialDecOpen()
305 MAX_PARAMETER_SETS, MAX_PARAMETER_BANDS, SCHAR) in FDK_SpatialDecOpen()
307 MAX_PARAMETER_SETS, MAX_PARAMETER_BANDS, SCHAR) in FDK_SpatialDecOpen()
309 MAX_PARAMETER_SETS, MAX_PARAMETER_BANDS, SCHAR) in FDK_SpatialDecOpen()
313 MAX_PARAMETER_BANDS, SCHAR) in FDK_SpatialDecOpen()
315 MAX_PARAMETER_BANDS, SCHAR) in FDK_SpatialDecOpen()
317 MAX_PARAMETER_SETS, MAX_PARAMETER_BANDS, SCHAR) in FDK_SpatialDecOpen()
319 MAX_PARAMETER_BANDS, SCHAR) in FDK_SpatialDecOpen()
321 MAX_PARAMETER_BANDS, SCHAR) in FDK_SpatialDecOpen()
[all …]
Dsac_bitdec.cpp371 if (MAX_PARAMETER_BANDS < (pSpatialSpecificConfig->bsOttBandsPhase = in SpatialDecParseMps212Config()
787 SCHAR (*data)[MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS], SCHAR **lastdata, in ecDataDec() argument
791 INT aStrides[MAX_PARAMETER_BANDS + 1] = {0}; in ecDataDec()
1230 static void createMapping(int aMap[MAX_PARAMETER_BANDS + 1], int startBand, in createMapping()
1233 int vDk[MAX_PARAMETER_BANDS + 1]; in createMapping()
1456 const SCHAR (*cmpIdxData)[MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS], in mapIndexData() argument
1461 FIXP_DBL (*pOttVsTotDbIn)[MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS], in mapIndexData() argument
1462 FIXP_DBL (*pOttVsTotDb1)[MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS], in mapIndexData() argument
1463 FIXP_DBL (*pOttVsTotDb2)[MAX_PARAMETER_SETS][MAX_PARAMETER_BANDS]) { in mapIndexData() argument
1468 int aMap[MAX_PARAMETER_BANDS + 1]; in mapIndexData()
[all …]
Dsac_dec_conceal.h174 const SCHAR (*cmpIdxData)[MAX_PARAMETER_BANDS],

12