From: Jean-Francois Moine <moinejf@free.fr>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: video4linux-list@redhat.com,
Sakari Ailus <sakari.ailus@nokia.com>,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Subject: Re: [PATCH v2] soc-camera: add API documentation
Date: Sat, 30 Aug 2008 09:22:44 +0200 [thread overview]
Message-ID: <1220080964.1736.55.camel@localhost> (raw)
In-Reply-To: <20080829183420.1fcbfc11@mchehab.chehab.org>
On Fri, 2008-08-29 at 18:34 -0300, Mauro Carvalho Chehab wrote:
[split]
> At the other side of the coin, we have lots of drivers that don't use any API
> to split sensors from the bridge drivers, being GSPCA the newest example. I
> believe that splitting sensors from bridge drivers will benefit to reduce the
> amount of coding size on such drivers, and help to fix bugs that are common to
> several webcams. Of course, such conversion would be a huge task.
I think this subject was already discussed.
If you look at the gspca code, you will see that many sensors are used
by different bridges. Indeed, some values are closed from each other,
but what to do with the differences? (the initial values of the sensor
registers seem to be tied to the physical wires, signal levels and
capabilities of the bridges)
Also, the way to load the sensor registers is very different from one
bridge to an other one (direct write, with one or many values in one
write, paging, bridge packets with different headers/tails..).
Eventually, looking again at the code, you will see that the sensor
exchanges are only a small part of the code.
Cheers.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2008-08-30 7:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-20 9:40 [PATCH RFC] soc-camera: add API documentation Guennadi Liakhovetski
2008-08-20 20:29 ` Robert Jarzmik
2008-08-24 11:57 ` Robert Schwebel
2008-08-28 14:49 ` [PATCH v2] " Guennadi Liakhovetski
2008-08-28 18:58 ` Hans Verkuil
2008-08-29 12:17 ` Sakari Ailus
2008-08-29 13:43 ` Hans Verkuil
[not found] ` <20080829183420.1fcbfc11@mchehab.chehab.org>
2008-08-30 7:22 ` Jean-Francois Moine [this message]
[not found] ` <20080830070310.2ec060d7@mchehab.chehab.org>
2008-08-30 14:58 ` Jean-Francois Moine
2008-08-30 19:41 ` Hans Verkuil
2008-09-05 16:08 ` Sakari Ailus
2008-09-06 16:40 ` Hans Verkuil
2008-09-29 8:33 ` Interfaces for composite devices (was: Re: [PATCH v2] soc-camera: add API documentation) Sakari Ailus
2008-09-29 9:04 ` Hans Verkuil
2008-08-29 18:16 ` [PATCH v3] soc-camera: add API documentation Guennadi Liakhovetski
2008-08-29 18:16 ` Hans Verkuil
2008-08-29 18:55 ` Guennadi Liakhovetski
2008-09-27 22:38 ` [PATCH v2] " Guennadi Liakhovetski
2008-09-29 9:25 ` Hans Verkuil
2008-09-29 9:45 ` Guennadi Liakhovetski
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=1220080964.1736.55.camel@localhost \
--to=moinejf@free.fr \
--cc=g.liakhovetski@gmx.de \
--cc=mchehab@infradead.org \
--cc=sakari.ailus@nokia.com \
--cc=video4linux-list@redhat.com \
/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