Home
last modified time | relevance | path

Searched refs:sid_gain (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dg723_1dec.c746 if (p->sid_gain == 0) { in estimate_sid_gain()
748 … } else if (shift >= 31 || (int32_t)((uint32_t)p->sid_gain << shift) >> shift != p->sid_gain) { in estimate_sid_gain()
749 if (p->sid_gain < 0) t = INT32_MIN; in estimate_sid_gain()
752 t = p->sid_gain * (1 << shift); in estimate_sid_gain()
754 t = (p->sid_gain < 0) ? -1 : 0; in estimate_sid_gain()
756 t = p->sid_gain >> -shift; in estimate_sid_gain()
1010 &p->sid_gain, &p->cur_gain); in g723_1_decode_frame()
1058 p->sid_gain = sid_gain_to_lsp_index(p->subframe[0].amp_index); in g723_1_decode_frame()
1061 p->sid_gain = estimate_sid_gain(p); in g723_1_decode_frame()
1065 p->cur_gain = p->sid_gain; in g723_1_decode_frame()
[all …]
Dg723_1.h140 int sid_gain; member