Lines Matching refs:height

354 				    u32 width, u32 height)  in resizer_set_output_size()  argument
361 rgval |= (height << ISPRSZ_OUT_SIZE_VERT_SHIFT) in resizer_set_output_size()
417 u32 width, u32 height) in resizer_set_input_size() argument
424 rgval |= (height << ISPRSZ_IN_SIZE_VERT_SHIFT) in resizer_set_input_size()
508 clock = div_u64((u64)limit * res->crop.active.height, ofmt->height); in omap3isp_resizer_max_rate()
590 * res->crop.active.height; in resizer_adjust_bandwidth()
796 unsigned int height; in resizer_calc_ratios() local
802 min_height = ((input->height - 7) * 256 - 32 - 64 * spv) / 1024 + 1; in resizer_calc_ratios()
804 max_height = ((input->height - 4) * 256 + 255 - 16 - 32 * spv) / 64 + 1; in resizer_calc_ratios()
806 output->height = clamp(output->height, min_height, max_height); in resizer_calc_ratios()
808 ratio->vert = ((input->height - 4) * 256 + 255 - 16 - 32 * spv) in resizer_calc_ratios()
809 / (output->height - 1); in resizer_calc_ratios()
811 ratio->vert = ((input->height - 7) * 256 + 255 - 32 - 64 * spv) in resizer_calc_ratios()
812 / (output->height - 1); in resizer_calc_ratios()
817 upscaled_height = (output->height - 1) * ratio->vert in resizer_calc_ratios()
819 height = (upscaled_height >> 8) + 4; in resizer_calc_ratios()
821 upscaled_height = (output->height - 1) * ratio->vert in resizer_calc_ratios()
823 height = (upscaled_height >> 8) + 7; in resizer_calc_ratios()
899 input->top += (input->height - height) / 2; in resizer_calc_ratios()
901 input->height = height; in resizer_calc_ratios()
956 res->crop.active.height); in resizer_set_crop_params()
983 resizer_set_output_size(res, outformat->width, outformat->height); in resizer_configure()
1197 ((32 * spv + (source->height - 1) * 64 + 16) >> 8) + 4; in resizer_try_crop()
1201 ((64 * spv + (source->height - 1) * 1024 + 32) >> 8) + 7; in resizer_try_crop()
1204 crop->height = clamp_t(u32, crop->height, min_height, max_height); in resizer_try_crop()
1210 crop->top = clamp_t(u32, crop->top, 0, sink->height - MIN_IN_HEIGHT); in resizer_try_crop()
1211 crop->height = clamp_t(u32, crop->height, MIN_IN_HEIGHT, in resizer_try_crop()
1212 sink->height - crop->top); in resizer_try_crop()
1247 sel->r.height = INT_MAX; in resizer_get_selection()
1300 format_sink->width, format_sink->height, in resizer_set_selection()
1301 sel->r.left, sel->r.top, sel->r.width, sel->r.height, in resizer_set_selection()
1302 format_source.width, format_source.height); in resizer_set_selection()
1318 format_sink->width, format_sink->height, in resizer_set_selection()
1319 sel->r.left, sel->r.top, sel->r.width, sel->r.height, in resizer_set_selection()
1320 format_source.width, format_source.height); in resizer_set_selection()
1393 fmt->height = clamp_t(u32, fmt->height, MIN_IN_HEIGHT, in resizer_try_format()
1453 format.height = 1; in resizer_enum_frame_size()
1456 fse->min_height = format.height; in resizer_enum_frame_size()
1463 format.height = -1; in resizer_enum_frame_size()
1466 fse->max_height = format.height; in resizer_enum_frame_size()
1519 crop->height = fmt->format.height; in resizer_set_format()
1575 format.format.height = 4096; in resizer_init_formats()