VideoProcessorSetOutputTargetRect
TOC
Collapse the table of content
Expand the table of content

ID3D11VideoContext::VideoProcessorSetOutputTargetRect method

Sets the target rectangle for the video processor.

Syntax


void VideoProcessorSetOutputTargetRect(
  [in]       ID3D11VideoProcessor *pVideoProcessor,
  [in]       BOOL                 Enable,
  [inconst RECT                 *pRect
);

Parameters

pVideoProcessor [in]

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

Enable [in]

Specifies whether to apply the target rectangle.

pRect [in]

A pointer to a RECT structure that specifies the target rectangle. If Enable is FALSE, this parameter is ignored.

Return value

This method 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 method 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 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

D3d11.h

See also

ID3D11VideoContext

 

 

Show:
© 2016 Microsoft