Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/staging/media/atomisp/pci/
Dsh_css_param_shading.c90 in_cell_size, in crop_and_interpolate() local
110 in_cell_size = CEIL_DIV(sensor_width, table_width - 1); in crop_and_interpolate()
114 table_cell_w = (int)((table_width - 1) * in_cell_size); in crop_and_interpolate()
115 table_cell_h = (table_height - 1) * in_cell_size; in crop_and_interpolate()
129 src_y0 = ty / (int)in_cell_size; in crop_and_interpolate()
130 if (in_cell_size < out_cell_size) in crop_and_interpolate()
131 src_y1 = (ty + out_cell_size) / in_cell_size; in crop_and_interpolate()
140 sy0 = min(src_y0 * in_cell_size, sensor_height - 1); in crop_and_interpolate()
141 sy1 = min(src_y1 * in_cell_size, sensor_height - 1); in crop_and_interpolate()
159 src_x0 = tx / (int)in_cell_size; in crop_and_interpolate()
[all …]