Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/imx/dcss/
Ddcss-scaler.c176 int tap_cnt1, tap_cnt2, tap_idx, phase_cnt; in dcss_scaler_gaussian_filter() local
191 phase_cnt = (PSC_NUM_PHASES * (PSC_NUM_TAPS + 1)) / 2; in dcss_scaler_gaussian_filter()
201 coef[phase_cnt & PSC_PHASE_MASK][tap_cnt1 >> PSC_BITS_FOR_PHASE] = g0_q; in dcss_scaler_gaussian_filter()
204 phase_cnt++; in dcss_scaler_gaussian_filter()
211 if ((phase_cnt & PSC_PHASE_MASK) <= 8) { in dcss_scaler_gaussian_filter()
213 coef[phase_cnt & PSC_PHASE_MASK][tap_idx] = g0_q; in dcss_scaler_gaussian_filter()
215 if (((-phase_cnt) & PSC_PHASE_MASK) <= 8) { in dcss_scaler_gaussian_filter()
217 coef[(-phase_cnt) & PSC_PHASE_MASK][tap_idx] = g0_q; in dcss_scaler_gaussian_filter()
221 phase_cnt++; in dcss_scaler_gaussian_filter()
223 coef[phase_cnt & PSC_PHASE_MASK][tap_cnt1 >> PSC_BITS_FOR_PHASE] = 0; in dcss_scaler_gaussian_filter()