Lines Matching full:sel
16 struct v4l2_selection sel = {
20 ret = ioctl(fd, VIDIOC_G_SELECTION, &sel);
23 sel.target = V4L2_SEL_TGT_CROP;
24 ret = ioctl(fd, VIDIOC_S_SELECTION, &sel);
36 struct v4l2_selection sel = {
42 ret = ioctl(fd, VIDIOC_G_SELECTION, &sel);
46 r.width = sel.r.width / 2;
47 r.height = sel.r.height / 2;
48 r.left = sel.r.width / 4;
49 r.top = sel.r.height / 4;
50 sel.r = r;
51 sel.target = V4L2_SEL_TGT_COMPOSE;
52 sel.flags = V4L2_SEL_FLAG_LE;
53 ret = ioctl(fd, VIDIOC_S_SELECTION, &sel);