pwc
[Top] [All Lists]

Re: [pwc] Quickcam Zoom Silver: grey image and zoom

To: Philips Webcam Linux Driver <>
Subject: Re: [pwc] Quickcam Zoom Silver: grey image and zoom
From: Hugo MERCIER <>
Date: Wed, 28 Dec 2005 18:13:51 +0100
Le lundi 19 décembre 2005 à 11:14 -0800, Jay Gowdy a écrit :
> Hugo MERCIER wrote:
>
>  > But, images are in grey levels. When testing different white balacing
>  > modes, I can make images in red, green or blue levels. It seems like
>  > only one color channel is processed ...
>
> Perhaps the hue or saturation settings are messed up?
>

I finally found the problem.

Thanks to usbsnoop under win32 and the reading of pwc sources, it seems
my cam has a "Colour Mode" control switch, disabled by default.

The correct formatter is in pwc-ctrl.c, but never used
(COLOUR_MODE_FORMATTER)

I test a SendControlMsg(SET_CHROM_CTL, COLOUR_MODE_FORMATTER, 1) with
buf == 0xff (I replaced it in the pc_set_backlight in order to test) and
it works well !

Now, I have to include this in the pwc sources. But I'm not sure what to
do: add a 'pwc_set_colour_mode' ? Add it in an initialization part
(where ?).

First, what to do if a cam does not support this control ? I have to
test the model type (mine is 740); So, has anybody the same problem ?
With which model ?


_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU