Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dg723_1dec.c281 static void gen_fcb_excitation(int16_t *vector, G723_1_Subframe *subfrm, in gen_fcb_excitation() argument
289 if (subfrm->pulse_pos >= max_pos[index]) in gen_fcb_excitation()
294 temp = subfrm->pulse_pos; in gen_fcb_excitation()
300 if (subfrm->pulse_sign & (1 << (PULSE_MAX - j))) { in gen_fcb_excitation()
301 vector[subfrm->grid_index + GRID_SIZE * i] = in gen_fcb_excitation()
302 -ff_g723_1_fixed_cb_gain[subfrm->amp_index]; in gen_fcb_excitation()
304 vector[subfrm->grid_index + GRID_SIZE * i] = in gen_fcb_excitation()
305 ff_g723_1_fixed_cb_gain[subfrm->amp_index]; in gen_fcb_excitation()
310 if (subfrm->dirac_train == 1) in gen_fcb_excitation()
313 int cb_gain = ff_g723_1_fixed_cb_gain[subfrm->amp_index]; in gen_fcb_excitation()
[all …]
Dg723_1.c1158 int pitch_lag, G723_1_Subframe *subfrm, in ff_g723_1_gen_acb_excitation() argument
1163 int lag = pitch_lag + subfrm->ad_cb_lag - 1; in ff_g723_1_gen_acb_excitation()
1177 cb_ptr += subfrm->ad_cb_gain * 20; in ff_g723_1_gen_acb_excitation()
Dg723_1enc.c980 static void pack_fcb_param(G723_1_Subframe *subfrm, FCBParam *optim, in pack_fcb_param() argument
987 subfrm->pulse_sign = 0; in pack_fcb_param()
988 subfrm->pulse_pos = 0; in pack_fcb_param()
993 subfrm->pulse_pos += ff_g723_1_combinatorial_table[j][i]; in pack_fcb_param()
995 subfrm->pulse_sign <<= 1; in pack_fcb_param()
997 subfrm->pulse_sign++; in pack_fcb_param()
1004 subfrm->amp_index = optim->amp_index; in pack_fcb_param()
1005 subfrm->grid_index = optim->grid_index; in pack_fcb_param()
1006 subfrm->dirac_train = optim->dirac_train; in pack_fcb_param()
Dg723_1.h198 int pitch_lag, G723_1_Subframe *subfrm,