SUBFRAME_LEN 161 libavcodec/g723_1.c if (p->cur_rate == RATE_6300 && p->pitch_lag[i >> 1] < SUBFRAME_LEN - 2) { SUBFRAME_LEN 445 libavcodec/g723_1.c int16_t vector[SUBFRAME_LEN]; SUBFRAME_LEN 448 libavcodec/g723_1.c memcpy(vector, buf, SUBFRAME_LEN * sizeof(*vector)); SUBFRAME_LEN 449 libavcodec/g723_1.c for (i = pitch_lag; i < SUBFRAME_LEN; i += pitch_lag) { SUBFRAME_LEN 450 libavcodec/g723_1.c for (j = 0; j < SUBFRAME_LEN - i; j++) SUBFRAME_LEN 469 libavcodec/g723_1.c memset(vector, 0, SUBFRAME_LEN * sizeof(*vector)); SUBFRAME_LEN 478 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN / GRID_SIZE; i++) { SUBFRAME_LEN 514 libavcodec/g723_1.c if (lag < SUBFRAME_LEN - 2) { SUBFRAME_LEN 515 libavcodec/g723_1.c for (i = lag; i < SUBFRAME_LEN; i++) SUBFRAME_LEN 533 libavcodec/g723_1.c for (i = 2; i < SUBFRAME_LEN + PITCH_ORDER - 1; i++) SUBFRAME_LEN 550 libavcodec/g723_1.c int16_t residual[SUBFRAME_LEN + PITCH_ORDER - 1]; SUBFRAME_LEN 560 libavcodec/g723_1.c if (cur_rate == RATE_6300 && pitch_lag < SUBFRAME_LEN - 2) { SUBFRAME_LEN 567 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN; i++) { SUBFRAME_LEN 682 libavcodec/g723_1.c SUBFRAME_LEN, 1); SUBFRAME_LEN 684 libavcodec/g723_1.c SUBFRAME_LEN, -1); SUBFRAME_LEN 695 libavcodec/g723_1.c energy[0] = dot_product(buf, buf, SUBFRAME_LEN); SUBFRAME_LEN 699 libavcodec/g723_1.c energy[2] = dot_product(buf + fwd_lag, buf + fwd_lag, SUBFRAME_LEN); SUBFRAME_LEN 703 libavcodec/g723_1.c energy[4] = dot_product(buf - back_lag, buf - back_lag, SUBFRAME_LEN); SUBFRAME_LEN 751 libavcodec/g723_1.c int offset = PITCH_MAX + 2 * SUBFRAME_LEN; SUBFRAME_LEN 761 libavcodec/g723_1.c index = autocorr_max(buf, offset, &ccr, pitch_lag, SUBFRAME_LEN * 2, -1); SUBFRAME_LEN 765 libavcodec/g723_1.c tgt_eng = dot_product(buf, buf, SUBFRAME_LEN * 2); SUBFRAME_LEN 772 libavcodec/g723_1.c best_eng = dot_product(buf - index, buf - index, SUBFRAME_LEN * 2); SUBFRAME_LEN 827 libavcodec/g723_1.c for (m = 0; m < SUBFRAME_LEN; m++) {\ SUBFRAME_LEN 853 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN; i++) { SUBFRAME_LEN 874 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN; i++) { SUBFRAME_LEN 899 libavcodec/g723_1.c for (i = LPC_ORDER, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) { SUBFRAME_LEN 922 libavcodec/g723_1.c scale = scale_vector(dst, buf, SUBFRAME_LEN); SUBFRAME_LEN 925 libavcodec/g723_1.c auto_corr[0] = dot_product(dst, dst + 1, SUBFRAME_LEN - 1); SUBFRAME_LEN 926 libavcodec/g723_1.c auto_corr[1] = dot_product(dst, dst, SUBFRAME_LEN); SUBFRAME_LEN 937 libavcodec/g723_1.c for (j = 0; j < SUBFRAME_LEN; j++) { SUBFRAME_LEN 951 libavcodec/g723_1.c buf += SUBFRAME_LEN; SUBFRAME_LEN 952 libavcodec/g723_1.c signal_ptr += SUBFRAME_LEN; SUBFRAME_LEN 953 libavcodec/g723_1.c dst += SUBFRAME_LEN; SUBFRAME_LEN 1032 libavcodec/g723_1.c int tmp[SUBFRAME_LEN * 2]; SUBFRAME_LEN 1048 libavcodec/g723_1.c off[i * 2 + 1] = ((t >> 1) & 1) + SUBFRAME_LEN; SUBFRAME_LEN 1058 libavcodec/g723_1.c for (j = 0; j < SUBFRAME_LEN / 2; j++) SUBFRAME_LEN 1060 libavcodec/g723_1.c t = SUBFRAME_LEN / 2; SUBFRAME_LEN 1076 libavcodec/g723_1.c gen_acb_excitation(vector_ptr + SUBFRAME_LEN, SUBFRAME_LEN 1077 libavcodec/g723_1.c vector_ptr + SUBFRAME_LEN, SUBFRAME_LEN 1082 libavcodec/g723_1.c for (j = 0; j < SUBFRAME_LEN * 2; j++) SUBFRAME_LEN 1094 libavcodec/g723_1.c for (j = 0; j < SUBFRAME_LEN * 2; j++) { SUBFRAME_LEN 1100 libavcodec/g723_1.c for (j = 0; j < SUBFRAME_LEN * 2; j++) { SUBFRAME_LEN 1112 libavcodec/g723_1.c c = p->cur_gain * (p->cur_gain * SUBFRAME_LEN >> 5); SUBFRAME_LEN 1144 libavcodec/g723_1.c sizeof(*vector_ptr) * SUBFRAME_LEN * 2); SUBFRAME_LEN 1145 libavcodec/g723_1.c vector_ptr += SUBFRAME_LEN * 2; SUBFRAME_LEN 1164 libavcodec/g723_1.c int16_t acb_vector[SUBFRAME_LEN]; SUBFRAME_LEN 1216 libavcodec/g723_1.c gen_acb_excitation(acb_vector, &p->excitation[SUBFRAME_LEN * i], SUBFRAME_LEN 1220 libavcodec/g723_1.c for (j = 0; j < SUBFRAME_LEN; j++) { SUBFRAME_LEN 1224 libavcodec/g723_1.c vector_ptr += SUBFRAME_LEN; SUBFRAME_LEN 1235 libavcodec/g723_1.c for (j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) SUBFRAME_LEN 1239 libavcodec/g723_1.c for (i = 0, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) SUBFRAME_LEN 1245 libavcodec/g723_1.c 1 << 14, 15, SUBFRAME_LEN); SUBFRAME_LEN 1297 libavcodec/g723_1.c for (i = LPC_ORDER, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) SUBFRAME_LEN 1299 libavcodec/g723_1.c audio + i, SUBFRAME_LEN, LPC_ORDER, SUBFRAME_LEN 1494 libavcodec/g723_1.c for (i = 0, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) { SUBFRAME_LEN 1679 libavcodec/g723_1.c for (i = LPC_ORDER, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) { SUBFRAME_LEN 1783 libavcodec/g723_1.c energy[i << 1] = ff_dot_product(buf - j, buf - j, SUBFRAME_LEN); SUBFRAME_LEN 1785 libavcodec/g723_1.c energy[(i << 1) + 1] = ff_dot_product(buf, buf - j, SUBFRAME_LEN); SUBFRAME_LEN 1789 libavcodec/g723_1.c energy[14] = ff_dot_product(buf, buf, SUBFRAME_LEN); SUBFRAME_LEN 1851 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN; i++) { SUBFRAME_LEN 1860 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN; i++) { SUBFRAME_LEN 1882 libavcodec/g723_1.c int16_t buf_16[SUBFRAME_LEN + LPC_ORDER]; SUBFRAME_LEN 1883 libavcodec/g723_1.c int64_t buf[SUBFRAME_LEN]; SUBFRAME_LEN 1890 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN; i++) { SUBFRAME_LEN 1899 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN; i++) { SUBFRAME_LEN 1908 libavcodec/g723_1.c memcpy(perf_fir, buf_16 + SUBFRAME_LEN, sizeof(int16_t) * LPC_ORDER); SUBFRAME_LEN 1909 libavcodec/g723_1.c memcpy(perf_iir, dest + SUBFRAME_LEN - LPC_ORDER, SUBFRAME_LEN 1924 libavcodec/g723_1.c int16_t flt_buf[PITCH_ORDER][SUBFRAME_LEN]; SUBFRAME_LEN 1951 libavcodec/g723_1.c for (j = 0; j < SUBFRAME_LEN; j++) { SUBFRAME_LEN 1961 libavcodec/g723_1.c for (k = 1; k < SUBFRAME_LEN; k++) { SUBFRAME_LEN 1970 libavcodec/g723_1.c temp = ff_dot_product(buf, flt_buf[j], SUBFRAME_LEN); SUBFRAME_LEN 1977 libavcodec/g723_1.c SUBFRAME_LEN); SUBFRAME_LEN 1982 libavcodec/g723_1.c temp = ff_dot_product(flt_buf[j], flt_buf[k], SUBFRAME_LEN); SUBFRAME_LEN 2003 libavcodec/g723_1.c if (!odd_frame && pitch_lag + i - 1 >= SUBFRAME_LEN - 2 || SUBFRAME_LEN 2004 libavcodec/g723_1.c odd_frame && pitch_lag >= SUBFRAME_LEN - 2) { SUBFRAME_LEN 2044 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN; i++) { SUBFRAME_LEN 2063 libavcodec/g723_1.c int16_t impulse_r[SUBFRAME_LEN]; SUBFRAME_LEN 2064 libavcodec/g723_1.c int16_t temp_corr[SUBFRAME_LEN]; SUBFRAME_LEN 2065 libavcodec/g723_1.c int16_t impulse_corr[SUBFRAME_LEN]; SUBFRAME_LEN 2067 libavcodec/g723_1.c int ccr1[SUBFRAME_LEN]; SUBFRAME_LEN 2068 libavcodec/g723_1.c int ccr2[SUBFRAME_LEN]; SUBFRAME_LEN 2074 libavcodec/g723_1.c memcpy(impulse_r, impulse_resp, sizeof(int16_t) * SUBFRAME_LEN); SUBFRAME_LEN 2076 libavcodec/g723_1.c if (pitch_lag < SUBFRAME_LEN - 2) { SUBFRAME_LEN 2081 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN; i++) SUBFRAME_LEN 2085 libavcodec/g723_1.c temp = dot_product(temp_corr, temp_corr, SUBFRAME_LEN); SUBFRAME_LEN 2090 libavcodec/g723_1.c for (i = 1; i < SUBFRAME_LEN; i++) { SUBFRAME_LEN 2091 libavcodec/g723_1.c temp = dot_product(temp_corr + i, temp_corr, SUBFRAME_LEN - i); SUBFRAME_LEN 2097 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN; i++){ SUBFRAME_LEN 2098 libavcodec/g723_1.c temp = dot_product(buf + i, impulse_r, SUBFRAME_LEN - i); SUBFRAME_LEN 2109 libavcodec/g723_1.c for (j = i; j < SUBFRAME_LEN; j += GRID_SIZE) { SUBFRAME_LEN 2134 libavcodec/g723_1.c for (k = i; k < SUBFRAME_LEN; k += GRID_SIZE) { SUBFRAME_LEN 2146 libavcodec/g723_1.c for (l = i; l < SUBFRAME_LEN; l += GRID_SIZE) { SUBFRAME_LEN 2166 libavcodec/g723_1.c memset(temp_corr, 0, sizeof(int16_t) * SUBFRAME_LEN); SUBFRAME_LEN 2171 libavcodec/g723_1.c for (k = SUBFRAME_LEN - 1; k >= 0; k--) { SUBFRAME_LEN 2183 libavcodec/g723_1.c for (k = 0; k < SUBFRAME_LEN; k++) { SUBFRAME_LEN 2223 libavcodec/g723_1.c for (i = 0; i < SUBFRAME_LEN >> 1; i++) { SUBFRAME_LEN 2254 libavcodec/g723_1.c get_fcb_param(&optim, impulse_resp, buf, pulse_cnt, SUBFRAME_LEN); SUBFRAME_LEN 2256 libavcodec/g723_1.c if (p->pitch_lag[index >> 1] < SUBFRAME_LEN - 2) { SUBFRAME_LEN 2262 libavcodec/g723_1.c memset(buf, 0, sizeof(int16_t) * SUBFRAME_LEN); SUBFRAME_LEN 2368 libavcodec/g723_1.c memcpy(vector + LPC_ORDER, p->prev_data + SUBFRAME_LEN, SUBFRAME_LEN 2369 libavcodec/g723_1.c sizeof(int16_t) * SUBFRAME_LEN); SUBFRAME_LEN 2370 libavcodec/g723_1.c memcpy(vector + LPC_ORDER + SUBFRAME_LEN, in, SUBFRAME_LEN 2371 libavcodec/g723_1.c sizeof(int16_t) * (HALF_FRAME_LEN + SUBFRAME_LEN)); SUBFRAME_LEN 2387 libavcodec/g723_1.c for (i = PITCH_MAX, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) SUBFRAME_LEN 2394 libavcodec/g723_1.c for (i = 0, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) SUBFRAME_LEN 2404 libavcodec/g723_1.c int16_t impulse_resp[SUBFRAME_LEN]; SUBFRAME_LEN 2405 libavcodec/g723_1.c int16_t residual[SUBFRAME_LEN + PITCH_ORDER - 1]; SUBFRAME_LEN 2406 libavcodec/g723_1.c int16_t flt_in[SUBFRAME_LEN]; SUBFRAME_LEN 2415 libavcodec/g723_1.c memset(flt_in, 0, sizeof(int16_t) * SUBFRAME_LEN); SUBFRAME_LEN 2443 libavcodec/g723_1.c memmove(p->prev_excitation, p->prev_excitation + SUBFRAME_LEN, SUBFRAME_LEN 2444 libavcodec/g723_1.c sizeof(int16_t) * (PITCH_MAX - SUBFRAME_LEN)); SUBFRAME_LEN 2445 libavcodec/g723_1.c for (j = 0; j < SUBFRAME_LEN; j++) SUBFRAME_LEN 2447 libavcodec/g723_1.c memcpy(p->prev_excitation + PITCH_MAX - SUBFRAME_LEN, in, SUBFRAME_LEN 2448 libavcodec/g723_1.c sizeof(int16_t) * SUBFRAME_LEN); SUBFRAME_LEN 2454 libavcodec/g723_1.c memmove(p->harmonic_mem, p->harmonic_mem + SUBFRAME_LEN, SUBFRAME_LEN 2455 libavcodec/g723_1.c sizeof(int16_t) * (PITCH_MAX - SUBFRAME_LEN)); SUBFRAME_LEN 2456 libavcodec/g723_1.c memcpy(p->harmonic_mem + PITCH_MAX - SUBFRAME_LEN, vector + PITCH_MAX, SUBFRAME_LEN 2457 libavcodec/g723_1.c sizeof(int16_t) * SUBFRAME_LEN); SUBFRAME_LEN 2459 libavcodec/g723_1.c in += SUBFRAME_LEN; SUBFRAME_LEN 35 libavcodec/g723_1_data.h #define FRAME_LEN (SUBFRAME_LEN << 2) SUBFRAME_LEN 37 libavcodec/g723_1_data.h #define LPC_FRAME (HALF_FRAME_LEN + SUBFRAME_LEN) SUBFRAME_LEN 515 libavcodec/g723_1_data.h static const int32_t combinatorial_table[PULSE_MAX][SUBFRAME_LEN/GRID_SIZE] = {