Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

DXVAHDDDI_CUSTOM_RATE_DATA structure

The DXVAHDDDI_CUSTOM_RATE_DATA structure describes the video content that a decode device processes.

Syntax


typedef struct _DXVAHDDDI_CUSTOM_RATE_DATA {
  DXVAHDDDI_RATIONAL CustomRate;
  UINT               OutputFrames;
  BOOL               InputInterlaced;
  UINT               InputFramesOrFields;
} DXVAHDDDI_CUSTOM_RATE_DATA;

Members

CustomRate

[in] A DXVAHDDDI_RATIONAL structure that specifies a fractional value that represents the input and output frame rate.

OutputFrames

[in] The number of frames that the driver outputs.

InputInterlaced

[in] A Boolean value that specifies whether the input stream is progressive (frame) or interlaced (field).

InputFramesOrFields

[in] The number of the input frames or fields.

Remarks

The driver can expose custom rates for the frame rate conversion or the inverse telecine. For example, the driver can provide the following information in the members of DXVAHDDDI_CUSTOM_RATE_DATA for the indicated operation:

Double frame rate conversion from 60p to 120p requires the driver to provide the following information:

CustomRate = 2/1

OutputFrames = 2

InputInterlaced = FALSE

InputFramesOrFields = 1

3:2 inverse telecine from 60i to 24p requires the driver to provide the following information:

CustomRate = 4/5

OutputFrames = 4

InputInterlaced = TRUE

InputFramesOrFields = 10

Requirements

Version

DXVAHDDDI_CUSTOM_RATE_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