To: | |
---|---|
Subject: | [pwc] VIDIOC_G_CTRL and V4L2_CID_AUTOGAIN |
From: | Sander Jansen <> |
Date: | Tue, 27 Dec 2005 16:31:01 -0600 |
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; _______________________________________________ pwc mailing list http://lists.saillard.org/mailman/listinfo/pwc |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [pwc] V4L2_CID_CONTRAST bug?, Sander Jansen |
---|---|
Next by Date: | [pwc] more than 320x240 pix with PCVC720K[40], Marc Suin de Boutemard |
Previous by Thread: | [pwc] V4L2_CID_CONTRAST bug?, Sander Jansen |
Next by Thread: | Re: [pwc] VIDIOC_G_CTRL and V4L2_CID_AUTOGAIN, Hugo MERCIER |
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