To: | Philips Webcam Linux Driver <> |
---|---|
Subject: | Re: [pwc] VIDIOC_G_CTRL and V4L2_CID_AUTOGAIN |
From: | Sander Jansen <> |
Date: | Wed, 28 Dec 2005 08:46:26 -0600 |
I just found out where to download those snapshots ;) I'll use those instead to test my own code! Sander On Wednesday 28 December 2005 08:06, Hugo MERCIER wrote: > > 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 mailing list http://lists.saillard.org/mailman/listinfo/pwc |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [pwc] VIDIOC_G_CTRL and V4L2_CID_AUTOGAIN, Hugo MERCIER |
---|---|
Next by Date: | Re: [pwc] Quickcam Zoom Silver: grey image and zoom, Hugo MERCIER |
Previous by Thread: | Re: [pwc] VIDIOC_G_CTRL and V4L2_CID_AUTOGAIN, Hugo MERCIER |
Next by Thread: | [pwc] more than 320x240 pix with PCVC720K[40], Marc Suin de Boutemard |
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