* v4l interface questions
@ 2001-08-27 21:11 Pavel Machek
2001-08-28 1:39 ` Steven Walter
2001-08-28 7:14 ` Gerd Knorr
0 siblings, 2 replies; 3+ messages in thread
From: Pavel Machek @ 2001-08-27 21:11 UTC (permalink / raw)
To: kernel list
Hi!
I have few questions about v4l api.
I have device (vicam == usb 3com homeconnect camera), which would like to
fit into v4l framework. But... mmap is not really native operation for
usb. Should I emulate it, or just return unsupported and expect
applications to use read()?
Similar problem is there with formats. vicam has some really strange
formats. Should I do conversion in kernel?
Is there some usermode program that can handle camera without mmap
ability and can support arbitrary screen sizes + 16bpp grayscale?
Pavel
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: v4l interface questions
2001-08-27 21:11 v4l interface questions Pavel Machek
@ 2001-08-28 1:39 ` Steven Walter
2001-08-28 7:14 ` Gerd Knorr
1 sibling, 0 replies; 3+ messages in thread
From: Steven Walter @ 2001-08-28 1:39 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-kernel
On Mon, Aug 27, 2001 at 11:11:26PM +0200, Pavel Machek wrote:
> I have device (vicam == usb 3com homeconnect camera), which would like to
> fit into v4l framework. But... mmap is not really native operation for
> usb. Should I emulate it, or just return unsupported and expect
> applications to use read()?
>
> Similar problem is there with formats. vicam has some really strange
> formats. Should I do conversion in kernel?
Don't do conversion in the kernel.
> Is there some usermode program that can handle camera without mmap
> ability and can support arbitrary screen sizes + 16bpp grayscale?
--
-Steven
In a time of universal deceit, telling the truth is a revolutionary act.
-- George Orwell
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: v4l interface questions
2001-08-27 21:11 v4l interface questions Pavel Machek
2001-08-28 1:39 ` Steven Walter
@ 2001-08-28 7:14 ` Gerd Knorr
1 sibling, 0 replies; 3+ messages in thread
From: Gerd Knorr @ 2001-08-28 7:14 UTC (permalink / raw)
To: linux-kernel
Pavel Machek wrote:
> Hi!
>
> I have few questions about v4l api.
>
> I have device (vicam == usb 3com homeconnect camera), which would like to
> fit into v4l framework. But... mmap is not really native operation for
> usb. Should I emulate it, or just return unsupported and expect
> applications to use read()?
IHMO applications should be able to fallback to read() if mmap() doesn't
work.
> Similar problem is there with formats. vicam has some really strange
> formats. Should I do conversion in kernel?
Probably. The driver should support at least one of the standard
VIDEO_PALETTE_* formats. It is fine to pick one which comes close to
the native format of the camera, there is no need to support _all_
formats.
> Is there some usermode program that can handle camera without mmap
> ability and can support arbitrary screen sizes + 16bpp grayscale?
8bpp grayscale should be no problem with xawtv. I'd suspect you will
not find any app which can deal with 16bpp, there isn't even a
VIDEO_PALETTE_* #define for this ...
Gerd
--
Damn lot people confuse usability and eye-candy.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-08-28 9:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-27 21:11 v4l interface questions Pavel Machek
2001-08-28 1:39 ` Steven Walter
2001-08-28 7:14 ` Gerd Knorr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox