To: | Philips Webcam Linux Driver <> |
---|---|
Subject: | Re: [pwc] VIDIOC_G_CTRL and V4L2_CID_AUTOGAIN |
From: | Hugo MERCIER <> |
Date: | Wed, 28 Dec 2005 15:06:18 +0100 |
> Here's a piece of code to get the state of V4L2_CID_AUTOGAIN (as used by > VIDIOC_G_CTRL):: > > case V4L2_CID_AUTOGAIN: > ret = pwc_get_agc(pdev, &c->value); > if (ret<0) > return -EINVAL; > if (c->value>=0) > c->value=0; > else > c->value=1; > printk("pwc: V4L2_CID_AUTOGAIN()=%d\n",c->value); > return 0; > Hi, Thanks. The autogain code has already been added in the latest snapshot (pwc-v4l2-20051228-042701). But not your Brightness, Contrast and Gamma fixes. Here is a patch on the latest snapshot for pwc-v4l.c including your fixes and a code to get the state of the Saturation (V4L2_CID_SATURATION)
pwc-v4l.c.diff _______________________________________________ pwc mailing list http://lists.saillard.org/mailman/listinfo/pwc |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [pwc] more than 320x240 pix with PCVC720K[40], Marc Suin de Boutemard |
---|---|
Next by Date: | Re: [pwc] VIDIOC_G_CTRL and V4L2_CID_AUTOGAIN, Sander Jansen |
Previous by Thread: | [pwc] VIDIOC_G_CTRL and V4L2_CID_AUTOGAIN, Sander Jansen |
Next by Thread: | Re: [pwc] VIDIOC_G_CTRL and V4L2_CID_AUTOGAIN, Sander Jansen |
Indexes: | [Date] [Thread] [Top] [All Lists] |
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