Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
H A Dia_css_xnr3.host.c101 s32 isp_scale = XNR_CORING_SCALE_FACTOR; in compute_coring() local
108 isp_coring = ((coring * isp_scale) + offset) / host_scale; in compute_coring()
109 return min(max(isp_coring, 0), isp_scale - 1); in compute_coring()
120 s32 isp_scale = XNR_BLENDING_SCALE_FACTOR; in compute_blending() local
129 isp_strength = -(((strength * isp_scale) + offset) / host_scale); in compute_blending()
130 return MAX(MIN(isp_strength, 0), -isp_scale); in compute_blending()