Skip to content

Video quality

The video quality settings are used to set the brightness, hue, saturation, etc. They are available on the current video capture device if IsVideoQualityAvailable returns true.

The possible video quality settings are enumerated by the TVideoQuality type.

For each video quality setting, it is possible to:

The SetVideoQuality parameters are used as follows:

  • if SetAuto is true, SetDefault and SetValue are ignored and the setting is switched to "auto" mode,
  • if SetAuto is false and SetDefault is true, SetValue is ignored and the setting is set to its default value,
  • if SetAuto is false and SetDefault is false, the SetValue value is applied to the setting.

The default, minimum, maximum and stepping values are usually used to set trackbar ranges. See the miscVideoQuality form of the MainDemo project for sample code.

Note

These properties are device-dependent. Any form that uses these properties should be refreshed when the OnVideoDeviceSelected event occurs.