共用方式為


VMR9ProcAmpControlFlags enumeration (vmr9.h)

[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 VMR9ProcAmpControlFlags enumeration type specifies image adjustment properties, for use with the Video Mixing Render Filter 9 (VMR-9).

Syntax

typedef enum __MIDL___MIDL_itf_vmr9_0000_0005_0002 {
  ProcAmpControl9_Brightness = 0x1,
  ProcAmpControl9_Contrast = 0x2,
  ProcAmpControl9_Hue = 0x4,
  ProcAmpControl9_Saturation = 0x8,
  ProcAmpControl9_Mask = 0xf
} VMR9ProcAmpControlFlags;

Constants

 
ProcAmpControl9_Brightness
Value: 0x1
Brightness adjustment.
ProcAmpControl9_Contrast
Value: 0x2
Contrast adjustment.
ProcAmpControl9_Hue
Value: 0x4
Hue adjustment.
ProcAmpControl9_Saturation
Value: 0x8
Saturation adjustment.
ProcAmpControl9_Mask
Value: 0xf
Bitwise OR of all the previous flags. This value is used internally by the VMR-9, and is not a valid flag.

Requirements

Requirement Value
Header vmr9.h

See also

DirectShow Enumerated Types

VMR9ProcAmpControl Structure

VMR9ProcAmpControlRange Structure