Export (0) Print
Expand All
Expand Minimize

ID3D11VideoContext::VideoProcessorSetStreamExtension method

Sets a driver-specific state on a video processing stream.

Syntax


HRESULT VideoProcessorSetStreamExtension(
  [in]  ID3D11VideoProcessor *pVideoProcessor,
  [in]  UINT StreamIndex,
  [in]  const GUID *pExtensionGuid,
  [in]  UINT DataSize,
  [in]  void *pData
);

Parameters

pVideoProcessor [in]

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

StreamIndex [in]

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 [in]

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

DataSize [in]

The size of the pData buffer, in bytes.

pData [in]

A pointer to a buffer that contains private state data. The method passes this buffer directly to the driver without validation. It is the responsibility of the driver to validate the data.

Return value

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

Remarks

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

D3d11.h

See also

ID3D11VideoContext

 

 

Community Additions

ADD
Show:
© 2014 Microsoft