Lines Matching refs:cur_lsp
1252 void ff_g723_1_lsp_interpolate(int16_t *lpc, int16_t *cur_lsp,
1258 /* cur_lsp * 0.25 + prev_lsp * 0.75 */
1259 ff_acelp_weighted_vector_sum(lpc, cur_lsp, prev_lsp,
1261 ff_acelp_weighted_vector_sum(lpc + LPC_ORDER, cur_lsp, prev_lsp,
1263 ff_acelp_weighted_vector_sum(lpc + 2 * LPC_ORDER, cur_lsp, prev_lsp,
1265 memcpy(lpc + 3 * LPC_ORDER, cur_lsp, LPC_ORDER * sizeof(*lpc));
1273 void ff_g723_1_inverse_quant(int16_t *cur_lsp, int16_t *prev_lsp,
1290 cur_lsp[0] = ff_g723_1_lsp_band0[lsp_index[0]][0];
1291 cur_lsp[1] = ff_g723_1_lsp_band0[lsp_index[0]][1];
1292 cur_lsp[2] = ff_g723_1_lsp_band0[lsp_index[0]][2];
1293 cur_lsp[3] = ff_g723_1_lsp_band1[lsp_index[1]][0];
1294 cur_lsp[4] = ff_g723_1_lsp_band1[lsp_index[1]][1];
1295 cur_lsp[5] = ff_g723_1_lsp_band1[lsp_index[1]][2];
1296 cur_lsp[6] = ff_g723_1_lsp_band2[lsp_index[2]][0];
1297 cur_lsp[7] = ff_g723_1_lsp_band2[lsp_index[2]][1];
1298 cur_lsp[8] = ff_g723_1_lsp_band2[lsp_index[2]][2];
1299 cur_lsp[9] = ff_g723_1_lsp_band2[lsp_index[2]][3];
1304 cur_lsp[i] += dc_lsp[i] + temp;
1308 cur_lsp[0] = FFMAX(cur_lsp[0], 0x180);
1309 cur_lsp[LPC_ORDER - 1] = FFMIN(cur_lsp[LPC_ORDER - 1], 0x7e00);
1313 temp = min_dist + cur_lsp[j - 1] - cur_lsp[j];
1316 cur_lsp[j - 1] -= temp;
1317 cur_lsp[j] += temp;
1322 temp = cur_lsp[j - 1] + min_dist - cur_lsp[j] - 4;
1332 memcpy(cur_lsp, prev_lsp, LPC_ORDER * sizeof(*cur_lsp));