DXVAHD_STREAM_STATE_SOURCE_RECT_DATA structure (dxvahd.h)

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

Syntax

typedef struct _DXVAHD_STREAM_STATE_SOURCE_RECT_DATA {
  BOOL Enable;
  RECT SourceRect;
} DXVAHD_STREAM_STATE_SOURCE_RECT_DATA;

Members

Enable

Specifies whether to blit the entire input surface or just the source rectangle. The default state value is FALSE.

Value Meaning
TRUE
Use the source rectangle specified in the SourceRect member.
FALSE
Blit the entire input surface. Ignore the SourceRect member.

SourceRect

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

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