VideoProcessorSetStreamAutoProcessingMode
TOC
Collapse the table of content
Expand the table of content

ID3D11VideoContext::VideoProcessorSetStreamAutoProcessingMode method

Enables or disables automatic processing features on the video processor.

Syntax


void VideoProcessorSetStreamAutoProcessingMode(
  [in] ID3D11VideoProcessor *pVideoProcessor,
  [in] UINT                 StreamIndex,
  [in] BOOL                 Enable
);

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.

Enable [in]

If TRUE, automatic processing features are enabled. If FALSE, the driver disables any extra video processing that it might be performing.

Return value

This method does not return a value.

Remarks

By default, the driver might perform certain processing tasks automatically during the video processor blit. This method enables the application to disable these extra video processing features. For example, if you provide your own pixel shader for the video processor, you might want to disable the driver's automatic processing.

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