Home
last modified time | relevance | path

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

/drivers/media/test-drivers/vivid/
Dvivid-sdr-cap.c515 s32 fixp_q; in vivid_sdr_cap_process() local
542 fixp_q = fixp_sin32_rad(dev->sdr_fixp_mod_phase, FIXP_2PI); in vivid_sdr_cap_process()
547 fixp_q >>= (31 - FIXP_N); in vivid_sdr_cap_process()
554 fixp_q = fixp_q * 1275 + FIXP_FRAC * 1275; in vivid_sdr_cap_process()
556 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()
562 fixp_q = fixp_q * 1275 - FIXP_FRAC * 5; in vivid_sdr_cap_process()
564 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()