Home
last modified time | relevance | path

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

/drivers/staging/media/atomisp/pci/
Datomisp_internal.h133 struct v4l2_rect native_rect; member
Datomisp_v4l2.c955 input->native_rect = sel.r; in atomisp_init_sensor()
997 sel.r = input->native_rect; in atomisp_init_sensor()
1004 sel.r = input->native_rect; in atomisp_init_sensor()
1010 input->native_rect.width, input->native_rect.height, in atomisp_init_sensor()
Datomisp_cmd.c3686 struct v4l2_rect native_rect = input->native_rect; in atomisp_get_padding() local
3703 native_rect.width /= 2; in atomisp_get_padding()
3704 native_rect.height /= 2; in atomisp_get_padding()
3707 *padding_w = min_t(u32, (native_rect.width - width) & ~1, pad_w); in atomisp_get_padding()
3708 *padding_h = min_t(u32, (native_rect.height - height) & ~1, pad_h); in atomisp_get_padding()
3760 if (input->binning_support && sel.r.width <= (input->native_rect.width / 2) && in atomisp_set_crop()
3761 sel.r.height <= (input->native_rect.height / 2)) { in atomisp_set_crop()
3767 sel.r.width = min(sel.r.width, input->native_rect.width); in atomisp_set_crop()
3768 sel.r.height = min(sel.r.height, input->native_rect.height); in atomisp_set_crop()
3770 sel.r.left = ((input->native_rect.width - sel.r.width) / 2) & ~1; in atomisp_set_crop()
[all …]
Datomisp_ioctl.c756 struct v4l2_rect native = input->native_rect; in atomisp_enum_framesizes_crop()