Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-sdr-cap.c498 s32 fixp_i; in vivid_sdr_cap_process() local
525 fixp_i = fixp_cos32_rad(dev->sdr_fixp_mod_phase, FIXP_2PI); in vivid_sdr_cap_process()
530 fixp_i >>= (31 - FIXP_N); in vivid_sdr_cap_process()
537 fixp_i = fixp_i * 1275 + FIXP_FRAC * 1275; in vivid_sdr_cap_process()
539 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); in vivid_sdr_cap_process()
545 fixp_i = fixp_i * 1275 - FIXP_FRAC * 5; in vivid_sdr_cap_process()
547 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); in vivid_sdr_cap_process()