Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dcngdec.c33 float *refl_coef, *target_refl_coef; member
47 av_freep(&p->target_refl_coef); in cng_decode_close()
65 p->target_refl_coef = av_mallocz_array(p->order, sizeof(*p->target_refl_coef)); in cng_decode_init()
70 if (!p->refl_coef || !p->target_refl_coef || !p->lpc_coef || in cng_decode_init()
117 memset(p->target_refl_coef, 0, p->order * sizeof(*p->target_refl_coef)); in cng_decode_frame()
119 p->target_refl_coef[i] = (avpkt->data[1 + i] - 127) / 128.0; in cng_decode_frame()
131 p->refl_coef[i] = 0.6 *p->refl_coef[i] + 0.4 * p->target_refl_coef[i]; in cng_decode_frame()
134 memcpy(p->refl_coef, p->target_refl_coef, p->order * sizeof(*p->refl_coef)); in cng_decode_frame()