public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] V4L changes for OMAP 3 camera
@ 2008-09-08 16:47 Sakari Ailus
       [not found] ` <12208924933529-git-send-email-sakari.ailus@nokia.com>
  2008-09-08 20:18 ` [PATCH 0/7] V4L changes for OMAP 3 camera Hans Verkuil
  0 siblings, 2 replies; 11+ messages in thread
From: Sakari Ailus @ 2008-09-08 16:47 UTC (permalink / raw)
  To: Linux and Kernel Video
  Cc: Toivonen Tuukka Olli Artturi,
	Zutshi Vimarsh (Nokia-D-MSW/Helsinki)

Hi,

This patchset extends V4L2 interface and especially v4l2-int-if 
somewhat. The new functionality is there to support the OMAP 3 camera 
driver.

Our aim is to get these patches into v4l-dvb tree and further to Linus' 
tree. The OMAP 3 camera driver, which is dependent on these patches, is 
targeted to linux-omap tree through linux-omap@vger.kernel.org mailing 
list. It is unlikely that it would be useful (or even compile) without 
many of the changes in linux-omap tree.

The patches apply against v4l-dvb, Linus' tree or linux-omap.

Comments will be appreciated. :-)

Regards,

-- 
Sakari Ailus
sakari.ailus@nokia.com

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [PATCH 0/7] V4L changes for OMAP 3 camera
@ 2008-09-09  7:32 Hans Verkuil
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Verkuil @ 2008-09-09  7:32 UTC (permalink / raw)
  To: Tuukka.O Toivonen; +Cc: Sakari Ailus, Linux and Kernel Video, Zutshi Vimarsh

> [PATCH 4/7] V4L: Add VIDIOC_G_PRIV_MEM ioctl:
>
> On Monday 08 September 2008 23:18:14 ext Hans Verkuil wrote:
>> Patch 4/7: I'm having problems with this one. Shouldn't it be better to
>> make this a driver-private ioctl? And then that ioctl can actually
>
> Do you mean that the ioctl number would be defined inside
> sensor (=camera module) driver header file?
>
> Many camera modules have EEPROM and it seems waste to need
> it to be defined again and again in different drivers.

Perhaps, perhaps not. It depends on what sort of information is stored in
the eeproms and what it is used for.

Having a EEPROM reading ioctl is all very nice, but it shifts the burden
of decoding it to the application. Since the eeprom content is device
specific (right?) I think this belongs in the driver, not in the
application.

Would it perhaps be possible to let the driver create read-only controls
that contain that information? Similar to say the uvc driver that can
create controls dynamically based on the camera information.

>> return a struct containing those settings, rather than a eeprom dump.
>> It is highly device specific, after all, so let the device extract and
>> return the useful information instead of requiring an application to do
>> that.
>
> OK, can be done, but it seems likely that the returned structure
> will need to be updated often, because I think it is likely
> that new camera modules will have new fields in EEPROM.

For this reason as well using private controls wouldn't be such a bad idea
(as long as the extended controls are used as it has a better way of
dealing with private controls).

Regards,

         Hans

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-09-15 15:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08 16:47 [PATCH 0/7] V4L changes for OMAP 3 camera Sakari Ailus
     [not found] ` <12208924933529-git-send-email-sakari.ailus@nokia.com>
2008-09-08 16:48   ` [PATCH 2/7] V4L: Int if: Add cropcap, g_crop and s_crop commands Sakari Ailus
2008-09-08 16:48     ` [PATCH 3/7] V4L: Add 10-bit RAW Bayer formats Sakari Ailus
2008-09-08 16:48       ` [PATCH 4/7] V4L: Add VIDIOC_G_PRIV_MEM ioctl Sakari Ailus
2008-09-08 16:48         ` [PATCH 5/7] V4L: Int if: Define new power state changes Sakari Ailus
2008-09-08 16:48           ` [PATCH 6/7] V4L: Int if: Export more interfaces to modules Sakari Ailus
2008-09-08 16:48             ` [PATCH 7/7] V4L: Int if: Add enum_framesizes and enum_frameintervals ioctls Sakari Ailus
2008-09-13 16:14         ` [PATCH 4/7] V4L: Add VIDIOC_G_PRIV_MEM ioctl Laurent Pinchart
2008-09-08 20:18 ` [PATCH 0/7] V4L changes for OMAP 3 camera Hans Verkuil
2008-09-15 15:25   ` Sakari Ailus
  -- strict thread matches above, loose matches on Subject: below --
2008-09-09  7:32 Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox