PFND3D11_1DDI_VIDEODECODERSUBMITBUFFERS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

PFND3D11_1DDI_VIDEODECODERSUBMITBUFFERS Pfnd3d111DdiVideodecodersubmitbuffers;

HRESULT Pfnd3d111DdiVideodecodersubmitbuffers(
  D3D10DDI_HDEVICE unnamedParam1,
  D3D11_1DDI_HDECODE unnamedParam2,
  UINT unnamedParam3,
  const D3D11_1DDI_VIDEO_DECODER_BUFFER_DESC *unnamedParam4
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-pfnd3d11_1ddi_videodecodersubmitbuffers)

PFND3D11_1DDI_VIDEODECODERSUBMITBUFFERS callback function

Description

Submits one or more video frame buffers for DirectX Video Acceleration (DXVA) decoding.

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

hDecoder [in]

A handle to the video decoder object that was created through a call to the CreateVideoDecoder function.

unnamedParam3

BufferCount [in]

The number of buffers in the array that is referenced by the pBufferDesc parameter.

unnamedParam4

pBufferDesc [in]

A pointer to an array of one or more D3D11_1DDI_VIDEO_DECODER_BUFFER_DESC structures. For more information, see the Remarks section.

Return value

VideoDecoderSubmitBuffers returns one of the following values:

Return code Description
S_OK The video buffers were submitted successfully.
E_OUTOFMEMORY Memory was not available to complete the operation.

Remarks

The pBufferDesc parameter points to an array of one or more D3D11_1DDI_VIDEO_DECODER_BUFFER_DESC structures. Each element in the array describes a compressed video frame buffer that is submitted for decoding.

Each D3D11_1DDI_VIDEO_DECODER_BUFFER_DESC structure includes the following data:

[!NOTE] If the decode buffer does not contain any encrypted data, this pointer is set to NULL.

[!NOTE] This function does not honor a Microsoft Direct3D 11 predicate that may have been set.

See also

CreateVideoDecoder

D3D11_1DDI_AES_CTR_IV

D3D11_1DDI_ENCRYPTED_BLOCK_INFO

D3D11_1DDI_VIDEO_DECODER_BUFFER_DESC