// d3d10umddi.h
PFND3DWDDM2_0DDI_VIDEOPROCESSORGETBEHAVIORHINTS Pfnd3dwddm20DdiVideoprocessorgetbehaviorhints;
HRESULT Pfnd3dwddm20DdiVideoprocessorgetbehaviorhints(
D3D10DDI_HDEVICE hDevice,
D3D11_1DDI_HVIDEOPROCESSOR hVideoProcessor,
UINT OutputWidth,
UINT OutputHeight,
DXGI_FORMAT OutputFormat,
UINT StreamCount,
const D3DWDDM2_0DDI_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *pStreams,
UINT *pBehaviorHints
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Returns driver hints as to which video processor operations are best performed using multi-plane overlay hardware rather than VideoProcessorBlt. Optional for Windows Display Driver Model (WDDM) 2.0, or later, drivers.
hDeviceA handle to the display device (graphics context). The Direct3D runtime passed the user-mode driver this handle as the hDevice member of the D3DDDIARG_CREATEDEVICE structure at device creation.
hVideoProcessorHandle to the video processor object.
OutputWidthIndicates the width of the output surface.
OutputHeightIndicates the height of the output surface.
OutputFormatIndicates the output format of the video processor.
StreamCountThe number of input streams to process.
pStreamsAn array of structures indicating the format and status of each stream.
pBehaviorHintsReceives a combination of D3DWDDM2_0DDI_VIDEO_PROCESSOR_MULTIPLANE_BEHAVIOR_HINTS values indicting which of the operations would best be performed using multi-plane overlay hardware rather than with VideoProcessorBlt.
If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This function uses the current state, set via the VideoProcessorSetOutput and VideoProcessorSetStream set of device driver interfaces (DDIs), and returns which operations could be performed more efficiently using multiple overlay hardware.