Skip to content

Latest commit

 

History

History
94 lines (71 loc) · 2.72 KB

ns-d3d11-d3d11_video_processor_filter_range.md

File metadata and controls

94 lines (71 loc) · 2.72 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:d3d11.D3D11_VIDEO_PROCESSOR_FILTER_RANGE
D3D11_VIDEO_PROCESSOR_FILTER_RANGE (d3d11.h)
Defines the range of supported values for an image filter. (D3D11_VIDEO_PROCESSOR_FILTER_RANGE)
D3D11_VIDEO_PROCESSOR_FILTER_RANGE
D3D11_VIDEO_PROCESSOR_FILTER_RANGE structure [Media Foundation]
d3d11/D3D11_VIDEO_PROCESSOR_FILTER_RANGE
mf.d3d11_video_processor_filter_range
mf\d3d11_video_processor_filter_range.htm
mf
22B11763-717A-49D7-8F5B-2FD21C13F11E
12/05/2018
D3D11_VIDEO_PROCESSOR_FILTER_RANGE, D3D11_VIDEO_PROCESSOR_FILTER_RANGE structure [Media Foundation], d3d11/D3D11_VIDEO_PROCESSOR_FILTER_RANGE, mf.d3d11_video_processor_filter_range
d3d11.h
Windows
Windows 8 [desktop apps \| UWP apps]
Windows Server 2012 [desktop apps \| UWP apps]
Windows
D3D11_VIDEO_PROCESSOR_FILTER_RANGE
19H1
D3D11_VIDEO_PROCESSOR_FILTER_RANGE
d3d11/D3D11_VIDEO_PROCESSOR_FILTER_RANGE
c++
APIRef
kbSyntax
HeaderDef
d3d11.h
D3D11_VIDEO_PROCESSOR_FILTER_RANGE

D3D11_VIDEO_PROCESSOR_FILTER_RANGE structure

-description

Defines the range of supported values for an image filter.

-struct-fields

-field Minimum

The minimum value of the filter.

-field Maximum

The maximum value of the filter.

-field Default

The default value of the filter.

-field 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.

-see-also

Direct3D 11 Video Structures

ID3D11VideoProcessorEnumerator::GetVideoProcessorFilterRange