An interesting fact is that v4l2ucp doesn't offer autoexposure settings anymore after applying my patch.

Maybe the CID didn't exist when they wrote it.(As I mentioned before - no development in 2 years now.)

GWater


Vasily Khoruzhick schrieb:
On 23 November 2008 23:06:39 GWater wrote:
I'm working on Autogain control and I notice that we are defining our
own autoexposure CID. Why are we not using the existing ones?

(from <linux/videodev2.h>:)

#define V4L2_CID_EXPOSURE_AUTO
(V4L2_CID_CAMERA_CLASS_BASE+1)
enum v4l2_exposure_auto_type {
         V4L2_EXPOSURE_AUTO = 0,
         V4L2_EXPOSURE_MANUAL = 1,
         V4L2_EXPOSURE_SHUTTER_PRIORITY = 2,
         V4L2_EXPOSURE_APERTURE_PRIORITY = 3
};

I think we should use that. (microdia-v4l.c already includes videodev2.h
via v4l2-common.h and v4l2-dev.h)

Agreed


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to