Expand Minimize

ID3D11VideoContext::VideoProcessorGetStreamRotation method

Gets the stream rotation for an input stream on the video processor.

Syntax


void VideoProcessorGetStreamRotation(
  ID3D11VideoProcessor *pVideoProcessor,
  UINT StreamIndex,
  BOOL *pEnable,
  D3D11_VIDEO_PROCESSOR_ROTATION *pRotation
);

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.

pEnable

Specifies if the stream is rotated.

pRotation

Specifies the rotation of the stream in a clockwise orientation.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

D3d11.h

See also

ID3D11VideoContext

 

 

Community Additions

ADD
Show:
© 2014 Microsoft