Performs an extended function for decoding. This method enables extensions to the basic decoder functionality.
public:
HRESULT DecoderExtension(
ID3D11VideoDecoder *pDecoder,
const D3D11_VIDEO_DECODER_EXTENSION *pExtensionData
)
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.
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.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).