Searched refs:src_x0 (Results 1 – 1 of 1) sorted by relevance
152 int tx, src_x0, src_x1; in crop_and_interpolate() local159 src_x0 = tx / (int)in_cell_size; in crop_and_interpolate()164 src_x1 = src_x0 + 1; in crop_and_interpolate()167 src_x0 = clamp(src_x0, 0, (int)table_width - 1); in crop_and_interpolate()175 sx0 = min(src_x0 * in_cell_size, sensor_width - 1); in crop_and_interpolate()195 s_ul = in_ptr[(table_width * src_y0) + src_x0]; in crop_and_interpolate()197 s_ll = in_ptr[(table_width * src_y1) + src_x0]; in crop_and_interpolate()