Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
VideoDecoderSubmitBuffers1 submits one or more buffers for decoding.
Syntax
PFND3DWDDM2_0DDI_VIDEODECODERSUBMITBUFFERS1 Pfnd3dwddm20DdiVideodecodersubmitbuffers1;
HRESULT Pfnd3dwddm20DdiVideodecodersubmitbuffers1(
D3D10DDI_HDEVICE hDevice,
D3D11_1DDI_HDECODE hDecode,
UINT BufferCount,
const D3DWDDM2_0DDI_VIDEO_DECODER_BUFFER_DESC1 *pBufferDesc
)
{...}
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Desktop |
Header | d3d10umddi.h (include D3d10umddi.h) |