Expand Minimize

DXVAHDDDI_STREAM_STATE_SOURCE_RECT_DATA structure

The DXVAHDDDI_STREAM_STATE_SOURCE_RECT_DATA structure describes stream-state data that specifies the source rectangle of the input stream. The driver scales the source rectangle within the input surface to the destination rectangle within the output surface.

Syntax


typedef struct _DXVAHDDDI_STREAM_STATE_SOURCE_RECT_DATA {
  BOOL Enable;
  RECT SourceRect;
} DXVAHDDDI_STREAM_STATE_SOURCE_RECT_DATA;

Members

Enable

[in] A Boolean value that specifies whether the driver should use the SourceRect member or the entire input surface as the source. The default value is FALSE, which indicates that the entire input surface is the source.

SourceRect

[in] A RECT structure that specifies the source rectangle in the coordinates of the input surface. This member is relevant only when the Enable member is set to TRUE. The default value is (0,0,0,0).

Remarks

If the Enable member is set to TRUE and the source rectangle that the SourceRect member specifies is not within the input surface, the intersection of the source rectangle and the input surface is used as the source rectangle.

The application can use the source rectangle to specify the active rectangle (dirty region) of the source surface.

Requirements

Version

DXVAHDDDI_STREAM_STATE_SOURCE_RECT_DATA is supported beginning with the Windows 7 operating system.

Header

D3dumddi.h (include D3dumddi.h)

See also

RECT

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.