PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMROTATION callback function

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

Syntax

PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMROTATION Pfnd3d111DdiVideoprocessorsetstreamrotation;

void Pfnd3d111DdiVideoprocessorsetstreamrotation(
  D3D10DDI_HDEVICE Arg1,
  D3D11_1DDI_HVIDEOPROCESSOR Arg2,
  UINT Arg3,
  BOOL Arg4,
  D3D11_1DDI_VIDEO_PROCESSOR_ROTATION Arg5
)
{...}

Parameters

Arg1

Arg2

Arg3

Arg4

Arg5

Return Value

This callback function does not return a value.

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.

Requirements

   
Windows version Windows 8 Windows Server 2012
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See Also

CreateVideoProcessor

D3D11_1DDI_VIDEO_PROCESSOR_ROTATION