// 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 referenceNo description available.
VideoDecoderSubmitBuffers1 submits one or more buffers for decoding.
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.
hDecodeA handle to the video decoder object that was created through a call to the CreateVideoDecoderDDI.
BufferCountThe number of buffers in the array that is referenced by the pBufferDesc member.
pBufferDescA pointer to an array of one or more D3DWDDM2_0DDI_VIDEO_DECODER_BUFFER_DESC1 structures.
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. |
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.
D3DWDDM2_0DDI_VIDEO_DECODER_BUFFER_DESC1