Lines Matching refs:input

556 	if (res->input != RESIZER_INPUT_MEMORY) {  in resizer_adjust_bandwidth()
781 struct v4l2_rect *input, in resizer_calc_ratios() argument
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()
808 ratio->vert = ((input->height - 4) * 256 + 255 - 16 - 32 * spv) in resizer_calc_ratios()
811 ratio->vert = ((input->height - 7) * 256 + 255 - 32 - 64 * spv) in resizer_calc_ratios()
830 min_width = ((input->width - 7) * 256 - 32 - 64 * sph) / 1024 + 1; in resizer_calc_ratios()
864 max_width = min(((input->width - 7) * 256 + 255 - 16 - 32 * sph) / 64 in resizer_calc_ratios()
879 ratio->horz = ((input->width - 7) * 256 + 255 - 16 - 32 * sph) in resizer_calc_ratios()
882 ratio->horz = ((input->width - 7) * 256 + 255 - 32 - 64 * sph) in resizer_calc_ratios()
898 input->left += (input->width - width) / 2; in resizer_calc_ratios()
899 input->top += (input->height - height) / 2; in resizer_calc_ratios()
900 input->width = width; in resizer_calc_ratios()
901 input->height = height; in resizer_calc_ratios()
912 const struct v4l2_mbus_framefmt *input, in resizer_set_crop_params() argument
925 if (res->input == RESIZER_INPUT_MEMORY) { in resizer_set_crop_params()
927 res->crop_offset = (res->crop.active.top * input->width + in resizer_set_crop_params()
964 resizer_set_source(res, res->input); in resizer_configure()
970 if (res->input == RESIZER_INPUT_VP) in resizer_configure()
1035 if (res->input == RESIZER_INPUT_MEMORY) { in resizer_isr_buffer()
1159 if (res->input == RESIZER_INPUT_MEMORY) in resizer_set_stream()
1358 if (res->input == RESIZER_INPUT_MEMORY) { in resizer_max_in_width()
1631 if (res->input == RESIZER_INPUT_VP) in resizer_link_setup()
1633 res->input = RESIZER_INPUT_MEMORY; in resizer_link_setup()
1635 if (res->input == RESIZER_INPUT_MEMORY) in resizer_link_setup()
1636 res->input = RESIZER_INPUT_NONE; in resizer_link_setup()
1643 if (res->input == RESIZER_INPUT_MEMORY) in resizer_link_setup()
1645 res->input = RESIZER_INPUT_VP; in resizer_link_setup()
1647 if (res->input == RESIZER_INPUT_VP) in resizer_link_setup()
1648 res->input = RESIZER_INPUT_NONE; in resizer_link_setup()
1717 res->input = RESIZER_INPUT_NONE; in resizer_init_entities()