Home
last modified time | relevance | path

Searched refs:qctrl (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/userspace-api/media/v4l/
H A Dextended-controls.rst113 struct v4l2_queryctrl qctrl;
115 qctrl.id = V4L2_CTRL_FLAG_NEXT_CTRL;
116 while (0 == ioctl (fd, VIDIOC_QUERYCTRL, &qctrl)) {
118 qctrl.id |= V4L2_CTRL_FLAG_NEXT_CTRL;
127 you can set the initial ``qctrl.id`` value to the control class and add
134 qctrl.id = V4L2_CTRL_CLASS_CODEC | V4L2_CTRL_FLAG_NEXT_CTRL;
135 while (0 == ioctl(fd, VIDIOC_QUERYCTRL, &qctrl)) {
136 if (V4L2_CTRL_ID2CLASS(qctrl.id) != V4L2_CTRL_CLASS_CODEC)
139 qctrl.id |= V4L2_CTRL_FLAG_NEXT_CTRL;
142 The 32-bit ``qctrl.id`` value is subdivided into three bit ranges: the
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c787 struct v4l2_queryctrl qctrl = {}; in ctrl_cx2341x_getv4lflags() local
789 qctrl.id = cptr->info->v4l_id; in ctrl_cx2341x_getv4lflags()
790 cx2341x_ctrl_query(&cptr->hdw->enc_ctl_state,&qctrl); in ctrl_cx2341x_getv4lflags()
798 if (qctrl.flags & V4L2_CTRL_FLAG_READ_ONLY) { in ctrl_cx2341x_getv4lflags()
807 return qctrl.flags; in ctrl_cx2341x_getv4lflags()
2356 struct v4l2_queryctrl qctrl; in pvr2_hdw_create() local
2466 qctrl.id = ciptr->v4l_id; in pvr2_hdw_create()
2467 cx2341x_ctrl_query(&hdw->enc_ctl_state,&qctrl); in pvr2_hdw_create()
2468 if (!(qctrl.flags & V4L2_CTRL_FLAG_READ_ONLY)) { in pvr2_hdw_create()
2471 strscpy(hdw->mpeg_ctrl_info[idx].desc, qctrl.name, in pvr2_hdw_create()
[all …]
/linux/include/media/drv-intf/
H A Dcx2341x.h85 struct v4l2_queryctrl *qctrl);
/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c1106 struct v4l2_queryctrl qctrl; in matroxfb_ioctl() local
1109 if (copy_from_user(&qctrl, argp, sizeof(qctrl))) in matroxfb_ioctl()
1116 err = minfo->outputs[1].output->getqueryctrl(minfo->outputs[1].data, &qctrl); in matroxfb_ioctl()
1122 copy_to_user(argp, &qctrl, sizeof(qctrl))) in matroxfb_ioctl()