Expand Minimize

DXVAHDDDI_STREAM_STATE_ASPECT_RATIO_DATA structure

The DXVAHDDDI_STREAM_STATE_ASPECT_RATIO_DATA structure describes stream-state data that specifies the pixel aspect ratio.

Syntax


typedef struct _DXVAHDDDI_STREAM_STATE_ASPECT_RATIO_DATA {
  BOOL               Enable;
  DXVAHDDDI_RATIONAL SourceAspectRatio;
  DXVAHDDDI_RATIONAL DestinationAspectRatio;
} DXVAHDDDI_STREAM_STATE_ASPECT_RATIO_DATA;

Members

Enable

[in] A Boolean value that specifies whether the pixel aspect ratios are available. The default value is FALSE, which indicates that the pixel aspect ratios are not available.

SourceAspectRatio

[in] A DXVAHDDDI_RATIONAL structure that specifies the pixel aspect ratio of the source. The default is (1, 1).

DestinationAspectRatio

[in] A DXVAHDDDI_RATIONAL structure that specifies the pixel aspect ratio of the destination. The default is (1, 1).

Remarks

The driver might require the source and destination pixel aspect ratios to achieve the best result.

The DXVAHDDDI_STREAM_STATE_ASPECT_RATIO stream state is best set along with the DXVAHDDDI_STREAM_STATE_FILTER_ANAMORPHIC_SCALING stream state.

Pixel aspect ratios (0, any value) and (any value, 0) are invalid and causes the driver to return an error.

Requirements

Version

DXVAHDDDI_STREAM_STATE_ASPECT_RATIO_DATA is supported beginning with the Windows 7 operating system.

Header

D3dumddi.h (include D3dumddi.h)

See also

DXVAHDDDI_RATIONAL

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft