Expand Minimize

DXVAHD_STREAM_STATE_ASPECT_RATIO_DATA structure

Specifies the pixel aspect ratio (PAR) for the source and destination rectangles.

Syntax


typedef struct _DXVAHD_STREAM_STATE_ASPECT_RATIO_DATA {
  BOOL            Enable;
  DXVAHD_RATIONAL SourceAspectRatio;
  DXVAHD_RATIONAL DestinationAspectRatio;
} DXVAHD_STREAM_STATE_ASPECT_RATIO_DATA, *PDXVAHD_STREAM_STATE_ASPECT_RATIO_DATA;

Members

Enable

If TRUE, the SourceAspectRatio and DestinationAspectRatio members contain valid values. Otherwise, the pixel aspect ratios are unspecified.

SourceAspectRatio

A DXVAHD_RATIONAL structure that contains the source PAR. The default state value is 1:1 (square pixels).

DestinationAspectRatio

A DXVAHD_RATIONAL structure that contains the destination PAR. The default state value is 1:1 (square pixels).

Remarks

Pixel aspect ratios of the form 0/n and n/0 are not valid.

If the Enable member is FALSE, the device ignores the values of SourceAspectRatio and DestinationAspectRatio.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dxvahd.h

See also

DXVA-HD
Media Foundation Structures
Picture Aspect Ratio
DXVAHD_STREAM_STATE
IDXVAHD_VideoProcessor::SetVideoProcessStreamState

 

 

Community Additions

ADD
Show:
© 2015 Microsoft