PFND3DWDDM2_0DDI_VIDEODECODERSUBMITBUFFERS1 - NtDoc

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

PFND3DWDDM2_0DDI_VIDEODECODERSUBMITBUFFERS1 Pfnd3dwddm20DdiVideodecodersubmitbuffers1;

HRESULT Pfnd3dwddm20DdiVideodecodersubmitbuffers1(
  D3D10DDI_HDEVICE hDevice,
  D3D11_1DDI_HDECODE hDecode,
  UINT BufferCount,
  const D3DWDDM2_0DDI_VIDEO_DECODER_BUFFER_DESC1 *pBufferDesc
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PFND3DWDDM2_0DDI_VIDEODECODERSUBMITBUFFERS1 callback function

Description

VideoDecoderSubmitBuffers1 submits one or more buffers for decoding.

Parameters

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.

hDecode

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

BufferCount

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

pBufferDesc

A pointer to an array of one or more D3DWDDM2_0DDI_VIDEO_DECODER_BUFFER_DESC1 structures.

Return value

Returns one of the following values:

Return code Description
S_OK Private driver data was successfully returned.
E_OUTOFMEMORY Memory was not available to complete the operation.

Remarks

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

See also

CreateVideoDecoder

D3DDDIARG_CREATEDEVICE

D3DWDDM2_0DDI_VIDEO_DECODER_BUFFER_DESC1