Home
last modified time | relevance | path

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

/drivers/media/test-drivers/vivid/
Dvivid-sdr-cap.c503 #define FIXP_2PI ((int)(2 * 3.141592653589 * FIXP_FRAC)) macro
519 src_phase_step = DIV_ROUND_CLOSEST(FIXP_2PI * BEEP_FREQ, in vivid_sdr_cap_process()
524 FIXP_2PI) >> (31 - FIXP_N); in vivid_sdr_cap_process()
535 dev->sdr_fixp_src_phase %= FIXP_2PI; in vivid_sdr_cap_process()
536 dev->sdr_fixp_mod_phase %= FIXP_2PI; in vivid_sdr_cap_process()
539 dev->sdr_fixp_mod_phase += FIXP_2PI; in vivid_sdr_cap_process()
541 fixp_i = fixp_cos32_rad(dev->sdr_fixp_mod_phase, FIXP_2PI); in vivid_sdr_cap_process()
542 fixp_q = fixp_sin32_rad(dev->sdr_fixp_mod_phase, FIXP_2PI); in vivid_sdr_cap_process()