Searched refs:FIXP_FRAC (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/media/platform/vivid/
H A Dvivid-sdr-cap.c428 #define FIXP_FRAC (1 << FIXP_N) macro
429 #define FIXP_2PI ((int)(2 * 3.141592653589 * FIXP_FRAC))
482 fixp_i = fixp_i * 1275 + FIXP_FRAC * 1275; vivid_sdr_cap_process()
483 fixp_q = fixp_q * 1275 + FIXP_FRAC * 1275; vivid_sdr_cap_process()
484 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); vivid_sdr_cap_process()
485 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); vivid_sdr_cap_process()

Completed in 48 milliseconds