ID3D11VideoContext1::SubmitDecoderBuffers1 method (d3d11_1.h)

Submits one or more buffers for decoding.

Syntax

HRESULT SubmitDecoderBuffers1(
  [in] ID3D11VideoDecoder                     *pDecoder,
  [in] UINT                                   NumBuffers,
  [in] const D3D11_VIDEO_DECODER_BUFFER_DESC1 *pBufferDesc
);

Parameters

[in] pDecoder

Type: ID3D11VideoDecoder*

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

[in] NumBuffers

Type: UINT

The number of buffers submitted for decoding.

[in] pBufferDesc

Type: const D3D11_VIDEO_DECODER_BUFFER_DESC1*

A pointer to an array of D3D11_VIDEO_DECODER_BUFFER_DESC1 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

Type: HRESULT

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

Remarks

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

D3D11_QUERY_DATA_PIPELINE_STATISTICS will not include this function for any feature level.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header d3d11_1.h

See also

ID3D11VideoContext1