Skip to content

Latest commit

 

History

History
99 lines (68 loc) · 3.7 KB

nc-d3d10umddi-pfnd3dwddm2_0ddi_videoprocessorgetbehaviorhints.md

File metadata and controls

99 lines (68 loc) · 3.7 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3d10umddi.PFND3DWDDM2_0DDI_VIDEOPROCESSORGETBEHAVIORHINTS
PFND3DWDDM2_0DDI_VIDEOPROCESSORGETBEHAVIORHINTS (d3d10umddi.h)
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.
display\videoprocessorgetbehaviorhints.htm
05/10/2018
PFND3DWDDM2_0DDI_VIDEOPROCESSORGETBEHAVIORHINTS callback function
PFND3DWDDM2_0DDI_VIDEOPROCESSORGETBEHAVIORHINTS, PFND3DWDDM2_0DDI_VIDEOPROCESSORGETBEHAVIORHINTS callback, d3d10umddi/pfnVideoProcessorGetBehaviorHints, display.videoprocessorgetbehaviorhints, pfnVideoProcessorGetBehaviorHints, pfnVideoProcessorGetBehaviorHints callback function [Display Devices]
d3d10umddi.h
D3d10umddi.h
Desktop
Windows 10
Windows Server 2016
Windows
display
PFND3DWDDM2_0DDI_VIDEOPROCESSORGETBEHAVIORHINTS
d3d10umddi/PFND3DWDDM2_0DDI_VIDEOPROCESSORGETBEHAVIORHINTS
APIRef
kbSyntax
UserDefined
D3d10umddi.h
PFND3DWDDM2_0DDI_VIDEOPROCESSORGETBEHAVIORHINTS

PFND3DWDDM2_0DDI_VIDEOPROCESSORGETBEHAVIORHINTS callback function

-description

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.

-parameters

-param hDevice

A 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.

-param hVideoProcessor

Handle to the video processor object.

-param OutputWidth

Indicates the width of the output surface.

-param OutputHeight

Indicates the height of the output surface.

-param OutputFormat

Indicates the output format of the video processor.

-param StreamCount

The number of input streams to process.

-param pStreams

An array of structures indicating the format and status of each stream.

-param pBehaviorHints

Receives 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.

-returns

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

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.

-see-also

D3DDDIARG_CREATEDEVICE

VideoProcessorBlt