Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

DirectShowAMVideoProcAmpMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class DirectShow MBS Win Plugin 12.4 No Yes No Yes, Windows only No
Function: The AMVideoProcAmp interface adjusts the qualities of an incoming video signal, such as brightness, contrast, hue, saturation, gamma, and sharpness.
The WDM Video Capture filter exposes this interface if the hardware supports image adjustment.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

  • 3 properties
  • 4 methods
    • method Constructor
    • method Get(PropertySelector as Integer, byref Value as Integer, byref Flags as Integer)
    • method GetRange(PropertySelector as Integer, byref MinValue as Integer, byref MaxValue as Integer, byref SteppingDelta as Integer, byref DefaultValue as Integer, byref CapsFlags as Integer)
    • method Set(PropertySelector as Integer, Value as Integer, Flags as Integer = 0)
  • 12 constants


Constant Value Description
kFlagsAuto 1 The setting is controlled automatically.
kFlagsManual 2 The setting is controlled manually.


Constant Value Description
kPropertyBacklightCompensation 8 Specifies the backlight compensation setting. Possible values are 0 (off) and 1 (on).
kPropertyBrightness 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.
kPropertyColorEnable 6 Specifies the color enable setting. The possible values are 0 (off) and 1 (on).
kPropertyContrast 1 Specifies the contrast, expressed as gain factor * 100. Values range from zero to 10,000.
kPropertyGain 9 Specifies the gain adjustment. Zero is normal. Positive values are brighter and negative values are darker. The range of values depends on the device.
kPropertyGamma 5 Specifies the gamma, as gamma * 100. Values range from 1 to 500.
kPropertyHue 2 Specifies the hue, in degrees * 100. Values range from -180,000 to 180,000 (-180 to +180 degrees).
kPropertySaturation 3 Specifies the saturation. Values range from 0 to 10,000.
kPropertySharpness 4 Specifies the sharpness. Values range from 0 to 100.
kPropertyWhiteBalance 7 Specifies the white balance, as a color temperature in degrees Kelvin. The range of values depends on the device.

This class has no sub classes.

Some methods using this class:

Blog Entries

The items on this page are in the following plugins: MBS Win Plugin.

DirectShowAMVideoCompressionMBS   -   DirectShowAudioStreamConfigCapsMBS

The biggest plugin in space...

MBS Xojo PDF Plugins