ID3D11VideoContext::VideoProcessorGetStreamExtension method (d3d11.h)

Gets a driver-specific state for a video processing stream.

Syntax

APP_DEPRECATED_HRESULT VideoProcessorGetStreamExtension(
  ID3D11VideoProcessor *pVideoProcessor,
  UINT                 StreamIndex,
  const GUID           *pExtensionGuid,
  UINT                 DataSize,
  void                 *pData
);

Parameters

pVideoProcessor

A pointer to the ID3D11VideoProcessor interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessor.

StreamIndex

The zero-based index of the input stream. To get the maximum number of streams, call ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps and check the MaxStreamStates structure member.

pExtensionGuid

A pointer to a GUID that identifies the state. The meaning of this GUID is defined by the graphics driver.

DataSize

The size of the pData buffer, in bytes.

pData

A pointer to a buffer that receives the private state data.

Return value

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

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header d3d11.h

See also

ID3D11VideoContext