DXVAHDDDI_STREAM_STATE_ASPECT_RATIO_DATA structure (d3dumddi.h)

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 {
  [in] BOOL               Enable;
  [in] DXVAHDDDI_RATIONAL SourceAspectRatio;
  [in] DXVAHDDDI_RATIONAL DestinationAspectRatio;
} DXVAHDDDI_STREAM_STATE_ASPECT_RATIO_DATA;

Members

[in] Enable

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.

[in] SourceAspectRatio

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

[in] DestinationAspectRatio

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

Requirement Value
Minimum supported client 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