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)

GWater

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to