Home
last modified time | relevance | path

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

/drivers/staging/media/atomisp/pci/
Dsh_css_param_shading.c150 int tx, src_x0, src_x1; in crop_and_interpolate() local
157 src_x0 = tx / (int)in_cell_size; in crop_and_interpolate()
162 src_x1 = src_x0 + 1; in crop_and_interpolate()
165 src_x0 = clamp(src_x0, 0, (int)table_width - 1); in crop_and_interpolate()
171 sx0 = min(src_x0 * in_cell_size, sensor_width - 1); in crop_and_interpolate()
188 s_ul = in_ptr[(table_width * src_y0) + src_x0]; in crop_and_interpolate()
190 s_ll = in_ptr[(table_width * src_y1) + src_x0]; in crop_and_interpolate()