Lines Matching defs:sel
790 static int vidioc_g_selection(struct file *file, void *fh, struct v4l2_selection *sel)
795 if (sel->type != V4L2_BUF_TYPE_VIDEO_OUTPUT)
798 switch (sel->target) {
800 sel->r = vout->crop;
803 omap_vout_default_crop(&vout->pix, &vout->fbuf, &sel->r);
807 sel->r.width = pix->width & ~1;
808 sel->r.height = pix->height & ~1;
816 static int vidioc_s_selection(struct file *file, void *fh, struct v4l2_selection *sel)
825 if (sel->type != V4L2_BUF_TYPE_VIDEO_OUTPUT)
828 if (sel->target != V4L2_SEL_TGT_CROP)
855 &vout->fbuf, &sel->r);