Expand Minimize

ID3D11VideoContext::SubmitDecoderBuffers method

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

pDecoder [in]

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

NumBuffers [in]

The number of buffers submitted for decoding.

pBufferDesc [in]

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 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.

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

D3d11.h

See also

ID3D11VideoContext

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.