Home
last modified time | relevance | path

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

/linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
H A Dia_css_xnr3.host.c94 s32 isp_scale = XNR_CORING_SCALE_FACTOR; in compute_coring() local
101 isp_coring = ((coring * isp_scale) + offset) / host_scale; in compute_coring()
102 return clamp(isp_coring, 0, isp_scale - 1); in compute_coring()
113 s32 isp_scale = XNR_BLENDING_SCALE_FACTOR; in compute_blending() local
122 isp_strength = -(((strength * isp_scale) + offset) / host_scale); in compute_blending()
123 return MAX(MIN(isp_strength, 0), -isp_scale); in compute_blending()