Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11VideoContext1::SubmitDecoderBuffers1 method

Submits one or more buffers for decoding.

Syntax


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

Parameters

pDecoder [in]

Type: ID3D11VideoDecoder*

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

NumBuffers [in]

Type: UINT

The number of buffers submitted for decoding.

pBufferDesc [in]

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

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

D3d11_1.h

See also

ID3D11VideoContext1

 

 

Show:
© 2017 Microsoft