Skip to content

Latest commit

 

History

History
132 lines (104 loc) · 4.97 KB

ne-strmif-cameracontrolproperty.md

File metadata and controls

132 lines (104 loc) · 4.97 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:strmif.tagCameraControlProperty
CameraControlProperty (strmif.h)
The CameraControlProperty enumeration specifies a setting on a camera.
CameraControlProperty
CameraControlProperty enumeration [DirectShow]
CameraControlPropertyEnumeration
CameraControl_Exposure
CameraControl_Focus
CameraControl_Iris
CameraControl_Pan
CameraControl_Roll
CameraControl_Tilt
CameraControl_Zoom
dshow.cameracontrolproperty
strmif/CameraControlProperty
strmif/CameraControl_Exposure
strmif/CameraControl_Focus
strmif/CameraControl_Iris
strmif/CameraControl_Pan
strmif/CameraControl_Roll
strmif/CameraControl_Tilt
strmif/CameraControl_Zoom
dshow\cameracontrolproperty.htm
dshow
eebf2246-960f-48ea-86b7-7542e69f2e3e
4/26/2023
CameraControlProperty, CameraControlProperty enumeration [DirectShow], CameraControlPropertyEnumeration, CameraControl_Exposure, CameraControl_Focus, CameraControl_Iris, CameraControl_Pan, CameraControl_Roll, CameraControl_Tilt, CameraControl_Zoom, dshow.cameracontrolproperty, strmif/CameraControlProperty, strmif/CameraControl_Exposure, strmif/CameraControl_Focus, strmif/CameraControl_Iris, strmif/CameraControl_Pan, strmif/CameraControl_Roll, strmif/CameraControl_Tilt, strmif/CameraControl_Zoom
strmif.h
Dshow.h
Windows
Windows
CameraControlProperty
19H1
tagCameraControlProperty
strmif/tagCameraControlProperty
CameraControlProperty
strmif/CameraControlProperty
c++
APIRef
kbSyntax
HeaderDef
strmif.h
CameraControlProperty

CameraControlProperty enumeration

-description

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The CameraControlProperty enumeration specifies a setting on a camera.

-enum-fields

-field CameraControl_Pan:0

Specifies the camera's pan setting, in degrees. Values range from –180 to +180, with the default set to zero. Positive values are clockwise from the origin (the camera rotates clockwise when viewed from above), and negative values are counterclockwise from the origin.

-field CameraControl_Tilt

Specifies the camera's tilt setting, in degrees. Values range from –180 to +180, with the default set to zero. Positive values point the imaging plane up, and negative values point the imaging plane down.

-field CameraControl_Roll

Specifies the camera's roll setting, in degrees. Values range from –180 to +180, with the default set to zero. Positive values cause a clockwise rotation of the camera along the image-viewing axis, and negative values cause a counterclockwise rotation of the camera.

-field CameraControl_Zoom

Specifies the camera's zoom setting, in millimeters. Values range from 10 to 600, and the default is specific to the device.

-field CameraControl_Exposure

Specifies the exposure setting, in log base 2 seconds. In other words, for values less than zero, the exposure time is 1/2^n seconds, and for values zero or above, the exposure time is 2^n seconds. For example:

Value Seconds
-3 1/8
-2 1/4
-1 1/2
0 1
1 2
2 4

-field CameraControl_Iris

Specifies the camera's iris setting, in units of fₛₜₒₚ* 10.

-field CameraControl_Focus

Specifies the camera's focus setting, as the distance to the optimally focused target, in millimeters. The range and default value are specific to the device.

-remarks

For a given property, a particular device might implement only a subset of the listed range.

-see-also

DirectShow Enumerated Types

IAMCameraControl Interface