Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dtwinvq.c95 static inline float get_cos(int idx, int part, const float *cos_tab, int size) in get_cos() argument
97 return part ? -cos_tab[size - idx - 1] in get_cos()
98 : cos_tab[idx]; in get_cos()
122 const float *cos_tab = tctx->cos_tabs[ftype]; in eval_lpcenv_or_interp() local
128 get_cos(i, part, cos_tab, size), in eval_lpcenv_or_interp()
139 get_cos(i - step / 2, part, cos_tab, size), in eval_lpcenv_or_interp()
Ddca_lbr.c124 static float cos_tab[256]; variable
136 cos_tab[i] = cos(M_PI * i / 128); in init_tables()
1639 float c = amp * cos_tab[(t->phs[ch] ) & 255]; in synth_tones()
1640 float s = amp * cos_tab[(t->phs[ch] + 64) & 255]; in synth_tones()