ID3D11VideoContext1::VideoProcessorGetBehaviorHints method (d3d11_1.h)
Returns driver hints that indicate which of the video processor operations are best performed using multi-plane overlay hardware rather than ID3D11VideoContext::VideoProcessorBlt method.
HRESULT VideoProcessorGetBehaviorHints( [in] ID3D11VideoProcessor *pVideoProcessor, [in] UINT OutputWidth, [in] UINT OutputHeight, [in] DXGI_FORMAT OutputFormat, [in] UINT StreamCount, [in] const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *pStreams, [out] UINT *pBehaviorHints );
A pointer to the ID3D11VideoProcessor interface.
The width of the output stream.
The height of the output stream.
The format of the output stream.
The number of input streams to process.
Type: const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT*
An array of structures that specifies the format of each input stream and whether each stream should be used when computing behavior hints.
A pointer to a bitwise OR combination of D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS values indicating which video processor operations would best be performed using multi-plane overlay hardware rather than the ID3D11VideoContext::VideoProcessorBlt method.
This method returns one of the following error codes.
|S_OK||The operation completed successfully.|
|E_INVALIDARG||An invalid parameter was passed or this function was called using an invalid calling pattern.|
|E_OUTOFMEMORY||There is insufficient memory to complete the operation.|
This method computes the behavior hints using the current state of the video processor as set by the "SetOutput" and "SetStream" methods of ID3D11VideoContext and ID3D11VideoContext1. You must set the proper state before calling this method to ensure that the returned hints contain useful data.
|Minimum supported client||Windows 10 [desktop apps only]|
|Minimum supported server||Windows Server 2016 [desktop apps only]|