Re: Linux 2.6.9-ac3

Gerd Knorr
2004-10-22T14:22:51Z

Luca Risolia <luca.risolia@studio.unibo.it> writes:

> If it ever happens that this driver is accepted, be also prepared to
> accept patches adding decompression and colorspace conversions for
> every video driver I am aware of, starting from the ones I have already
> written to the ones I'll submit in the future.

Uhm, colorspace conversions and decompression are two different
problems. Drivers should support at least one of the v4l2 standard
formats. They might have to do decompression in kernel space to to
that.

colorspace conversion should be the job of the userspace app, I think
everyone agrees on that. Same goes for any *standard* compression
formats, i.e. webcams which simply use jpeg for example (where the
driver can say "Hey, I'll give you V4L2_PIX_FMT_JPEG" and the decoding
can easily be done using libjpeg.

The corner case are the vendor-specific compressions. IMHO it doesn't
make much sense to attempt to implement every strange format some
engineer invented in every v4l2 application. Especially if there is
no free implementation of it (which is the reason the non-gpl pwcx
module was created IIRC).

Gerd

--
return -ENOSIG;