Searched refs:FIXP_FRAC (Results 1 – 1 of 1) sorted by relevance
511 #define FIXP_FRAC (1 << FIXP_N) macro512 #define FIXP_2PI ((int)(2 * 3.141592653589 * FIXP_FRAC))562 fixp_i = fixp_i * 1275 + FIXP_FRAC * 1275; in vivid_sdr_cap_process()563 fixp_q = fixp_q * 1275 + FIXP_FRAC * 1275; in vivid_sdr_cap_process()564 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); in vivid_sdr_cap_process()565 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()570 fixp_i = fixp_i * 1275 - FIXP_FRAC * 5; in vivid_sdr_cap_process()571 fixp_q = fixp_q * 1275 - FIXP_FRAC * 5; in vivid_sdr_cap_process()572 *vbuf++ = DIV_ROUND_CLOSEST(fixp_i, FIXP_FRAC * 10); in vivid_sdr_cap_process()573 *vbuf++ = DIV_ROUND_CLOSEST(fixp_q, FIXP_FRAC * 10); in vivid_sdr_cap_process()