public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thierry Merle <thierry.merle@free.fr>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
	video4linux-list@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] V4L: stk11xx, add a new webcam driver
Date: Sat, 16 Jun 2007 13:46:17 +0200	[thread overview]
Message-ID: <1181994378.22144.11.camel@localhost> (raw)
In-Reply-To: <6872422218943432279_1@wsc.cz>

Le vendredi 15 juin 2007 à 23:08 +0200, Jiri Slaby a écrit :
> Mauro Carvalho Chehab wrote:
> > Em Sáb, 2007-06-02 às 11:00 +0200, Thierry Merle escreveu:
> > > 
> > > Mauro Carvalho Chehab a écrit :
> > > >>> This seems to be an interesting approach.
> > > >>>
> > > >>>   
> > > >>>       
> > > >> Interesting but impossible to do for ioctl calls.
> > > >> When the application does a
> ioctl(fd_of_mnt_video0,VIDIOC_G_FMT,&arg) 
> > > >> for example, there is no way for the userspace helper to catch
> this ioctl.
> > > >> The application could only open/read from the userspace
> helper's file 
> > > >> /mnt/video0.
> > > >> ioctl would still have to be done on the kernel device driver.
> > > >> I thought also about a /proc interface for decompression
> algorithms (a 
> > > >> helper would listen on a /proc file and write on another /proc
> file) but 
> > > >> /proc is not designed for that kind of thing.
> > > >> A separate library seems to be the simplest solution.
> > > >>     
> > > >
> > > > There are some ways for this to work. For example, you may
> create a
> > > > helper device for the daemon driver to bind, even requiring it
> to have
> > > > root permission.
> > > >
> > > >   
> > > Right, but I am afraid that complex userspace/kernelspace context 
> > > changes breaks performance.
> > Yes, there's a risk.
> > 
> > > Nevertheless, I will start to specify the framework.
> > > The helper daemon would link to the v4l2-apps/lib.
> > 
> > Ok, thanks!
> 
> Ok, here comes updated version of stk11xx driver. Note that it's not
> still
> separated into more files (I'll do this as the last step) and also
> resize
> and bayer->rgb conversion remains. This is what I'm interested in --
> is
> there some embryo of library with resize and conversion? Or what was
> the
> decision to create?

Hi Jiri,
sorry I started the specification but nothing finalized (and
consequently no code).
Here is the start of my idea for a v4l2_extension:
http://thierry.merle.free.fr/v4l2_extension/general.html
My new USB tuner took me all my little time and I did not get into
details (the spec is incomplete).
Well, as you insist I will explain a bit more :)
Please comment, tell me what you don't understand I will try to update
during this week-end...

Thierry


  reply	other threads:[~2007-06-16 11:46 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-24 14:01 [PATCH 1/1] V4L: stk11xx, add a new webcam driver Jiri Slaby
2007-05-24 14:24 ` Markus Rechberger
2007-05-24 15:07   ` Jiri Slaby
2007-05-28 15:21     ` Markus Rechberger
2007-05-24 23:07   ` Jiri Slaby
2007-05-25  8:22     ` Stefan Richter
2007-05-25  8:30       ` Jiri Slaby
2007-05-24 17:38 ` Diego Calleja
2007-05-24 18:01   ` Ismail Dönmez
2007-05-25  8:19     ` Stefan Richter
     [not found]       ` <4af2d03a0705250127j3d05cd6bkb114cad0e6ecb449@mail.gmail.com>
2007-05-25  9:50         ` Stefan Richter
2007-05-28 15:00 ` Mauro Carvalho Chehab
2007-05-28 15:14   ` Markus Rechberger
2007-05-28 16:28     ` Luca Risolia
2007-05-28 16:42       ` Markus Rechberger
2007-05-28 18:57     ` Mauro Carvalho Chehab
2007-05-28 19:17       ` Markus Rechberger
2007-05-28 20:11         ` Mauro Carvalho Chehab
2007-05-28 21:30           ` Thierry Merle
2007-05-29  5:32             ` Thierry Merle
2007-05-29 14:25               ` Mauro Carvalho Chehab
2007-05-29 19:04                 ` Thierry Merle
2007-05-29 19:31                   ` Mauro Carvalho Chehab
2007-05-31 20:43                     ` Thierry Merle
2007-06-01 23:10                       ` Mauro Carvalho Chehab
2007-06-02  9:00                         ` Thierry Merle
2007-06-04 18:55                           ` Mauro Carvalho Chehab
2007-06-15 21:08                             ` Jiri Slaby
2007-06-16 11:46                               ` Thierry Merle [this message]
2007-06-16 12:07                                 ` Jiri Slaby
     [not found]                               ` <200706190941.47459.oliver@neukum.org>
2007-06-19  7:44                                 ` Jiri Slaby
2007-05-30 19:44   ` Jiri Slaby
2007-06-01 23:00     ` Mauro Carvalho Chehab
  -- strict thread matches above, loose matches on Subject: below --
2007-08-26 14:09 Jiri Slaby
2007-08-27 22:40 ` Andrew Morton
2007-08-28  5:33   ` Jiri Slaby
2007-08-28  5:36     ` Andrew Morton
2007-08-28  5:41       ` Jiri Slaby
2007-08-28  6:35 ` Alexander E. Patrakov
2007-11-06  7:40 ` Andrew Morton
2007-11-06 10:48   ` Jiri Slaby
2007-11-07 17:57     ` Mauro Carvalho Chehab

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=1181994378.22144.11.camel@localhost \
    --to=thierry.merle@free.fr \
    --cc=jirislaby@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --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