All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Dufresne <jon.dufresne@infinitevideocorporation.com>
To: video4linux-list@redhat.com
Subject: Writing first v4l2 driver
Date: Thu, 05 Jun 2008 10:26:17 -0400	[thread overview]
Message-ID: <1212675977.16563.24.camel@localhost.localdomain> (raw)

Hi,

I'm in the process of writing my first v4l2 linux driver. I have written
drivers in the past but this is my first time with a video device. I
have read as much documentation as I could get my hands on.

My device is a pci capture device and I am trying to use streaming
mmaped buffers. Right now I am trying to integrate the video-buf helper
functions to do the actual frame grabbing. I am quite confused as how
this all fits together. 

Is there a good guide on using video-buf for video dma transfer? I did
quite a few google searches but I didn't find anything.

What is the simplest example of a capture device using video-buf for a
streaming device in the source tree to use as an example? I've looked at
a few, but I want to look at the simplest one.

Thanks for any help,
Jon

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

             reply	other threads:[~2008-06-05 14:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05 14:26 Jon Dufresne [this message]
2008-06-05 21:07 ` Writing first v4l2 driver Mauro Carvalho Chehab
2008-06-06 14:29   ` Jon Dufresne
2008-06-06 15:30     ` Mauro Carvalho Chehab
2008-06-19 13:51       ` Jon Dufresne
     [not found] <20080605160010.BB443619D1A@hormel.redhat.com>
2008-06-05 22:49 ` Fritz Katz
  -- strict thread matches above, loose matches on Subject: below --
2008-06-09  9:00 Ramatou sori
2008-06-09 16:20 Ramatou sori

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=1212675977.16563.24.camel@localhost.localdomain \
    --to=jon.dufresne@infinitevideocorporation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.