ID3D11VideoContext::SubmitDecoderBuffers method (d3d11.h)

Submits one or more buffers for decoding.

Syntax

HRESULT SubmitDecoderBuffers(
  [in] ID3D11VideoDecoder                    *pDecoder,
  [in] UINT                                  NumBuffers,
  [in] const D3D11_VIDEO_DECODER_BUFFER_DESC *pBufferDesc
);

Parameters

[in] pDecoder

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

[in] NumBuffers

The number of buffers submitted for decoding.

[in] pBufferDesc

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.

Remarks

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

If the application uses D3D11 queries, 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.

Requirements

Requirement Value
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

ID3D11VideoContext