Freigeben über


CameraControlFlags Enumeration

 
Microsoft DirectShow 9.0

CameraControlFlags Enumeration

The CameraControlFlags enumeration defines whether a camera setting is controlled manually or automatically.

Syntax

  typedef enum{
    CameraControl_Flags_Auto   = 0x0001,
    CameraControl_Flags_Manual = 0x0002
} CameraControlFlags;

#define KSPROPERTY_CAMERACONTROL_FLAGS_AUTO        0X0001L
#define KSPROPERTY_CAMERACONTROL_FLAGS_MANUAL      0X0002L
#define KSPROPERTY_CAMERACONTROL_FLAGS_ABSOLUTE    0X0000L
#define KSPROPERTY_CAMERACONTROL_FLAGS_RELATIVE    0X0010L

Members

CameraControl_Flags_Auto

The setting is controlled automatically.

CameraControl_Flags_Manual

The setting is controlled manually.

KSPROPERTY_CAMERACONTROL_FLAGS_AUTO

Equivalent to CameraControl_Flags_Auto.

KSPROPERTY_CAMERACONTROL_FLAGS_MANUAL

Equivalent to CameraControl_Flags_Manual.

KSPROPERTY_CAMERACONTROL_FLAGS_ABSOLUTE

The camera supports absolute units for this setting.

KSPROPERTY_CAMERACONTROL_FLAGS_RELATIVE

The camera supports relative controls for this setting. A relative control is divided into a number of steps with no defined units. The absolute size of each step depends on the camera model.

Remarks

The KSPROPERTY_CAMERACONTROL_FLAGS_* flags are defined in Ksmedia.h.

Requirements

  Header: Dshow.h

See Also