Lines Matching defs:crop
886 static int ivtv_s_crop(struct file *file, void *fh, struct v4l2_crop *crop)
895 if (crop->type == V4L2_BUF_TYPE_VIDEO_OUTPUT &&
898 yi->main_rect = crop->c;
902 crop->c.width, crop->c.height, crop->c.left, crop->c.top)) {
903 itv->main_rect = crop->c;
912 static int ivtv_g_crop(struct file *file, void *fh, struct v4l2_crop *crop)
921 if (crop->type == V4L2_BUF_TYPE_VIDEO_OUTPUT &&
924 crop->c = yi->main_rect;
926 crop->c = itv->main_rect;