Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-sdr-cap.c519 s32 fixp_q; in vivid_sdr_cap_process() local
546 fixp_q = fixp_sin32_rad(dev->sdr_fixp_mod_phase, FIXP_2PI); in vivid_sdr_cap_process()
551 fixp_q >>= (31 - FIXP_N); in vivid_sdr_cap_process()
558 fixp_q = fixp_q * 1275 + FIXP_FRAC * 1275; in vivid_sdr_cap_process()
560 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()
566 fixp_q = fixp_q * 1275 - FIXP_FRAC * 5; in vivid_sdr_cap_process()
568 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()