Re: Replacement for C-function ioctl?
- From: Uwe Klein <uwe_klein_habertwedt@xxxxxxxxxxx>
- Date: Mon, 05 May 2008 12:42:24 +0200
ZB wrote:
Dnia 05.05.2008 Uwe Klein <uwe_klein_habertwedt@xxxxxxxxxxx> napisał/a:The interface used is "Video for Linux Version 2" aka V4L2.
But I mean all the time just ioctl - not the drivers. Of course, ioctl-call
will be somewhat different for FreeBSD, than for Linux. Its parameters, to
say it more precisely.
The interface used is "Video for Linux Version 2" aka V4L2.
http://en.wikipedia.org/wiki/Video4Linux
Afaik there is no port of this framework to any other OS.
...but I mean all the time just ioctl - not the drivers, neither the
interface.
The only difference is, that instead of call like:
ioctl(radiodev, VIDIOC_G_AUDOUT, &audio);
...one should use:
ioctl(radiodev, RADIO_GETMODE, &audio);
...when writing application for FreeBSD.
Of course I'm aware, that appropriate headers should be readed before.
http://en.wikipedia.org/wiki/Video4Linux
Afaik there is no port of this framework to any other OS.
.
- Follow-Ups:
- References:
- Re: Replacement for C-function ioctl?
- From: ZB
- Re: Replacement for C-function ioctl?
- From: Alexandre Ferrieux
- Re: Replacement for C-function ioctl?
- From: ZB
- Re: Replacement for C-function ioctl?
- From: Alexandre Ferrieux
- Re: Replacement for C-function ioctl?
- From: ZB
- Re: Replacement for C-function ioctl?
- From: Uwe Klein
- Re: Replacement for C-function ioctl?
- From: ZB
- Re: Replacement for C-function ioctl?
- Prev by Date: Re: Replacement for C-function ioctl?
- Next by Date: how to parse this....plz help out!
- Previous by thread: Re: Replacement for C-function ioctl?
- Next by thread: Re: Replacement for C-function ioctl?
- Index(es):
Relevant Pages
|
|