ID3D11VideoContext1::SubmitDecoderBuffers1 method
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
- 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 |
|
See also