Lines Matching refs:sensor_width
93 *width = go->board_info->sensor_width; in get_resolution()
178 int sensor_height = 0, sensor_width = 0; in set_capture_size() local
184 get_resolution(go, &sensor_width, &sensor_height); in set_capture_size()
187 width = sensor_width; in set_capture_size()
190 if (fmt->fmt.pix.width > sensor_width) in set_capture_size()
191 width = sensor_width; in set_capture_size()
206 if (width <= sensor_width / 4) { in set_capture_size()
207 width = sensor_width / 4; in set_capture_size()
209 } else if (width <= sensor_width / 2) { in set_capture_size()
210 width = sensor_width / 2; in set_capture_size()
213 width = sensor_width; in set_capture_size()
257 if (width <= sensor_width / 4) { in set_capture_size()
261 } else if (width <= sensor_width / 2) { in set_capture_size()