Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
H A 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()
H A Ddca_lbr.c121 static float cos_tab[256]; variable
129 cos_tab[i] = cos(M_PI * i / 128); in ff_dca_lbr_init_tables()
1630 float c = amp * cos_tab[(t->phs[ch] ) & 255]; in synth_tones()
1631 float s = amp * cos_tab[(t->phs[ch] + 64) & 255]; in synth_tones()

Completed in 8 milliseconds