All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Rosenfeld Rosas <lbocseg@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] rt-video interface
Date: Mon, 20 Mar 2006 17:15:08 -0300	[thread overview]
Message-ID: <200603201715.08482.lbocseg@domain.hid> (raw)

Hi Jan and others interested.

I've finally got my driver in a usable condition. It lacks a lot of 
functionalities yet, but it aplies to my needs.

I would like to propose a real-time video interface for using with RTDM.

For making it simple to port Linux applications to Xenomai, I tried to make it 
as close as possible to Video for Linux 2 API. I didn't see any serious 
problem regarding its use on real-time environments in the specification. So, 
the changes I think that would be necessary are:

o Change open/fopen to rtdm_dev_open
o Implement MMAP/MUNMAP as an IOCTL (while it can not be done in a rt-context 
in the mean time, nor should be necessary)
o Implement also as IOCTLs: select and poll (I didn't implement them on my 
driver because I didn't need them, but it should be necessary accordling to 
specs)
o Change all timeval structs to uint64_t or some typedef to it for making it 
easier to store the timestamps (we use rtdm_clock_read() instead of 
gettimeofday())

I can't remember of another issue now. I think these changes would be enough.

Any ideas?

Rodrigo.

		
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com



             reply	other threads:[~2006-03-20 20:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-20 20:15 Rodrigo Rosenfeld Rosas [this message]
2006-03-21  0:24 ` [Xenomai-core] rt-video interface Jan Kiszka
2006-03-21  1:33   ` Rodrigo Rosenfeld Rosas
2006-03-21 17:34   ` Rodrigo Rosenfeld Rosas
2006-03-26  9:49     ` Jan Kiszka
2006-03-27 14:47       ` Rodrigo Rosenfeld Rosas

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=200603201715.08482.lbocseg@domain.hid \
    --to=lbocseg@domain.hid \
    --cc=xenomai@xenomai.org \
    /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.