DXVAHDDDI_STREAM_STATE_DESTINATION_RECT_DATA structure (d3dumddi.h)

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 {
  [in] BOOL Enable;
  [in] RECT DestinationRect;
} DXVAHDDDI_STREAM_STATE_DESTINATION_RECT_DATA;

Members

[in] Enable

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.

[in] DestinationRect

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

Requirement Value
Minimum supported client DXVAHDDDI_STREAM_STATE_DESTINATION_RECT_DATA is supported beginning with the Windows 7 operating system.
Header d3dumddi.h (include D3dumddi.h)

See also

RECT