PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMROTATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMROTATION Pfnd3d111DdiVideoprocessorsetstreamrotation;

VOID Pfnd3d111DdiVideoprocessorsetstreamrotation(
  D3D10DDI_HDEVICE unnamedParam1,
  D3D11_1DDI_HVIDEOPROCESSOR unnamedParam2,
  UINT unnamedParam3,
  BOOL unnamedParam4,
  D3D11_1DDI_VIDEO_PROCESSOR_ROTATION unnamedParam5
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-pfnd3d11_1ddi_videoprocessorsetstreamrotation)

PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMROTATION callback function

Description

Enables or disables rotation on an input stream of the video processor.

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

hVideoProcessor [in]

A handle to the video processor object that was created through a call to the CreateVideoProcessor function.

unnamedParam3

StreamIndex [in]

The zero-based index of the input stream.

unnamedParam4

Rotation [in]

The clockwise degrees of rotation as specified by a D3D11_1DDI_VIDEO_PROCESSOR_ROTATION enumeration value.

unnamedParam5

Enable [in]

If TRUE, rotation is enabled on the input stream. Otherwise, rotation is disabled on the input stream.

Remarks

The stream source rectangle will be specified in the pre-rotation coordinates (typically landscape) and the stream destination rectangle will be specified in the post-rotation coordinates (typically portrait).

The application must update the stream destination rectangle correctly when using a rotation value other than 0 or 180 degrees.

See also

CreateVideoProcessor

D3D11_1DDI_VIDEO_PROCESSOR_ROTATION