DXVAHD_BLT_STATE_TARGET_RECT_DATA structure (dxvahd.h)

Specifies the target rectangle for blitting, when using Microsoft DirectX Video Acceleration High Definition (DXVA-HD).

Syntax

typedef struct _DXVAHD_BLT_STATE_TARGET_RECT_DATA {
  BOOL Enable;
  RECT TargetRect;
} DXVAHD_BLT_STATE_TARGET_RECT_DATA;

Members

Enable

Specifies whether to use the target rectangle. The default state value is FALSE.

Value Meaning
TRUE
Use the target rectangle specified by the TargetRect member.
FALSE
Use the entire destination surface as the target rectangle. Ignore the TargetRect member.

TargetRect

Specifies the target rectangle. 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. The default state value is an empty rectangle, (0, 0, 0, 0).

If the Enable member is FALSE, the TargetRect 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_BLT_STATE

Direct3D Video Structures

IDXVAHD_VideoProcessor::SetVideoProcessBltState

Media Foundation Structures