Re: Philips webcam questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 24 Jul 2001, Greg Hosler wrote:

> I'm partially guessing, based uponteh following:
>
>         /usr/src/linux/Documentation/usb/Philips.txt
>
> mentions about palette options when insmodding the module. however, when
> trying w/ rgb24, insmod gives an error. grepping palette drivers/usb/pwc*
> displays what looks like initial load palette options (yuv420/yuv420p only),
> and others (in pwc-ctl (?) which I suspect is the ioctl support for this
> driver).

The driver used to support a range of palette conversions.  These were
removed when the driver was merged into 2.4.x as the first part of a
drive to rid the kernel of kernel-side conversions.  There was a long
and heated discussion about how many user-space applications it would
break.  I imagine the documentation hasn't caught up to the fact the
driver was slimmed down.

> > I did not believe the compressor added palettes.  You need
> > to add 420(p) support to webcam.  See the ccvt library that Nemosoft
> > have on the philips camera pages at http://www.smcc.demon.nl/webcam/.
>
> I'll take a look. but, are you saying that I need to modify the source code
> (which I can do) ? I was hoping that this might be supported "outta da box"...

420 isn't a commonly suported format, and I haven't looked at webcam
source myself, but yes.  You probably have to tweak the source to ask
for yuv420(p) and convert.

Regards,

Mark

-- 
+-------------------------------------------------------------------------+
Mark Cooke                  The views expressed above are mine and are not
Systems Programmer          necessarily representative of university policy
University Of Birmingham    URL: http://www.sr.bham.ac.uk/~mpc/
+-------------------------------------------------------------------------+





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux