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.

ID3D11VideoContext::VideoProcessorSetStreamFilter method

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,
  [inint                          Level
);

Parameters

pVideoProcessor [in]

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

StreamIndex [in]

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

Filter [in]

The filter, specified as a D3D11_VIDEO_PROCESSOR_FILTER value.

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

Enable [in]

Specifies whether to enable the filter.

Level [in]

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

This method does not return a value.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

D3d11.h

See also

ID3D11VideoContext

 

 

Show:
© 2016 Microsoft