Export (0) Print
Expand All
Expand Minimize

DXVAHD_CUSTOM_RATE_DATA structure

Specifies a custom rate for frame-rate conversion or inverse telecine (IVTC).

Syntax


typedef struct _DXVAHD_CUSTOM_RATE_DATA {
  DXVAHD_RATIONAL CustomRate;
  UINT            OutputFrames;
  BOOL            InputInterlaced;
  UINT            InputFramesOrFields;
} DXVAHD_CUSTOM_RATE_DATA;

Members

CustomRate

The ratio of the output frame rate to the input frame rate, expressed as a DXVAHD_RATIONAL structure that holds a rational number.

OutputFrames

The number of output frames that will be generated for every N input samples, where N = InputFramesOrFields.

InputInterlaced

If TRUE, the input stream must be interlaced. Otherwise, the input stream must be progressive.

InputFramesOrFields

The number of input fields or frames for every N output frames that will be generated, where N = OutputFrames.

Remarks

The CustomRate member gives the rate conversion factor, while the remaining members define the pattern of input and output samples.

Here are some example uses for this structure:

  • Frame rate conversion from 60p to 120p (doubling the frame rate).

    • CustomRate: 2/1
    • OutputFrames: 2
    • InputInterlaced: FALSE
    • InputFramesOrFields: 1
  • Reverse 2:3 pulldown (IVTC) from 60i to 24p.

    • CustomRate: 4/5
    • OutputFrames: 4
    • InputInterlaced: TRUE
    • InputFramesOrFields: 10

    (Ten interlaced fields are converted into four progressive frames.)

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft