Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dg723_1dec.c226 p->subframe[0].pulse_pos = temp / 810; in unpack_bitstream()
228 temp -= p->subframe[0].pulse_pos * 810; in unpack_bitstream()
229 p->subframe[1].pulse_pos = FASTDIV(temp, 90); in unpack_bitstream()
231 temp -= p->subframe[1].pulse_pos * 90; in unpack_bitstream()
232 p->subframe[2].pulse_pos = FASTDIV(temp, 9); in unpack_bitstream()
233 p->subframe[3].pulse_pos = temp - p->subframe[2].pulse_pos * 9; in unpack_bitstream()
235 p->subframe[0].pulse_pos = (p->subframe[0].pulse_pos << 16) + in unpack_bitstream()
237 p->subframe[1].pulse_pos = (p->subframe[1].pulse_pos << 14) + in unpack_bitstream()
239 p->subframe[2].pulse_pos = (p->subframe[2].pulse_pos << 16) + in unpack_bitstream()
241 p->subframe[3].pulse_pos = (p->subframe[3].pulse_pos << 14) + in unpack_bitstream()
[all …]
Dg723_1enc.c876 param.pulse_pos[0] = j; in get_fcb_param()
904 param.pulse_sign[0] = (ccr2[param.pulse_pos[0]] < 0) ? -amp : amp; in get_fcb_param()
905 temp_corr[param.pulse_pos[0]] = 1; in get_fcb_param()
912 temp = impulse_corr[FFABS(l - param.pulse_pos[k - 1])]; in get_fcb_param()
919 param.pulse_pos[k] = l; in get_fcb_param()
923 param.pulse_sign[k] = (ccr2[param.pulse_pos[k]] < 0) ? in get_fcb_param()
925 temp_corr[param.pulse_pos[k]] = 1; in get_fcb_param()
932 temp_corr[param.pulse_pos[k]] = param.pulse_sign[k]; in get_fcb_param()
963 optim->pulse_pos[k] = param.pulse_pos[k]; in get_fcb_param()
984 subfrm->pulse_pos = 0; in pack_fcb_param()
[all …]
Ddss_sp.c42 int16_t pulse_pos[7]; member
370 fparam->sf[subframe_idx].pulse_pos[i] = pulse_idx; in dss_sp_unpack_coeffs()
377 fparam->sf[subframe_idx].pulse_pos[6] = 0; in dss_sp_unpack_coeffs()
383 fparam->sf[subframe_idx].pulse_pos[6 - index] = i; in dss_sp_unpack_coeffs()
468 vector_buf[sf->pulse_pos[i]] += (dss_sp_fixed_cb_gain[sf->gain] * in dss_sp_add_pulses()
Dg723_1.h87 int pulse_pos; member
115 int pulse_pos[PULSE_MAX]; member