From: Sylwester Nawrocki <snjw23@gmail.com>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: linux-media@vger.kernel.org, laurent.pinchart@ideasonboard.com,
hverkuil@xs4all.nl
Subject: Re: [RFC/PATCH 0/3] 64-bit integer menus
Date: Fri, 25 Nov 2011 00:09:40 +0100 [thread overview]
Message-ID: <4ECECEB4.9010801@gmail.com> (raw)
In-Reply-To: <20111124161228.GA29342@valkosipuli.localdomain>
Hi Sakari,
thanks for the patches.
On 11/24/2011 05:12 PM, Sakari Ailus wrote:
> Hi all,
>
> This patchset, which I'm sending as RFC since it has not been really tested
> (including compiling the vivi patch), adds 64-bit integer menu controls. The
> control items in the integer menu are just like in regular menus but they
> are 64-bit integers instead of strings.
>
> I'm also pondering whether to assign 1 to ctrl->step for menu type controls
> as well but haven't checked what may have been the original reason to
> implement it as it is now implemented.
>
> The reason why I don't use a union for qmenu and qmenu_int in
> v4l2_ctrl_config is that a lot of drivers use that field in the initialiser
> and GCC< 4.6 does not support initialisers with anonymous unions.
>
> Similar union is created in v4l2_querymenu but I do not see this as a
> problem since I do not expect initialisers to be used with this field in the
> user space code.
>
> Comments and questions are welcome.
I've gone briefly through the patches and they seem to realize exactly what
I needed. I think we've discussed the integer menu controls during the Cambourne
meeting, however I wasn't sure yesterday if it was just this.
I'll try and implement some of the controls for m5mols based on your patches.
Cannot guarantee I'll manage to have something ready for 3.3, I need to finish
a few other things before I get to this.
--
Thanks,
Sylwester
prev parent reply other threads:[~2011-11-24 23:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-24 16:12 [RFC/PATCH 0/3] 64-bit integer menus Sakari Ailus
2011-11-24 16:12 ` [RFC/PATCH 1/3] v4l: Introduce integer menu controls Sakari Ailus
2011-11-25 10:28 ` Laurent Pinchart
2011-11-25 12:02 ` Sakari Ailus
2011-11-25 12:43 ` Laurent Pinchart
2011-11-25 12:56 ` Sakari Ailus
2011-11-25 12:58 ` Laurent Pinchart
2011-11-28 14:31 ` Hans Verkuil
2011-11-24 16:12 ` [RFC/PATCH 2/3] v4l: Document " Sakari Ailus
2011-11-24 23:17 ` Sylwester Nawrocki
2011-11-25 7:09 ` Sakari Ailus
2011-11-25 10:30 ` Laurent Pinchart
2011-11-25 12:02 ` Sakari Ailus
2011-11-24 16:12 ` [RFC/PATCH 3/3] vivi: Add an integer menu test control Sakari Ailus
2011-11-24 23:09 ` Sylwester Nawrocki [this message]
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=4ECECEB4.9010801@gmail.com \
--to=snjw23@gmail.com \
--cc=hverkuil@xs4all.nl \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=sakari.ailus@iki.fi \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.