From: Gerd Knorr <kraxel@bytesex.org>
To: linux-kernel@vger.kernel.org
Subject: Re: v4l interface questions
Date: 28 Aug 2001 07:14:12 GMT [thread overview]
Message-ID: <slrn9omh63.4as.kraxel@bytesex.org> (raw)
In-Reply-To: <20010827231126.A21664@bug.ucw.cz>
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.
prev parent reply other threads:[~2001-08-28 9:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=slrn9omh63.4as.kraxel@bytesex.org \
--to=kraxel@bytesex.org \
--cc=linux-kernel@vger.kernel.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.