다음을 통해 공유


VMR9ProcAmpControlRange structure (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 VMR9ProcAmpControlRange structure specifies the valid range for an image adjustment property. The range depends on the graphics device driver. This structure is used with the Video Mixing Renderer 9 Filter (VMR-9).

Syntax

typedef struct _VMR9ProcAmpControlRange {
  DWORD                   dwSize;
  VMR9ProcAmpControlFlags dwProperty;
  float                   MinValue;
  float                   MaxValue;
  float                   DefaultValue;
  float                   StepSize;
} VMR9ProcAmpControlRange;

Members

dwSize

Size of the structure, in bytes. The value must be sizeof(VMR9ProcAmpControlRange).

dwProperty

Specifies the image adjustment property to query, as a member of the VMR9ProcAmpControlFlags enumeration. The caller should set this field.

MinValue

Specifies the minimum value for the property. The driver sets this field.

MaxValue

Specifies the maximum value for the property. The driver sets this field.

DefaultValue

Specifies the default value for the property. The default value is the value that does not alter the image. The driver sets this field.

StepSize

Specifies the valid increments from MinValue to MaxValue. The driver sets this field.

Requirements

Requirement Value
Header vmr9.h

See also

DirectShow Structures

IVMRMixerControl9::GetProcAmpControlRange