ID3D11VideoContext::SubmitDecoderBuffers method

Submits one or more buffers for decoding.


HRESULT SubmitDecoderBuffers(
  ID3D11VideoDecoder                    *pDecoder,
  UINT                                  NumBuffers,
  const D3D11_VIDEO_DECODER_BUFFER_DESC *pBufferDesc



A pointer to the ID3D11VideoDecoder interface. To get this pointer, call the ID3D11VideoDevice::CreateVideoDecoder method.


The number of buffers submitted for decoding.


A pointer to an array of D3D11_VIDEO_DECODER_BUFFER_DESC structures. The NumBuffers parameter specifies the number of elements in the array. Each element in the array describes a compressed buffer for decoding.

Return Value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.


This function does not honor a D3D11 predicate that may have been set.

If the application uses D3D11 quries, this function may not be accounted for with D3D11_QUERY_EVENT and D3D11_QUERY_TIMESTAMP when using feature levels lower than 11. D3D11_QUERY_PIPELINE_STATISTICS will not include this function for any feature level.

When using feature levels 9_x, all partially encrypted buffers must use the same EncryptedBlockInfo, and partial encryption cannot be turned off on a per frame basis.


Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See Also