Searched refs:qctrl (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/media/common/ |
D | cx2341x.c | 537 static int cx2341x_ctrl_query_fill(struct v4l2_queryctrl *qctrl, in cx2341x_ctrl_query_fill() argument 542 switch (qctrl->id) { in cx2341x_ctrl_query_fill() 556 cx2341x_ctrl_fill(qctrl->id, &name, &qctrl->type, in cx2341x_ctrl_query_fill() 557 &min, &max, &step, &def, &qctrl->flags); in cx2341x_ctrl_query_fill() 558 qctrl->minimum = min; in cx2341x_ctrl_query_fill() 559 qctrl->maximum = max; in cx2341x_ctrl_query_fill() 560 qctrl->step = step; in cx2341x_ctrl_query_fill() 561 qctrl->default_value = def; in cx2341x_ctrl_query_fill() 562 qctrl->reserved[0] = qctrl->reserved[1] = 0; in cx2341x_ctrl_query_fill() 563 strscpy(qctrl->name, name, sizeof(qctrl->name)); in cx2341x_ctrl_query_fill() [all …]
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | extended-controls.rst | 112 struct v4l2_queryctrl qctrl; 114 qctrl.id = V4L2_CTRL_FLAG_NEXT_CTRL; 115 while (0 == ioctl (fd, VIDIOC_QUERYCTRL, &qctrl)) { 117 qctrl.id |= V4L2_CTRL_FLAG_NEXT_CTRL; 126 you can set the initial ``qctrl.id`` value to the control class and add 133 qctrl.id = V4L2_CTRL_CLASS_CODEC | V4L2_CTRL_FLAG_NEXT_CTRL; 134 while (0 == ioctl(fd, VIDIOC_QUERYCTRL, &qctrl)) { 135 if (V4L2_CTRL_ID2CLASS(qctrl.id) != V4L2_CTRL_CLASS_CODEC) 138 qctrl.id |= V4L2_CTRL_FLAG_NEXT_CTRL; 141 The 32-bit ``qctrl.id`` value is subdivided into three bit ranges: the
|
/linux-6.12.1/drivers/media/v4l2-core/ |
D | v4l2-common.c | 65 int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 _min, s32 _max, s32 _step, s32 _def) in v4l2_ctrl_query_fill() argument 73 v4l2_ctrl_fill(qctrl->id, &name, &qctrl->type, in v4l2_ctrl_query_fill() 74 &min, &max, &step, &def, &qctrl->flags); in v4l2_ctrl_query_fill() 79 qctrl->minimum = min; in v4l2_ctrl_query_fill() 80 qctrl->maximum = max; in v4l2_ctrl_query_fill() 81 qctrl->step = step; in v4l2_ctrl_query_fill() 82 qctrl->default_value = def; in v4l2_ctrl_query_fill() 83 qctrl->reserved[0] = qctrl->reserved[1] = 0; in v4l2_ctrl_query_fill() 84 strscpy(qctrl->name, name, sizeof(qctrl->name)); in v4l2_ctrl_query_fill()
|
/linux-6.12.1/drivers/media/usb/pvrusb2/ |
D | pvrusb2-hdw.c | 787 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 2468 qctrl.id = ciptr->v4l_id; in pvr2_hdw_create() 2469 cx2341x_ctrl_query(&hdw->enc_ctl_state,&qctrl); in pvr2_hdw_create() 2470 if (!(qctrl.flags & V4L2_CTRL_FLAG_READ_ONLY)) { in pvr2_hdw_create() 2473 strscpy(hdw->mpeg_ctrl_info[idx].desc, qctrl.name, in pvr2_hdw_create() [all …]
|
/linux-6.12.1/include/media/drv-intf/ |
D | cx2341x.h | 85 struct v4l2_queryctrl *qctrl);
|
/linux-6.12.1/drivers/video/fbdev/matrox/ |
D | matroxfb_base.c | 1105 struct v4l2_queryctrl qctrl; in matroxfb_ioctl() local 1108 if (copy_from_user(&qctrl, argp, sizeof(qctrl))) in matroxfb_ioctl() 1115 err = minfo->outputs[1].output->getqueryctrl(minfo->outputs[1].data, &qctrl); in matroxfb_ioctl() 1121 copy_to_user(argp, &qctrl, sizeof(qctrl))) in matroxfb_ioctl()
|
/linux-6.12.1/include/media/ |
D | v4l2-common.h | 95 int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl,
|