ID3D11VideoContext::DecoderExtension Method

Performs an extended function for decoding. This method enables extensions to the basic decoder functionality.

Syntax

public:
HRESULT DecoderExtension(
         ID3D11VideoDecoder *pDecoder,
         const D3D11_VIDEO_DECODER_EXTENSION *pExtensionData
)  

Parameters

pDecoder
Type: ID3D11VideoDecoder *

[in] A pointer to the ID3D11VideoDecoder interface. To get this pointer, call ID3D11VideoDevice::CreateVideoDecoder.

pExtensionData
Type: D3D11_VIDEO_DECODER_EXTENSION *

[in] A pointer to a D3D11_VIDEO_DECODER_EXTENSION structure that contains data for the function.

Return value

Type: HRESULT 

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

See Direct3D 11 return codes for possible return values.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).