Lines Matching defs:vector
136 * Estimate autocorrelation of the input vector.
139 * @param autocorr autocorrelation coefficients vector
144 int16_t vector[LPC_FRAME];
146 ff_g723_1_scale_vector(vector, buf, LPC_FRAME);
150 vector[i] = (vector[i] * hamming_window[i] + (1 << 14)) >> 15;
153 temp = ff_dot_product(vector, vector, LPC_FRAME);
168 temp = ff_dot_product(vector, vector + i, LPC_FRAME - i);
179 * @param lpc LPC coefficients vector
180 * @param autocorr autocorrelation coefficients vector
185 int16_t vector[LPC_ORDER];
211 memcpy(vector, lpc, i * sizeof(int16_t));
213 temp = partial_corr * vector[i - j - 1] << 1;
225 * @param lpc LPC coefficients vector
334 * @param offset offset of the current subvector in an LPC_ORDER vector
360 * @param lsp the current lsp vector
361 * @param prev_lsp the previous lsp vector
369 /* Calculate the VQ weighting vector */
392 /* Compute the VQ target vector */
408 * @param src source vector
409 * @param dest destination vector
432 * @param unq_lpc unquantized lpc vector
437 int16_t vector[FRAME_LEN + LPC_ORDER];
441 memcpy(vector, p->fir_mem, sizeof(int16_t) * LPC_ORDER);
442 memcpy(vector + LPC_ORDER, buf + LPC_ORDER, sizeof(int16_t) * FRAME_LEN);
453 vector + i, buf + i);
457 memcpy(p->fir_mem, vector + FRAME_LEN, sizeof(int16_t) * LPC_ORDER);
799 * @param buf target vector
819 * @param buf excitation vector
928 /* Create the error vector */
974 * @param buf excitation vector
1008 * @param buf target vector
1108 int16_t vector[FRAME_LEN + PITCH_MAX];
1120 memcpy(vector, p->prev_data, HALF_FRAME_LEN * sizeof(int16_t));
1121 memcpy(vector + HALF_FRAME_LEN, in, FRAME_LEN * sizeof(int16_t));
1123 comp_lpc_coeff(vector, unq_lpc);
1128 memcpy(vector + LPC_ORDER, p->prev_data + SUBFRAME_LEN,
1130 memcpy(vector + LPC_ORDER + SUBFRAME_LEN, in,
1134 memcpy(in, vector + LPC_ORDER, sizeof(int16_t) * FRAME_LEN);
1136 perceptual_filter(p, weighted_lpc, unq_lpc, vector);
1138 memcpy(in, vector + LPC_ORDER, sizeof(int16_t) * FRAME_LEN);
1139 memcpy(vector, p->prev_weight_sig, sizeof(int16_t) * PITCH_MAX);
1140 memcpy(vector + PITCH_MAX, in, sizeof(int16_t) * FRAME_LEN);
1142 ff_g723_1_scale_vector(vector, vector, FRAME_LEN + PITCH_MAX);
1144 p->pitch_lag[0] = estimate_pitch(vector, PITCH_MAX);
1145 p->pitch_lag[1] = estimate_pitch(vector, PITCH_MAX + HALF_FRAME_LEN);
1148 comp_harmonic_coeff(vector + i, p->pitch_lag[j >> 1], hf + j);
1150 memcpy(vector, p->prev_weight_sig, sizeof(int16_t) * PITCH_MAX);
1151 memcpy(vector + PITCH_MAX, in, sizeof(int16_t) * FRAME_LEN);
1152 memcpy(p->prev_weight_sig, vector + FRAME_LEN, sizeof(int16_t) * PITCH_MAX);
1155 harmonic_filter(hf + j, vector + PITCH_MAX + i, in + i);
1174 memset(vector, 0, sizeof(int16_t) * PITCH_MAX);
1179 zero, zero, flt_in, vector + PITCH_MAX, 1);
1180 harmonic_filter(hf + i, vector + PITCH_MAX, impulse_resp);
1188 fir, iir, flt_in, vector + PITCH_MAX, 0);
1189 memcpy(vector, p->harmonic_mem, sizeof(int16_t) * PITCH_MAX);
1190 harmonic_noise_sub(hf + i, vector + PITCH_MAX, in);
1215 in, vector + PITCH_MAX, 0);
1218 memcpy(p->harmonic_mem + PITCH_MAX - SUBFRAME_LEN, vector + PITCH_MAX,