Searched refs:phs (Results 1 - 4 of 4) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
H A D | af_apulsator.c | 95 double phs = FFMIN(100, lfo->phase / FFMIN(1.99, FFMAX(0.01, lfo->pwidth)) + lfo->offset); in lfo_get_value() local 98 if (phs > 1) in lfo_get_value() 99 phs = fmod(phs, 1.); in lfo_get_value() 103 val = sin(phs * 2 * M_PI); in lfo_get_value() 106 if (phs > 0.75) in lfo_get_value() 107 val = (phs - 0.75) * 4 - 1; in lfo_get_value() 108 else if (phs > 0.25) in lfo_get_value() 109 val = -4 * phs + 2; in lfo_get_value() 111 val = phs * in lfo_get_value() [all...] |
H A D | af_acrusher.c | 198 double phs = FFMIN(100., lfo->phase / FFMIN(1.99, FFMAX(0.01, lfo->pwidth)) + lfo->offset); in lfo_get() local 201 if (phs > 1) in lfo_get() 202 phs = fmod(phs, 1.); in lfo_get() 204 val = sin((phs * 360.) * M_PI / 180); in lfo_get()
|
/third_party/ffmpeg/libavcodec/ |
H A D | dca_lbr.c | 275 unsigned int phs[DCA_LBR_CHANNELS_TOTAL]; in parse_tonal() local 314 phs[main_ch] = get_bits(&s->gb, 3); in parse_tonal() 322 phs[ch] = phs[main_ch] - parse_vlc(&s->gb, &ff_dca_vlc_dph, 1); in parse_tonal() 325 phs[ch] = 0; in parse_tonal() 343 t->phs[ch] = 128 - phs[ch] * 32 + shift; in parse_tonal() 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() 1671 t->phs[c in synth_tones() [all...] |
H A D | dca_lbr.h | 53 uint8_t phs[DCA_LBR_CHANNELS]; ///< Per-channel phase member
|
Completed in 5 milliseconds