public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
	Bastian Hecht <hechtb@googlemail.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	linux-media@vger.kernel.org, hverkuil@xs4all.nl
Subject: Re: [PATCH] media: Add camera controls for the ov5642 driver
Date: Thu, 01 Sep 2011 11:14:08 +0200	[thread overview]
Message-ID: <4E5F4CE0.8050909@samsung.com> (raw)
In-Reply-To: <20110901084722.GV12368@valkosipuli.localdomain>

Hi Sakari,

On 09/01/2011 10:47 AM, Sakari Ailus wrote:
> On Thu, Sep 01, 2011 at 09:15:20AM +0200, Guennadi Liakhovetski wrote:
>> On Thu, 1 Sep 2011, Sakari Ailus wrote:
>>
>>> On Wed, Aug 31, 2011 at 03:27:49PM +0000, Bastian Hecht wrote:
>>>> 2011/8/28 Laurent Pinchart <laurent.pinchart@ideasonboard.com>:
>>> [clip]
>>>>> If I'm not mistaken V4L2_CID_PRIVATE_BASE is deprecated.
>>>>
>>>> I checked at http://v4l2spec.bytesex.org/spec/x542.htm, googled
>>>> "V4L2_CID_PRIVATE_BASE deprecated" and read
>>>> Documentation/feature-removal-schedule.txt. I couldn't find anything.
>>>
>>> Hmm. Did you happen to check when that has been written? :)
>>>
>>> Please use this one instead:
>>>
>>> <URL:http://hverkuil.home.xs4all.nl/spec/media.html>
>>
>> "Drivers can also implement their own custom controls using 
>> V4L2_CID_PRIVATE_BASE and higher values."
>>
>> Which specific location describes V4L2_CID_PRIVATE_BASE differently there?
> 
> That was a general comment, not related to the private base. There's no
> use for a three-year-old spec as a reference!
> 
> The control framework does not support private controls, for example. The
> controls should be put to their own class in videodev2.h nowadays, that's my
> understanding. Cc Hans.

Is this really the case that we close the door for private controls in
the mainline kernel ? Or am I misunderstanding something ?
How about v4l2_ctrl_new_custom() ?

What if there are controls applicable to single driver only ?
Do we really want to have plenty of such in videodev2.h ?

-- 
Sylwester Nawrocki
Samsung Poland R&D Center

  reply	other threads:[~2011-09-01  9:14 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17 16:02 [PATCH] media: Add camera controls for the ov5642 driver Bastian Hecht
2011-08-28 18:06 ` Laurent Pinchart
2011-08-31 15:27   ` Bastian Hecht
2011-08-31 15:39     ` Laurent Pinchart
2011-08-31 17:35       ` Bastian Hecht
2011-08-31 17:42         ` Bastian Hecht
2011-08-31 17:58         ` Laurent Pinchart
2011-08-31 15:40     ` Guennadi Liakhovetski
2011-09-05 11:21       ` Bastian Hecht
2011-08-31 21:20     ` Sakari Ailus
2011-09-01  7:15       ` Guennadi Liakhovetski
2011-09-01  8:47         ` Sakari Ailus
2011-09-01  9:14           ` Sylwester Nawrocki [this message]
2011-09-01 12:08             ` Sakari Ailus
2011-09-05  9:32               ` Bastian Hecht
2011-09-06  6:53                 ` Sakari Ailus
2011-09-06  7:56                   ` Bastian Hecht
2011-09-06  8:27                     ` Sakari Ailus
2011-09-06  9:01                       ` Bastian Hecht
2011-09-06  9:09                         ` Sakari Ailus
2011-09-06  9:35                           ` Bastian Hecht
2011-09-06 12:45                             ` Sakari Ailus
2011-09-06 13:03                               ` Bastian Hecht
2011-09-06 13:47                                 ` Sakari Ailus

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=4E5F4CE0.8050909@samsung.com \
    --to=s.nawrocki@samsung.com \
    --cc=g.liakhovetski@gmx.de \
    --cc=hechtb@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox