From: Hubert Tonneau <hubert.tonneau@fullpliant.org>
To: linux-kernel@vger.kernel.org
Subject: video4linux user land API concern
Date: Wed, 09 Nov 2005 10:26:59 GMT [thread overview]
Message-ID: <05G2L0Z12@briare1.heliogroup.fr> (raw)
Any Video4Linux driver should support both native hardware color encoding
(for maximum performances) and rgb (for maximum flexibility).
Requiering user land tools to be prepared to match the webcam native color
encoding is poor kernel API design for several reasons:
. some software will say 'I will work only if your camera support the encoding
I want' (surf the Internet and you will discover that it's already sadely true)
. small tools that make Unix flexibility get hard to write and test without
relying on glue libraries, and glue libraries are evil
. if new color models appear in new cameras, the current design will require
to map them anyway to some existing encodings not to break existing softwares,
so the end result will be even more confusing because the driver supporting a
non rgb encoding will not necessary mean that selecting the encoding is better
from the performances point of view
next reply other threads:[~2005-11-09 10:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-09 10:26 Hubert Tonneau [this message]
2005-11-09 12:31 ` Alan Cox
2005-11-09 12:58 Hubert Tonneau
2005-11-09 13:36 ` linux-os (Dick Johnson)
2005-11-09 15:57 ` Alan Cox
2005-11-09 16:41 Hubert Tonneau
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=05G2L0Z12@briare1.heliogroup.fr \
--to=hubert.tonneau@fullpliant.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®