On Mer, 2005-11-09 at 10:26 +0000, Hubert Tonneau wrote:
> 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:
The kernel API was designed on the basis that someone would one day have
the sense to write a nice user space library of formats.
> . 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
Many of the encodings done by hardware are extremely complicated and
tricky to unpack in kernel space. If a camera captures jpeg for example
you don't want in kernel jpeg decoders, let alone mpeg decoders etc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]