Lines Matching refs:lsf
103 static WORD32 ixheaacd_avq_first_approx_abs(FLOAT32 *lsf, WORD32 *indx) { in ixheaacd_avq_first_approx_abs() argument
117 lsf[i] = ixheaacd_dico_lsf_abs_8b_flt[indx[0] * ORDER + i]; in ixheaacd_avq_first_approx_abs()
122 d[0] = lsf[0]; in ixheaacd_avq_first_approx_abs()
123 d[ORDER] = FREQ_MAX - lsf[ORDER - 1]; in ixheaacd_avq_first_approx_abs()
125 d[i] = lsf[i] - lsf[i - 1]; in ixheaacd_avq_first_approx_abs()
130 lsf[i] += (ptr_w[i] * avq[i]); in ixheaacd_avq_first_approx_abs()
132 if (lsf[i] < lsf_min) lsf[i] = lsf_min; in ixheaacd_avq_first_approx_abs()
134 lsf_min = lsf[i] + LSF_GAP; in ixheaacd_avq_first_approx_abs()
140 WORD32 ixheaacd_avq_first_approx_rel(FLOAT32 *lsf, WORD32 *indx, WORD32 mode) { in ixheaacd_avq_first_approx_rel() argument
147 ixheaacd_lsf_weight_2st_flt(lsf, w, mode); in ixheaacd_avq_first_approx_rel()
154 lsf[i] += (w[i] * avq[i]); in ixheaacd_avq_first_approx_rel()
156 if (lsf[i] < lsf_min) lsf[i] = lsf_min; in ixheaacd_avq_first_approx_rel()
158 lsf_min = lsf[i] + LSF_GAP; in ixheaacd_avq_first_approx_rel()
165 WORD32 first_lpd_flag, FLOAT32 *lsf, in ixheaacd_alg_vec_dequant() argument
172 pos = ixheaacd_avq_first_approx_abs(&lsf[4 * ORDER], &lpc_index[0]); in ixheaacd_alg_vec_dequant()
181 pos = ixheaacd_avq_first_approx_abs(&lsf[0], &lpc_index[0]); in ixheaacd_alg_vec_dequant()
184 for (i = 0; i < ORDER; i++) lsf[i] = lsf[4 * ORDER + i]; in ixheaacd_alg_vec_dequant()
185 pos = ixheaacd_avq_first_approx_rel(&lsf[0], &lpc_index[0], 3); in ixheaacd_alg_vec_dequant()
196 pos = ixheaacd_avq_first_approx_abs(&lsf[2 * ORDER], &lpc_index[0]); in ixheaacd_alg_vec_dequant()
198 for (i = 0; i < ORDER; i++) lsf[2 * ORDER + i] = lsf[4 * ORDER + i]; in ixheaacd_alg_vec_dequant()
199 pos = ixheaacd_avq_first_approx_rel(&lsf[2 * ORDER], &lpc_index[0], 3); in ixheaacd_alg_vec_dequant()
211 lsf[ORDER + i] = 0.5f * (lsf[i] + lsf[2 * ORDER + i]); in ixheaacd_alg_vec_dequant()
214 pos = ixheaacd_avq_first_approx_abs(&lsf[ORDER], &lpc_index[0]); in ixheaacd_alg_vec_dequant()
216 for (i = 0; i < ORDER; i++) lsf[ORDER + i] = lsf[2 * ORDER + i]; in ixheaacd_alg_vec_dequant()
217 pos = ixheaacd_avq_first_approx_rel(&lsf[ORDER], &lpc_index[0], 2); in ixheaacd_alg_vec_dequant()
229 pos = ixheaacd_avq_first_approx_abs(&lsf[3 * ORDER], &lpc_index[0]); in ixheaacd_alg_vec_dequant()
232 lsf[3 * ORDER + i] = 0.5f * (lsf[2 * ORDER + i] + lsf[4 * ORDER + i]); in ixheaacd_alg_vec_dequant()
233 pos = ixheaacd_avq_first_approx_rel(&lsf[3 * ORDER], &lpc_index[0], 1); in ixheaacd_alg_vec_dequant()
235 for (i = 0; i < ORDER; i++) lsf[3 * ORDER + i] = lsf[2 * ORDER + i]; in ixheaacd_alg_vec_dequant()
236 pos = ixheaacd_avq_first_approx_rel(&lsf[3 * ORDER], &lpc_index[0], 2); in ixheaacd_alg_vec_dequant()
238 for (i = 0; i < ORDER; i++) lsf[3 * ORDER + i] = lsf[4 * ORDER + i]; in ixheaacd_alg_vec_dequant()
239 pos = ixheaacd_avq_first_approx_rel(&lsf[3 * ORDER], &lpc_index[0], 2); in ixheaacd_alg_vec_dequant()