Lines Matching refs:output_w

550 	int output_w, output_h, input_w = rect->width, input_h = rect->height;  in rj54n1_set_selection()  local
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()
571 rj54n1->width = output_w; in rj54n1_set_selection()
639 output_w = *out_w, output_h = *out_h; in rj54n1_sensor_scale() local
650 if (output_w > max(512U, input_w / 2)) { in rj54n1_sensor_scale()
651 if (2 * output_w > RJ54N1_MAX_WIDTH) { in rj54n1_sensor_scale()
653 output_w = RJ54N1_MAX_WIDTH / 2; in rj54n1_sensor_scale()
655 input_w = output_w * 2; in rj54n1_sensor_scale()
659 input_w, output_w); in rj54n1_sensor_scale()
677 RJ54N1_XY_OUTPUT_SIZE_S_H, output_w, output_h); in rj54n1_sensor_scale()
681 RJ54N1_XY_OUTPUT_SIZE_P_H, output_w, output_h); 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()
702 (output_w * resize_y + 512) / 1024 > RJ54N1_MAX_WIDTH) in rj54n1_sensor_scale()
703 resize = (RJ54N1_MAX_WIDTH * 1024 + output_w / 2) / in rj54n1_sensor_scale()
704 output_w; in rj54n1_sensor_scale()
759 wb_left = output_w / 16; in rj54n1_sensor_scale()
760 wb_right = (3 * output_w / 4 - 3) / 4; in rj54n1_sensor_scale()
809 *in_w = (output_w * resize + 512) / 1024; in rj54n1_sensor_scale()
811 *out_w = output_w; in rj54n1_sensor_scale()
815 *in_w, *in_h, resize, output_w, output_h, skip); in rj54n1_sensor_scale()
983 int output_w, output_h, max_w, max_h, in rj54n1_set_fmt() local
1103 output_w = mf->width; in rj54n1_set_fmt()
1106 ret = rj54n1_sensor_scale(sd, &input_w, &input_h, &output_w, &output_h); in rj54n1_set_fmt()
1117 rj54n1->width = output_w; in rj54n1_set_fmt()
1120 mf->width = output_w; in rj54n1_set_fmt()