DXVAHD_STREAM_STATE_DESTINATION_RECT_DATA structure (dxvahd.h)

Specifies the destination rectangle for an input stream, when using Microsoft DirectX Video Acceleration High Definition (DXVA-HD).

Syntax

typedef struct _DXVAHD_STREAM_STATE_DESTINATION_RECT_DATA {
  BOOL Enable;
  RECT DestinationRect;
} DXVAHD_STREAM_STATE_DESTINATION_RECT_DATA;

Members

Enable

Specifies whether to use the destination rectangle, or use the entire output surface. The default state value is FALSE.

Value Meaning
TRUE
Use the destination rectangle given in the DestinationRect member.
FALSE
Use the entire output surface as the destination rectangle.

DestinationRect

The destination rectangle, which defines the portion of the output surface where the source rectangle is blitted. The destination rectangle is given in pixel coordinates, relative to the output surface. The default value is an empty rectangle, (0, 0, 0, 0).

If the Enable member is FALSE, the DestinationRect member is ignored.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header dxvahd.h

See also

DXVA-HD

DXVAHD_STREAM_STATE

Direct3D Video Structures

IDXVAHD_VideoProcessor::SetVideoProcessStreamState

Media Foundation Structures