Searched refs:mult_q (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-scaler.c | 112 static int mult_q(int A, int B) in mult_q() function 153 term = mult_q(term, div_q(x, 1 << PSC_Q_FRACTION)); in exp_approx_q() 155 term = mult_q(term, div_q(x, 2 << PSC_Q_FRACTION)); in exp_approx_q() 157 term = mult_q(term, div_q(x, 3 << PSC_Q_FRACTION)); in exp_approx_q() 159 term = mult_q(term, div_q(x, 4 << PSC_Q_FRACTION)); in exp_approx_q() 199 mult_q(sigma_q, sigma_q))); in dcss_scaler_gaussian_filter() 200 g2_q = mult_q(g1_q, g1_q); in dcss_scaler_gaussian_filter() 208 g0_q = mult_q(g0_q, g1_q); in dcss_scaler_gaussian_filter() 209 g1_q = mult_q(g1_q, g2_q); in dcss_scaler_gaussian_filter()
|