Video quality

Prev

Next

 






































































































Video quality overview.

Description


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

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

For each video quality setting, it is possible to :
- retrieve the current value with VideoQualityValue
- retrieve the "auto" mode with VideoQualityAuto
- retrieve the default value with VideoQualityDefault
- retrieve the minimum value with VideoQualityMin
- retrieve the maximum value with VideoQualityMax
- retrieve the stepping value with VideoQualityStep
- set a new value with SetVideoQuality.

Use of the SetVideoQuality parameters:
- if SetAuto is true, SetDefault and SetValue are ignored and the setting is switched in "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.

Look at the MainDemo project for sample code.



See Also
IsVideoQualityAvailable IsVideoQualitySettingAvailable SetVideoQuality VideoQualityAuto VideoQualityDefault VideoQualityMax VideoQualityMin VideoQualitySettings VideoQualityStep TVideoQuality