Expand Minimize

VideoProcessorSetOutputTargetRect function

Sets the target rectangle for the video processor.

Syntax


VOID APIENTRY* VideoProcessorSetOutputTargetRect(
  _In_  D3D10DDI_HDEVICE hDevice,
  _In_  D3D11_1DDI_HVIDEOPROCESSOR hVideoProcessor,
  _In_  BOOL Enable,
  _In_  const RECT *pOutputRect
);

Parameters

hDevice [in]

A handle to the display device (graphics context).

hVideoProcessor [in]

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

Enable [in]

If TRUE, the target rectangle specified by the pOutputRect parameter should be used by the video processor.

pOutputRect [in]

A pointer to a RECT structure that specifies the target rectangle.

Note  If the Enable parameter is FALSE, this parameter is ignored.

Return value

This function does not return a value.

Remarks

The target rectangle is the area within the destination surface where the output will be drawn. The target rectangle is given in pixel coordinates, relative to the destination surface.

If this function is never called, or if the Enable parameter is FALSE, the video processor writes to the entire destination surface.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CreateVideoProcessor
RECT

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.