From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: Andrea <audetto@tiscali.it>
Cc: video4linux-list@redhat.com
Subject: Re: prototype of a USB v4l2 driver?
Date: Sat, 12 Jul 2008 21:59:37 +0200 [thread overview]
Message-ID: <48790D29.1010404@hhs.nl> (raw)
In-Reply-To: <487908CA.8000304@tiscali.it>
Andrea wrote:
> Hi,
>
> I would like to learn more in detail how a video driver works.
> Basically in the last days I've looked at pwc to see why it is not so
> robust with mplayer.
> I found something in the streaming ioctl calls.
>
> As an exercise I would like to port it to the "best" and "more elegant"
> framework, reusing as much as possible the existing v4l2 framework are
> writing as little code as possible (e.g. using videobuf). And remove all
> the v4l1 code.
>
> I would like to know which is the best USB driver to look at.
> Which is the best USB driver that implements videobuf?
>
> This is a good overview of a driver
> http://lwn.net/Articles/203924/
>
> I think vivi.c is an other good one.
>
> Does anybody have any other good reference to look at?
>
What kind of device, I think that for webcams you;re best using gspca, (now
merged in mecurial), that handles all the usb specific stuff, buffer
management, etc. In general it makes it easy to write a webcam driver allowing
you to focus on the interaction with the cam, rather then having to worry about
looking, usb specifics, buffer management etc.
Regards,
Hans
--
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-07-12 19:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-12 19:40 prototype of a USB v4l2 driver? Andrea
2008-07-12 19:59 ` Hans de Goede [this message]
2008-07-13 8:39 ` Andrea
2008-07-13 11:30 ` prototype of a USB v4l2 driver? gspca? Andrea
2008-07-13 19:29 ` Hans de Goede
2008-07-17 15:31 ` Markus Rechberger
2008-07-17 15:34 ` Hans de Goede
2008-07-17 16:19 ` Markus Rechberger
2008-07-17 21:10 ` Andrea
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=48790D29.1010404@hhs.nl \
--to=j.w.r.degoede@hhs.nl \
--cc=audetto@tiscali.it \
--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