Lines Matching refs:native_rect
3576 struct v4l2_rect native_rect = input->native_rect;
3593 native_rect.width /= 2;
3594 native_rect.height /= 2;
3597 *padding_w = min_t(u32, (native_rect.width - width) & ~1, pad_w);
3598 *padding_h = min_t(u32, (native_rect.height - height) & ~1, pad_h);
3741 if (input->binning_support && sel.r.width <= (input->native_rect.width / 2) &&
3742 sel.r.height <= (input->native_rect.height / 2)) {
3748 sel.r.width = min(sel.r.width, input->native_rect.width);
3749 sel.r.height = min(sel.r.height, input->native_rect.height);
3751 sel.r.left = ((input->native_rect.width - sel.r.width) / 2) & ~1;
3752 sel.r.top = ((input->native_rect.height - sel.r.height) / 2) & ~1;