Lines Matching refs:input_h
547 input_w = rect->width, input_h = rect->height; in rj54n1_s_crop() local
554 soc_camera_limit_side(&dummy, &input_h, in rj54n1_s_crop()
558 output_h = (input_h * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_s_crop()
561 input_w, input_h, rj54n1->resize, output_w, output_h); in rj54n1_s_crop()
563 ret = rj54n1_sensor_scale(sd, &input_w, &input_h, &output_w, &output_h); in rj54n1_s_crop()
571 rj54n1->rect.height = input_h; in rj54n1_s_crop()
631 unsigned int skip, resize, input_w = *in_w, input_h = *in_h, in rj54n1_sensor_scale() local
655 if (output_h > max(384U, input_h / 2)) { in rj54n1_sensor_scale()
657 input_h = RJ54N1_MAX_HEIGHT; in rj54n1_sensor_scale()
660 input_h = output_h * 2; in rj54n1_sensor_scale()
664 input_h, output_h); in rj54n1_sensor_scale()
679 if (output_w > input_w && output_h > input_h) { in rj54n1_sensor_scale()
681 input_h = output_h; in rj54n1_sensor_scale()
687 resize_y = (input_h * 1024 + output_h / 2) / output_h; in rj54n1_sensor_scale()
977 input_w = rj54n1->rect.width, input_h = rj54n1->rect.height; in rj54n1_set_fmt() local
1093 if (input_h > max_h) in rj54n1_set_fmt()
1094 input_h = max_h; in rj54n1_set_fmt()
1099 ret = rj54n1_sensor_scale(sd, &input_w, &input_h, &output_w, &output_h); in rj54n1_set_fmt()
1109 rj54n1->rect.height = input_h; in rj54n1_set_fmt()