Lines Matching defs:sel
1307 static int saa7134_g_selection(struct file *file, void *f, struct v4l2_selection *sel)
1311 if (sel->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
1314 switch (sel->target) {
1316 sel->r = dev->crop_current;
1319 sel->r = dev->crop_defrect;
1322 sel->r = dev->crop_bounds;
1330 static int saa7134_s_selection(struct file *file, void *f, struct v4l2_selection *sel)
1336 if (sel->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
1339 if (sel->target != V4L2_SEL_TGT_CROP)
1345 *c = sel->r;
1359 sel->r = *c;