ID3D11VideoContext::VideoProcessorSetStreamFilter method (d3d11.h)

Enables or disables an image filter for an input stream on the video processor.

Syntax

void VideoProcessorSetStreamFilter(
  [in] ID3D11VideoProcessor         *pVideoProcessor,
  [in] UINT                         StreamIndex,
  [in] D3D11_VIDEO_PROCESSOR_FILTER Filter,
  [in] BOOL                         Enable,
  [in] int                          Level
);

Parameters

[in] pVideoProcessor

A pointer to the ID3D11VideoProcessor interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessor.

[in] StreamIndex

The zero-based index of the input stream. To get the maximum number of streams, call ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps and check the MaxStreamStates structure member.

[in] Filter

The filter, specified as a D3D11_VIDEO_PROCESSOR_FILTER value.

To query which filters the driver supports, call ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps.

[in] Enable

Specifies whether to enable the filter.

[in] Level

The filter level. If Enable is FALSE, this parameter is ignored.

To find the valid range of levels for a specified filter, call ID3D11VideoProcessorEnumerator::GetVideoProcessorFilterRange.

Return value

None

Requirements

   
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also

ID3D11VideoContext