DXVAHD_CONTENT_DESC structure (dxvahd.h)
Describes a video stream for a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) video processor.
The display driver can use the information in this structure to optimize the capabilities of the video processor. For example, some capabilities might not be exposed for high-definition (HD) content, for performance reasons.
Syntax
typedef struct _DXVAHD_CONTENT_DESC {
DXVAHD_FRAME_FORMAT InputFrameFormat;
DXVAHD_RATIONAL InputFrameRate;
UINT InputWidth;
UINT InputHeight;
DXVAHD_RATIONAL OutputFrameRate;
UINT OutputWidth;
UINT OutputHeight;
} DXVAHD_CONTENT_DESC;
Members
InputFrameFormat
A member of the DXVAHD_FRAME_FORMAT enumeration that describes how the video stream is interlaced.
InputFrameRate
The frame rate of the input video stream, specified as a DXVAHD_RATIONAL structure.
InputWidth
The width of the input frames, in pixels.
InputHeight
The height of the input frames, in pixels.
OutputFrameRate
The frame rate of the output video stream, specified as a DXVAHD_RATIONAL structure.
OutputWidth
The width of the output frames, in pixels.
OutputHeight
The height of the output frames, in pixels.
Remarks
Frame rates are expressed as ratios. For example, 30 frames per second (fps) is expressed as 30:1, and 29.97 fps is expressed as 30000/1001. For interlaced content, a frame consists of two fields, so that the frame rate is half the field rate.
If the application will composite two or more input streams, use the largest stream for the values of InputWidth and InputHeight.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | dxvahd.h |