Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dg723_1dec.c282 static void gen_fcb_excitation(int16_t *vector, G723_1_Subframe *subfrm, in gen_fcb_excitation() argument
290 if (subfrm->pulse_pos >= max_pos[index]) in gen_fcb_excitation()
295 temp = subfrm->pulse_pos; in gen_fcb_excitation()
301 if (subfrm->pulse_sign & (1 << (PULSE_MAX - j))) { in gen_fcb_excitation()
302 vector[subfrm->grid_index + GRID_SIZE * i] = in gen_fcb_excitation()
303 -ff_g723_1_fixed_cb_gain[subfrm->amp_index]; in gen_fcb_excitation()
305 vector[subfrm->grid_index + GRID_SIZE * i] = in gen_fcb_excitation()
306 ff_g723_1_fixed_cb_gain[subfrm->amp_index]; in gen_fcb_excitation()
311 if (subfrm->dirac_train == 1) in gen_fcb_excitation()
314 int cb_gain = ff_g723_1_fixed_cb_gain[subfrm->amp_index]; in gen_fcb_excitation()
[all …]
Dg723_1.c1159 int pitch_lag, G723_1_Subframe *subfrm, in ff_g723_1_gen_acb_excitation() argument
1164 int lag = pitch_lag + subfrm->ad_cb_lag - 1; in ff_g723_1_gen_acb_excitation()
1178 cb_ptr += subfrm->ad_cb_gain * 20; in ff_g723_1_gen_acb_excitation()
Dg723_1enc.c976 static void pack_fcb_param(G723_1_Subframe *subfrm, FCBParam *optim, in pack_fcb_param() argument
983 subfrm->pulse_sign = 0; in pack_fcb_param()
984 subfrm->pulse_pos = 0; in pack_fcb_param()
989 subfrm->pulse_pos += ff_g723_1_combinatorial_table[j][i]; in pack_fcb_param()
991 subfrm->pulse_sign <<= 1; in pack_fcb_param()
993 subfrm->pulse_sign++; in pack_fcb_param()
1000 subfrm->amp_index = optim->amp_index; in pack_fcb_param()
1001 subfrm->grid_index = optim->grid_index; in pack_fcb_param()
1002 subfrm->dirac_train = optim->dirac_train; in pack_fcb_param()
Dg723_1.h198 int pitch_lag, G723_1_Subframe *subfrm,