Home
last modified time | relevance | path

Searched refs:native_rect (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_internal.h132 struct v4l2_rect native_rect; member
H A Datomisp_v4l2.c931 input->native_rect = sel.r; in atomisp_init_sensor()
975 sel.r = input->native_rect; in atomisp_init_sensor()
985 sel.r = input->native_rect; in atomisp_init_sensor()
992 input->native_rect.width, input->native_rect.height, in atomisp_init_sensor()
H A Datomisp_cmd.c3576 struct v4l2_rect native_rect = input->native_rect; in atomisp_get_padding() local
3593 native_rect.width /= 2; in atomisp_get_padding()
3594 native_rect.height /= 2; in atomisp_get_padding()
3597 *padding_w = min_t(u32, (native_rect.width - width) & ~1, pad_w); in atomisp_get_padding()
3598 *padding_h = min_t(u32, (native_rect.height - height) & ~1, pad_h); in atomisp_get_padding()
3741 if (input->binning_support && sel.r.width <= (input->native_rect.width / 2) && in atomisp_set_sensor_crop_and_fmt()
3742 sel.r.height <= (input->native_rect.height / 2)) { in atomisp_set_sensor_crop_and_fmt()
3748 sel.r.width = min(sel.r.width, input->native_rect.width); in atomisp_set_sensor_crop_and_fmt()
3749 sel.r.height = min(sel.r.height, input->native_rect.height); in atomisp_set_sensor_crop_and_fmt()
3751 sel.r.left = ((input->native_rect.width - sel.r.width) / 2) & ~1; in atomisp_set_sensor_crop_and_fmt()
[all …]
H A Datomisp_ioctl.c520 struct v4l2_rect native = input->native_rect; in atomisp_enum_framesizes_crop()