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 |
---|---|
|
Use the source rectangle specified in the SourceRect member. |
|
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 |