Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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 VideoProcAmpProperty enumeration specifies video properties on a video capture device.
Syntax
typedef enum tagVideoProcAmpProperty {
VideoProcAmp_Brightness = 0,
VideoProcAmp_Contrast,
VideoProcAmp_Hue,
VideoProcAmp_Saturation,
VideoProcAmp_Sharpness,
VideoProcAmp_Gamma,
VideoProcAmp_ColorEnable,
VideoProcAmp_WhiteBalance,
VideoProcAmp_BacklightCompensation,
VideoProcAmp_Gain
} VideoProcAmpProperty;
Constants
VideoProcAmp_BrightnessValue: 0 Specifies the brightness, also called the black level. For NTSC, the value is expressed in IRE units * 100. For non-NTSC sources, the units are arbitrary, with zero representing blanking and 10,000 representing pure white. Values range from –10,000 to 10,000. |
VideoProcAmp_ContrastSpecifies the contrast, expressed as gain factor * 100. Values range from zero to 10,000. |
VideoProcAmp_HueSpecifies the hue, in degrees * 100. Values range from -180,000 to 180,000 (-180 to +180 degrees). |
VideoProcAmp_SaturationSpecifies the saturation. Values range from 0 to 10,000. |
VideoProcAmp_SharpnessSpecifies the sharpness. Values range from 0 to 100. |
VideoProcAmp_GammaSpecifies the gamma, as gamma * 100. Values range from 1 to 500. |
VideoProcAmp_ColorEnableSpecifies the color enable setting. The possible values are 0 (off) and 1 (on). |
VideoProcAmp_WhiteBalanceSpecifies the white balance, as a color temperature in degrees Kelvin. The range of values depends on the device. |
VideoProcAmp_BacklightCompensationSpecifies the backlight compensation setting. Possible values are 0 (off) and 1 (on). |
VideoProcAmp_GainSpecifies the gain adjustment. Zero is normal. Positive values are brighter and negative values are darker. The range of values depends on the device. |
Requirements
| Requirement | Value |
|---|---|
| Header | strmif.h (include Dshow.h) |