Lines Matching refs:input_w
550 int output_w, output_h, input_w = rect->width, input_h = rect->height; in rj54n1_set_selection() local
558 v4l_bound_align_image(&input_w, 8, RJ54N1_MAX_WIDTH, 0, in rj54n1_set_selection()
561 output_w = (input_w * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection()
565 input_w, input_h, rj54n1->resize, output_w, output_h); in rj54n1_set_selection()
567 ret = rj54n1_sensor_scale(sd, &input_w, &input_h, &output_w, &output_h); in rj54n1_set_selection()
574 rj54n1->rect.width = input_w; in rj54n1_set_selection()
638 unsigned int skip, resize, input_w = *in_w, input_h = *in_h, in rj54n1_sensor_scale() local
650 if (output_w > max(512U, input_w / 2)) { in rj54n1_sensor_scale()
652 input_w = RJ54N1_MAX_WIDTH; in rj54n1_sensor_scale()
655 input_w = output_w * 2; in rj54n1_sensor_scale()
659 input_w, output_w); in rj54n1_sensor_scale()
686 if (output_w > input_w && output_h > input_h) { in rj54n1_sensor_scale()
687 input_w = output_w; in rj54n1_sensor_scale()
693 resize_x = (input_w * 1024 + output_w / 2) / output_w; in rj54n1_sensor_scale()
984 input_w = rj54n1->rect.width, input_h = rj54n1->rect.height; in rj54n1_set_fmt() local
1097 if (input_w > max_w) in rj54n1_set_fmt()
1098 input_w = max_w; in rj54n1_set_fmt()
1106 ret = rj54n1_sensor_scale(sd, &input_w, &input_h, &output_w, &output_h); in rj54n1_set_fmt()
1115 rj54n1->rect.width = input_w; in rj54n1_set_fmt()