Camera feature settings in SDK

Sep 18, 2007 at 11:36 AM

In Webcamsdk.h there are feature IDs for various camera settings. Not all the features functions are obvious.

For example, what does FEATAUTOEXPOSURE_MODE do? for QuickCam pro 5000 the values are from 1 to 8 but what's the meaning of it?

Is there any document that describe the various features?

Sep 18, 2007 at 1:30 PM
Hi Pini,

There is a whitepaper, written by D Boling, 'Writing a Windows CE USB Webcam Device', which you may find helpful in understanding how to use this driver. You won't find this paper on Codeplex yet, so check out other discussions for where to find this document.

The Logitech QCP5000 supports the following features (excuse the indentation)

ID Range Value Name
2, 1-8, 8, Auto-Exposure Mode
4, 1-10000, 166, Exposure Time (Abs)
18, 0-255, 127, Brightness
19, 0-255, 32, Contrast
21, 0-255, 32, Saturation
22, 0-255, 50, Sharpness
24, 0-10000, 4000, White Balance Temp
26, 0-2, 1, Backlight Compensation
27, 0-255, 0, Gain
28, 0-2, 2, Power Line Frequency
30, 0-1, 1, White Balance Temp-Auto

Range is the values the feature can take,
Value - current setting

If you set the FEAT_AUTOEXPOSURE to 1, this turns off auto exposure mode and so you can now set the gain and exposure time.

If you can get hold of Camtest2 (see previous discussions), this program allows you to play with the settings

Mark Bailey
Sep 18, 2007 at 3:25 PM
Hi Mark,

Thanks for the reply. I have figured out how exposure mode works by some trial and error but this info helps.
I will also look for the white paper.