Searched refs:FIXP_FRAC (Results 1 – 1 of 1) sorted by relevance
506 #define FIXP_FRAC (1 << FIXP_N) macro507 #define FIXP_2PI ((int)(2 * 3.141592653589 * FIXP_FRAC))557 fixp_i = fixp_i * 1275 + FIXP_FRAC * 1275; in vivid_sdr_cap_process()558 fixp_q = fixp_q * 1275 + FIXP_FRAC * 1275; in vivid_sdr_cap_process()559 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); in vivid_sdr_cap_process()560 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()565 fixp_i = fixp_i * 1275 - FIXP_FRAC * 5; in vivid_sdr_cap_process()566 fixp_q = fixp_q * 1275 - FIXP_FRAC * 5; in vivid_sdr_cap_process()567 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); in vivid_sdr_cap_process()568 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()