Linux Media Controller development
 help / color / mirror / Atom feed
From: Lucas <lucasavdantas1992@gmail.com>
To: linux-media@vger.kernel.org
Subject: Range values for V4L2_CID_* commands
Date: Fri, 10 Jul 2020 11:18:37 -0300	[thread overview]
Message-ID: <ab88a3cf-bc05-d43b-dfe2-5f9e78422132@gmail.com> (raw)

Hello, how do I obtain the accepted range of values for each V4L2_CID 
command? Take V4L2_CID_BRIGHTNESS as an example, how do I know what is 
the maximum and minimum values accepted for it? I have tried to use 
'v4l2_ioctl(fd, VIDIOC_G_CTRL, &query);' thinking that would be stored 
in the maximum and minimum members for the struct v4l2_queryctrl but 
that does not appear to be the case as the values for those members are 
always zero.

Thank you.


             reply	other threads:[~2020-07-10 14:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-10 14:18 Lucas [this message]
2020-07-10 14:28 ` Range values for V4L2_CID_* commands Hans Verkuil
2020-07-10 14:36   ` Lucas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab88a3cf-bc05-d43b-dfe2-5f9e78422132@gmail.com \
    --to=lucasavdantas1992@gmail.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox