Home
last modified time | relevance | path

Searched refs:SUBFRAME_LEN (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dg723_1enc.c238 for (i = 0, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) { in comp_lpc_coeff()
420 for (m = 0; m < SUBFRAME_LEN; m++) { in iir_filter()
448 for (i = LPC_ORDER, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) { in perceptual_filter()
552 energy[i << 1] = ff_dot_product(buf - j, buf - j, SUBFRAME_LEN); in comp_harmonic_coeff()
554 energy[(i << 1) + 1] = ff_dot_product(buf, buf - j, SUBFRAME_LEN); in comp_harmonic_coeff()
558 energy[14] = ff_dot_product(buf, buf, SUBFRAME_LEN); in comp_harmonic_coeff()
620 for (i = 0; i < SUBFRAME_LEN; i++) { in harmonic_filter()
629 for (i = 0; i < SUBFRAME_LEN; i++) { in harmonic_noise_sub()
650 int16_t buf_16[SUBFRAME_LEN + LPC_ORDER]; in synth_percept_filter()
651 int64_t buf[SUBFRAME_LEN]; in synth_percept_filter()
[all …]
Dg723_1dec.c201 if (p->cur_rate == RATE_6300 && p->pitch_lag[i >> 1] < SUBFRAME_LEN - 2) { in unpack_bitstream()
286 memset(vector, 0, SUBFRAME_LEN * sizeof(*vector)); in gen_fcb_excitation()
295 for (i = 0; i < SUBFRAME_LEN / GRID_SIZE; i++) { in gen_fcb_excitation()
331 if (lag < SUBFRAME_LEN - 2) { in gen_fcb_excitation()
332 for (i = lag; i < SUBFRAME_LEN; i++) in gen_fcb_excitation()
447 SUBFRAME_LEN, 1); in comp_ppf_coeff()
449 SUBFRAME_LEN, -1); in comp_ppf_coeff()
460 energy[0] = ff_g723_1_dot_product(buf, buf, SUBFRAME_LEN); in comp_ppf_coeff()
465 SUBFRAME_LEN); in comp_ppf_coeff()
470 SUBFRAME_LEN); in comp_ppf_coeff()
[all …]
Dg723_1.c409 const int32_t ff_g723_1_combinatorial_table[PULSE_MAX][SUBFRAME_LEN/GRID_SIZE] = {
1141 for (i = 2; i < SUBFRAME_LEN + PITCH_ORDER - 1; i++) in ff_g723_1_get_residual()
1147 int16_t vector[SUBFRAME_LEN]; in ff_g723_1_gen_dirac_train()
1150 memcpy(vector, buf, SUBFRAME_LEN * sizeof(*vector)); in ff_g723_1_gen_dirac_train()
1151 for (i = pitch_lag; i < SUBFRAME_LEN; i += pitch_lag) { in ff_g723_1_gen_dirac_train()
1152 for (j = 0; j < SUBFRAME_LEN - i; j++) in ff_g723_1_gen_dirac_train()
1161 int16_t residual[SUBFRAME_LEN + PITCH_ORDER - 1]; in ff_g723_1_gen_acb_excitation()
1171 if (cur_rate == RATE_6300 && pitch_lag < SUBFRAME_LEN - 2) { in ff_g723_1_gen_acb_excitation()
1178 for (i = 0; i < SUBFRAME_LEN; i++) { in ff_g723_1_gen_acb_excitation()
Dg723_1.h36 #define SUBFRAME_LEN 60 macro
37 #define FRAME_LEN (SUBFRAME_LEN << 2)
39 #define LPC_FRAME (HALF_FRAME_LEN + SUBFRAME_LEN)
255 extern const int32_t ff_g723_1_combinatorial_table[PULSE_MAX][SUBFRAME_LEN/GRID_SIZE];