Skip to content

Latest commit

 

History

History
107 lines (72 loc) · 3.96 KB

nc-d3d10umddi-pfnd3d11_1ddi_createvideodecoderoutputview.md

File metadata and controls

107 lines (72 loc) · 3.96 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.PFND3D11_1DDI_CREATEVIDEODECODEROUTPUTVIEW
PFND3D11_1DDI_CREATEVIDEODECODEROUTPUTVIEW (d3d10umddi.h)
Creates a resource view for a video decoder. This view defines the output sample for the video decoding operation.
display\createvideodecoderoutputview.htm
05/10/2018
PFND3D11_1DDI_CREATEVIDEODECODEROUTPUTVIEW callback function
CreateVideoDecoderOutputView, CreateVideoDecoderOutputView callback function [Display Devices], PFND3D11_1DDI_CREATEVIDEODECODEROUTPUTVIEW, PFND3D11_1DDI_CREATEVIDEODECODEROUTPUTVIEW callback, d3d10umddi/CreateVideoDecoderOutputView, display.createvideodecoderoutputview
d3d10umddi.h
D3d10umddi.h
Desktop
Windows 8
Windows Server 2012
Windows
display
PFND3D11_1DDI_CREATEVIDEODECODEROUTPUTVIEW
d3d10umddi/PFND3D11_1DDI_CREATEVIDEODECODEROUTPUTVIEW
APIRef
kbSyntax
UserDefined
D3d10umddi.h
PFND3D11_1DDI_CREATEVIDEODECODEROUTPUTVIEW

PFND3D11_1DDI_CREATEVIDEODECODEROUTPUTVIEW callback function

-description

Creates a resource view for a video decoder. This view defines the output sample for the video decoding operation.

-parameters

-param unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

-param unnamedParam2

pCreateData [in]

A pointer to a D3D11_1DDIARG_CREATEVIDEODECODEROUTPUTVIEW structure. This structure specifies the attributes of the video decoder output view to be created.

-param unnamedParam3

hView [in]

A handle to the driver's private data for the video decoder output view.

-param unnamedParam4

hRTView [in]

A handle to the video decoder output view that the driver should use when it calls back into the Direct3D runtime.

-returns

CreateVideoDecoderOutputView returns one of the following values:

Return code Description
S_OK The video decoder output view was created successfully.
D3DDDIERR_DEVICEREMOVED The graphics adapter was removed.
E_OUTOFMEMORY Memory was not available to complete the operation.

-remarks

The Direct3D runtime calls CreateVideoDecoderOutputView after it has called the driver's CalcPrivateVideoProcessorOutputViewSize to determine the size in bytes for the private data that the driver requires for the video decoder object. The runtime allocates the memory for this private data for the driver. The driver uses this memory to store private data that is related to the video decoder object.

When the runtime calls CreateVideoDecoderOutputView, it passes the handle to the private data memory in the hView parameter. This handle is actually a pointer to the memory.

-see-also

CalcPrivateVideoProcessorOutputViewSize

D3D11_1DDIARG_CREATEVIDEODECODER

NegotiateCryptoSessionKeyExchange

VideoDecoderBeginFrame