Expandir Minimizar

DXVAHDDDI_BLT_STATE_CONSTRICTION_DATA structure

The DXVAHDDDI_BLT_STATE_CONSTRICTION_DATA structure describes data that specifies the down-sampling of the output. If constriction is enabled, the composed target rectangle is down-sampled to the specified size and then scaled back to the target rectangle.

Syntax


typedef struct _DXVAHDDDI_BLT_STATE_CONSTRICTION_DATA {
  BOOL Enable;
  SIZE Size;
} DXVAHDDDI_BLT_STATE_CONSTRICTION_DATA;

Members

Enable

[in] A Boolean value that specifies whether constriction is enabled. The default value is FALSE, which indicates that constriction is disabled.

Size

[in] A SIZE structure that specifies the sampling size to which the output image is reduced. Size should be from (1, 1) to (width, height) of the target rectangle. Size should be (0, 0) to represent no constriction. The default value is (1, 1).

Remarks

The Direct3D runtime specifies the DXVAHDDDI_BLT_STATE_CONSTRICTION state in the State member of the D3DDDIARG_DXVAHD_SETVIDEOPROCESSBLTSTATE structure in a call to the driver's SetVideoProcessBltState function. This is specified only if the driver has previously set the DXVAHDDDI_FEATURE_CAPS_CONSTRICTION value in the FeatureCaps member of the DXVAHDDDI_VPDEVCAPS structure when the driver's GetCaps function is called with the D3DDDICAPS_DXVAHD_GETVPDEVCAPS value set.

Sampling sizes of (0, anything) and (anything, 0) are invalid and the driver's SetVideoProcessBltState function should return an error if these sampling sizes are supplied.

If the supplied sampling size is larger than the size of the target rectangle, then the driver rounds the sampling size to the size of the target rectangle.

Requirements

Version

DXVAHDDDI_BLT_STATE_CONSTRICTION_DATA is supported beginning with the Windows 7 operating system.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DXVAHD_SETVIDEOPROCESSBLTSTATE
DXVAHDDDI_VPDEVCAPS
GetCaps
SetVideoProcessBltState
SIZE

 

 

Send comments about this topic to Microsoft

Mostrar:
© 2015 Microsoft