Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dtwinvq.c51 float two_cos_w = 2.0f * cos_val; in eval_lpc_spectrum() local
55 q *= lsp[j] - two_cos_w; in eval_lpc_spectrum()
56 p *= lsp[j + 1] - two_cos_w; in eval_lpc_spectrum()
58 q *= lsp[j + 2] - two_cos_w; in eval_lpc_spectrum()
59 p *= lsp[j + 3] - two_cos_w; in eval_lpc_spectrum()
62 p *= p * (2.0f - two_cos_w); in eval_lpc_spectrum()
63 q *= q * (2.0f + two_cos_w); in eval_lpc_spectrum()
Dvorbisdec.c1167 float two_cos_w = 2.0f * cos(wstep * iter_cond); // needed all times in vorbis_floor0_decode() local
1171 q *= lsp[j] - two_cos_w; in vorbis_floor0_decode()
1172 p *= lsp[j + 1] - two_cos_w; in vorbis_floor0_decode()
1175 p *= p * (2.0f - two_cos_w); in vorbis_floor0_decode()
1176 q *= q * (2.0f + two_cos_w); in vorbis_floor0_decode()
1178 q *= two_cos_w-lsp[j]; // one more time for q in vorbis_floor0_decode()
1181 p *= p * (4.f - two_cos_w * two_cos_w); in vorbis_floor0_decode()