Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3D11_VIDEO_PROCESSOR_FILTER_RANGE structure

Defines the range of supported values for an image filter.

Syntax


typedef struct _D3D11_VIDEO_PROCESSOR_FILTER_RANGE {
  int   Minimum;
  int   Maximum;
  int   Default;
  float Multiplier;
} D3D11_VIDEO_PROCESSOR_FILTER_RANGE;

Members

Minimum

The minimum value of the filter.

Maximum

The maximum value of the filter.

Default

The default value of the filter.

Multiplier

A multiplier. Use the following formula to translate the filter setting into the actual filter value: Actual Value = Set Value × Multiplier.

Remarks

The multiplier enables the filter range to have a fractional step value.

For example, a hue filter might have an actual range of [–180.0 ... +180.0] with a step size of 0.25. The device would report the following range and multiplier:

  • Minimum: –720
  • Maximum: +720
  • Multiplier: 0.25

In this case, a filter value of 2 would be interpreted by the device as 0.50 (or 2 × 0.25).

The device should use a multiplier that can be represented exactly as a base-2 fraction.

Requirements

Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Header

D3d11.h

See also

Direct3D 11 Video Structures
ID3D11VideoProcessorEnumerator::GetVideoProcessorFilterRange

 

 

Show:
© 2017 Microsoft