Expand Minimize

DXVAHDDDI_STREAM_STATE_DESTINATION_RECT_DATA structure

The DXVAHDDDI_STREAM_STATE_DESTINATION_RECT_DATA structure describes stream-state data that specifies the destination rectangle. The driver scales the source rectangle within the input surface to the destination rectangle within the output surface.

Syntax


typedef struct _DXVAHDDDI_STREAM_STATE_DESTINATION_RECT_DATA {
  BOOL Enable;
  RECT DestinationRect;
} DXVAHDDDI_STREAM_STATE_DESTINATION_RECT_DATA;

Members

Enable

[in] A Boolean value that specifies whether the driver should use the DestinationRect member or the entire target rectangle as the destination. The default value is FALSE, which indicates that the entire target rectangle is the destination.

DestinationRect

[in] A RECT structure that specifies the coordinates of the destination rectangle relevant to the target rectangle. This member is relevant only when the Enable member is set to TRUE. The default value is empty (0,0,0,0).

Remarks

If the Enable member is set to TRUE and the destination rectangle that the DestinationRect member specifies is not within the target rectangle, the intersection of the destination rectangle and the target rectangle is used as the destination rectangle.

The application can use the destination rectangle to specify the active rectangle (dirty region) of the destination surface.

Requirements

Version

DXVAHDDDI_STREAM_STATE_DESTINATION_RECT_DATA is supported beginning with the Windows 7 operating system.

Header

D3dumddi.h (include D3dumddi.h)

See also

RECT

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft