Searched refs:native_rect (Results 1 – 2 of 2) sorted by relevance
3564 struct v4l2_rect native_rect = input->native_rect; in atomisp_get_padding() local3581 native_rect.width /= 2; in atomisp_get_padding()3582 native_rect.height /= 2; in atomisp_get_padding()3585 *padding_w = min_t(u32, (native_rect.width - width) & ~1, pad_w); in atomisp_get_padding()3586 *padding_h = min_t(u32, (native_rect.height - height) & ~1, pad_h); in atomisp_get_padding()3729 if (input->binning_support && sel.r.width <= (input->native_rect.width / 2) && in atomisp_set_sensor_crop_and_fmt()3730 sel.r.height <= (input->native_rect.height / 2)) { in atomisp_set_sensor_crop_and_fmt()3736 sel.r.width = min(sel.r.width, input->native_rect.width); in atomisp_set_sensor_crop_and_fmt()3737 sel.r.height = min(sel.r.height, input->native_rect.height); in atomisp_set_sensor_crop_and_fmt()3739 sel.r.left = ((input->native_rect.width - sel.r.width) / 2) & ~1; in atomisp_set_sensor_crop_and_fmt()[all …]
509 struct v4l2_rect native = input->native_rect; in atomisp_enum_framesizes_crop()